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

Issue 850008: ssl_SecureSend should not do handshake when the handshake wait state is... (Closed)

Created:
10 years, 9 months ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
agl
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

ssl_SecureSend should not do handshake when the handshake wait state is wait_finished and we are false starting. R=agl BUG=38103 TEST=SSLClientSocketTest.Read_FullDuplex should not hang on Ubuntu Karmic. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41731

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove unrelated change. Update falsestart.patch. #

Patch Set 3 : '' #

Patch Set 4 : Upload before checkin #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -62 lines) Patch
M net/third_party/nss/patches/falsestart.patch View 2 3 15 chunks +91 lines, -55 lines 0 comments Download
M net/third_party/nss/ssl/ssl3gthr.c View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/sslsecur.c View 1 2 3 2 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
wtc
http://codereview.chromium.org/850008/diff/1/2 File net/third_party/nss/ssl/ssl3gthr.c (right): http://codereview.chromium.org/850008/diff/1/2#newcode212 net/third_party/nss/ssl/ssl3gthr.c:212: /* TODO(wtc): need a better way to break out ...
10 years, 9 months ago (2010-03-13 04:29:22 UTC) #1
agl
LGTM, thanks for fixing it! http://codereview.chromium.org/850008/diff/1/2 File net/third_party/nss/ssl/ssl3gthr.c (right): http://codereview.chromium.org/850008/diff/1/2#newcode212 net/third_party/nss/ssl/ssl3gthr.c:212: /* TODO(wtc): need a ...
10 years, 9 months ago (2010-03-15 14:26:10 UTC) #2
wtc
http://codereview.chromium.org/850008/diff/1/2 File net/third_party/nss/ssl/ssl3gthr.c (right): http://codereview.chromium.org/850008/diff/1/2#newcode212 net/third_party/nss/ssl/ssl3gthr.c:212: /* TODO(wtc): need a better way to break out ...
10 years, 9 months ago (2010-03-15 17:02:50 UTC) #3
agl
On Mon, Mar 15, 2010 at 1:02 PM, <wtc@chromium.org> wrote: > I remember you added ...
10 years, 9 months ago (2010-03-15 17:41:26 UTC) #4
wtc
In Patch Set 2, I replaced the TODO comment with a comment that merely describes ...
10 years, 9 months ago (2010-03-16 01:33:32 UTC) #5
agl
LGTM
10 years, 9 months ago (2010-03-16 01:36:22 UTC) #6
wtc
10 years, 9 months ago (2010-03-16 16:53:49 UTC) #7
On 2010/03/15 17:41:26, agl wrote:
>
> I seem to recall that I found that I could do without it and it saved
> some code. No deep reason.

I think that boolean member could also have avoided this bug.
We need a conditional expression for the states between "have
false started" and "!ss->firstHsDone".  Without the boolean
member, we have to enumerate all the possible values of
ss->ssl3.hs.ws, which is error-prone (especially if a new
handshake message is added in the future).

Powered by Google App Engine
This is Rietveld 408576698