Skip to content

Commit cbb75c4

Browse files
indutnyFishrock123
authored andcommitted
tls: fix throughput issues after incorrect merge
1e066e4 was done incorrectly and has overwritten an important change in: c17449d. Using bigger output buffer increases performance in 3-4 times. PR-URL: #2381 Fix: nodejs/node-v0.x-archive#25803 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent fb0f5d7 commit cbb75c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tls_wrap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class TLSWrap : public crypto::SSLWrap<TLSWrap>,
5353
size_t self_size() const override { return sizeof(*this); }
5454

5555
protected:
56-
static const int kClearOutChunkSize = 1024;
56+
static const int kClearOutChunkSize = 16384;
5757

5858
// Maximum number of bytes for hello parser
5959
static const int kMaxHelloLength = 16384;

0 commit comments

Comments
 (0)