From 9ae2ee0b2e657a1556edb9646c032ab50b291f09 Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Wed, 8 Sep 2010 16:41:14 +0000 Subject: net: When using False Start merge Finished and Application Data records. When using False Start, this patch causes NSS to perform a single write which contains the ClientKeyExchange, ChangeCipherSpec, Finished and first application data record. This removes a source of non-determinism when dealing with False Start intolerant servers. Previously, Chrome may, or may not work depending on network timing. BUG=none TEST=none http://codereview.chromium.org/3331005/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58838 0039d316-1c4b-4281-b951-d872f2087c98 --- net/socket/ssl_client_socket_nss.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/socket/ssl_client_socket_nss.h') diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h index c43b718..3796826 100644 --- a/net/socket/ssl_client_socket_nss.h +++ b/net/socket/ssl_client_socket_nss.h @@ -124,6 +124,9 @@ class SSLClientSocketNSS : public SSLClientSocket { CompletionCallbackImpl buffer_recv_callback_; bool transport_send_busy_; bool transport_recv_busy_; + // corked_ is true if we are currently suspending writes to the network. This + // is named after the similar kernel flag, TCP_CORK. + bool corked_; scoped_refptr recv_buffer_; CompletionCallbackImpl handshake_io_callback_; -- cgit v1.1