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

Issue 9172005: The network_moved check in DoHandshakeLoop should only apply to (Closed)

Created:
8 years, 11 months ago by wtc
Modified:
8 years, 11 months ago
Reviewers:
agl
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

The network_moved check in DoHandshakeLoop should only apply to STATE_HANDSHAKE. After transport I/O completes synchronously, stay in the handshake loop only if the next state is STATE_HANDSHAKE, which is the only state that requires transport I/O to make progress. If the next state is any other state, we should ignore network_moved when determing if we should stay in the handshake loop. This changelist is the synchronous completion version of http://codereview.chromium.org/660131, which dealt with this bug when transport I/O completes asynchronously. R=agl@chromium.org BUG=109706 TEST=Run a Chrome debug build with --enable-origin-bound-certs and connect to a Google server such as gmail over HTTPS. Should not hit a DCHECK failure in net_log.cc. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117578

Patch Set 1 #

Total comments: 1

Patch Set 2 : Don't use continue in the do-while loop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -7 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 4 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
wtc
8 years, 11 months ago (2012-01-10 23:05:07 UTC) #1
wtc
agl: this CL causes the SSLClientSocketTest.Connect unit test to hang. I will let you know ...
8 years, 11 months ago (2012-01-11 02:54:03 UTC) #2
wtc
agl: please review Patch Set 2. http://codereview.chromium.org/9172005/diff/1/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/9172005/diff/1/net/socket/ssl_client_socket_nss.cc#newcode1304 net/socket/ssl_client_socket_nss.cc:1304: continue; After a ...
8 years, 11 months ago (2012-01-11 04:19:55 UTC) #3
agl
lgtm
8 years, 11 months ago (2012-01-11 18:02:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/9172005/9001
8 years, 11 months ago (2012-01-12 23:38:38 UTC) #5
commit-bot: I haz the power
8 years, 11 months ago (2012-01-13 02:14:00 UTC) #6
Change committed as 117578

Powered by Google App Engine
This is Rietveld 408576698