Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Issue 2780523002: m58 merge QUIC: mark QUIC handshake failed if connection is closed after CryptoConnect (Closed)

Created:
3 years, 8 months ago by Zhongyi Shi
Modified:
3 years, 8 months ago
Reviewers:
Ryan Hamilton, xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/branch-heads/3029
Project:
chromium
Visibility:
Public.

Description

QUIC: mark QUIC handshake failed if connection is closed after CryptoConnect so that QuicStreamFactory::Job will not hang. Currently, if QuicConnection is closed during crypto_stream_->CryptConnect(), it will silently post a task to notify QuicStreamFactory to of the session close without notifying the QuicStreamFactory::Job. This causes QuicStreamFactory::Job to hang. Subsequent alt jobs will be bound to the hanging QUIC job, and will never win race over TCP and get cleaned up. BUG=700617 Review-Url: https://codereview.chromium.org/2766603004 Cr-Commit-Position: refs/heads/master@{#459271} (cherry picked from commit 363c91c57a5ae99e63a138555afa83dc02262325) R=rch@chromium.org Review-Url: https://codereview.chromium.org/2780523002 . Cr-Commit-Position: refs/branch-heads/3029@{#435} Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471} Committed: https://chromium.googlesource.com/chromium/src/+/0a4d3c147a0f52493a850051008e1fe57c125d30

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -1 line) Patch
M net/quic/chromium/mock_crypto_client_stream_factory.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_session.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_network_transaction_unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download
M net/quic/chromium/quic_stream_factory_test.cc View 2 chunks +134 lines, -0 lines 0 comments Download
M net/quic/test_tools/mock_crypto_client_stream.h View 2 chunks +7 lines, -0 lines 0 comments Download
M net/quic/test_tools/mock_crypto_client_stream.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_stream_factory_peer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_stream_factory_peer.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Zhongyi Shi
3 years, 8 months ago (2017-03-27 15:06:39 UTC) #2
Ryan Hamilton
lgtm Can you add "[m58 merge]" to the CL description? (assuming it's m58)
3 years, 8 months ago (2017-03-27 16:56:15 UTC) #3
xunjieli
Deferring this to Ryan. Thanks for taking care of the merge.
3 years, 8 months ago (2017-03-27 18:19:02 UTC) #5
Zhongyi Shi
3 years, 8 months ago (2017-03-27 18:57:57 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
0a4d3c147a0f52493a850051008e1fe57c125d30 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698