diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-06-17 12:11:13 +0200 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2013-06-17 14:00:26 +0200 |
commit | 212e9cd8c9b10da3c471638ca9b0f8ebef2a67bb (patch) | |
tree | d4ebca0c270b8b332a0b7da427453edf59198932 /src/node_crypto_bio.h | |
parent | 0a4260c8c0deff518d0586c6b0484d459f9a79f4 (diff) | |
download | node-new-212e9cd8c9b10da3c471638ca9b0f8ebef2a67bb.tar.gz |
tls: session API returns
Diffstat (limited to 'src/node_crypto_bio.h')
-rw-r--r-- | src/node_crypto_bio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node_crypto_bio.h b/src/node_crypto_bio.h index 4794453ef8..dc45faee2d 100644 --- a/src/node_crypto_bio.h +++ b/src/node_crypto_bio.h @@ -87,7 +87,9 @@ class NodeBIO { } protected: - static const size_t kBufferLength = 16 * 1024; + // NOTE: Size is maximum TLS frame length, this is required if we want + // to fit whole ClientHello into one Buffer of NodeBIO. + static const size_t kBufferLength = 16 * 1024 + 5; class Buffer { public: |