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

Issue 518065: Disable Nagle on Linux and TLS cut through support (Closed)

Created:
10 years, 11 months ago by agl
Modified:
10 years, 10 months ago
Reviewers:
wtc, ian fette
CC:
chromium-reviews_googlegroups.com, darin (slow to review), darin+cc_chromium.org
Visibility:
Public.

Description

Disable Nagle on Linux and TLS cut through support * Disables Nagle on Linux. This mirrors the behaviour on Windows. * Adds TLS cut through support. This allows us to start sending encrypted data before we have validated the server's Finished message. (This behaviour is already enabled on Android.) I've verified that this works using netem to add a 200ms delay on the loopback adaptor. I've also checked that an incorrect Finished message from the server causes an error by hacking the Go TLS server. Beward when looking at packet traces that the time taken in NSS's SQLite calls can exceed the RTT of the connection and make it appear that this code isn't functioning. * Adds DEBUG and TRACE defines to libssl when building Chromium in Debug mode. This means that setting SSLTRACE in the environment now works for debug builds.

Patch Set 1 #

Patch Set 2 : ... #

Total comments: 16

Patch Set 3 : ... #

Patch Set 4 : ... #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+881 lines, -3 lines) Patch
M net/socket/ssl_client_socket_nss.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M net/third_party/nss/README.google View 2 1 chunk +3 lines, -0 lines 0 comments Download
M net/third_party/nss/nss.gyp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
A net/third_party/nss/patches/falsestart.patch View 3 1 chunk +806 lines, -0 lines 1 comment Download
M net/third_party/nss/ssl/ssl.h View 1 2 1 chunk +11 lines, -0 lines 3 comments Download
M net/third_party/nss/ssl/ssl3con.c View 1 2 3 chunks +16 lines, -2 lines 1 comment Download
M net/third_party/nss/ssl/ssl3gthr.c View 1 2 2 chunks +12 lines, -1 line 0 comments Download
M net/third_party/nss/ssl/sslimpl.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/sslsecur.c View 1 2 1 chunk +6 lines, -0 lines 1 comment Download
M net/third_party/nss/ssl/sslsock.c View 1 2 5 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
agl
10 years, 11 months ago (2010-01-07 21:18:58 UTC) #1
wtc
LGTM on the DisableNagle change. Please split it off into another CL and commit it. ...
10 years, 11 months ago (2010-01-13 01:03:29 UTC) #2
wtc
Thanks for the patch and sorry about the delay in reviewing it. This looks good. ...
10 years, 10 months ago (2010-02-17 19:40:00 UTC) #3
wtc
Your patch in the upstream NSS bug (https://bugzilla.mozilla.org/show_bug.cgi?id=525092) is the same as Patch Set 2 ...
10 years, 10 months ago (2010-02-17 19:48:22 UTC) #4
ian fette
I remain concerned about disabling Nagle. It's designed to prevent congestive failure of the internet. ...
10 years, 10 months ago (2010-02-17 19:55:54 UTC) #5
agl
On Wed, Feb 17, 2010 at 2:55 PM, <ian@chromium.org> wrote: > I remain concerned about ...
10 years, 10 months ago (2010-02-17 20:19:07 UTC) #6
agl
PTAL http://codereview.chromium.org/518065/diff/1001/1005 File net/third_party/nss/nss.gyp (right): http://codereview.chromium.org/518065/diff/1001/1005#newcode95 net/third_party/nss/nss.gyp:95: 'TRACE', On 2010/02/17 19:40:00, wtc wrote: > I ...
10 years, 10 months ago (2010-02-18 01:16:03 UTC) #7
wtc
LGTM. Please attach an updated NSS patch to the NSS bug and ask Nelson to ...
10 years, 10 months ago (2010-02-20 00:39:50 UTC) #8
wtc
10 years, 10 months ago (2010-02-20 00:41:01 UTC) #9
Please update the Description of the CL to remove the
"Disable Nagle on Linux" part and update the description
about TRACE.

Powered by Google App Engine
This is Rietveld 408576698