diff options
author | Bert Belder <bertbelder@gmail.com> | 2012-09-11 21:33:23 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-09-12 05:23:49 +0200 |
commit | 1d9b4ace8a1f8ef4f17b701720511f8303171f41 (patch) | |
tree | 982d712eac9decbe0c218322bd3245899a45a4b9 /deps/openssl/openssl/ssl/ssl3.h | |
parent | ff22a0cb15c0513c0f40367f46de69da0056097d (diff) | |
download | android-node-v8-1d9b4ace8a1f8ef4f17b701720511f8303171f41.tar.gz android-node-v8-1d9b4ace8a1f8ef4f17b701720511f8303171f41.tar.bz2 android-node-v8-1d9b4ace8a1f8ef4f17b701720511f8303171f41.zip |
openssl: support handshake cut-through
Enables SSL3+ clients to send application data immediately following the
Finished message even when negotiating full-handshakes. With this patch,
clients can negotiate SSL connections in 1-RTT even when performing
full-handshakes.
This patch is taken from the Android Open Source Project.
Diffstat (limited to 'deps/openssl/openssl/ssl/ssl3.h')
-rw-r--r-- | deps/openssl/openssl/ssl/ssl3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/openssl/openssl/ssl/ssl3.h b/deps/openssl/openssl/ssl/ssl3.h index d8459fa016..fb08e7295b 100644 --- a/deps/openssl/openssl/ssl/ssl3.h +++ b/deps/openssl/openssl/ssl/ssl3.h @@ -557,6 +557,7 @@ typedef struct ssl3_state_st /*client */ /* extra state */ #define SSL3_ST_CW_FLUSH (0x100|SSL_ST_CONNECT) +#define SSL3_ST_CUTTHROUGH_COMPLETE (0x101|SSL_ST_CONNECT) #ifndef OPENSSL_NO_SCTP #define DTLS1_SCTP_ST_CW_WRITE_SOCK (0x310|SSL_ST_CONNECT) #define DTLS1_SCTP_ST_CR_READ_SOCK (0x320|SSL_ST_CONNECT) |