mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
tls: fix throughput issues after incorrect merge
1e066e4awas done incorrectly and has overwritten an important change in:c17449df. Using bigger output buffer increases performance in 3-4 times. PR-URL: https://github.com/nodejs/node/pull/2381 Fix: https://github.com/joyent/node/issues/25803 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
1 parent
fb0f5d733f
commit
cbb75c4f86
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ class TLSWrap : public crypto::SSLWrap<TLSWrap>,
|
||||
size_t self_size() const override { return sizeof(*this); }
|
||||
|
||||
protected:
|
||||
static const int kClearOutChunkSize = 1024;
|
||||
static const int kClearOutChunkSize = 16384;
|
||||
|
||||
// Maximum number of bytes for hello parser
|
||||
static const int kMaxHelloLength = 16384;
|
||||
|
||||
Reference in new issue
Block a user