Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Fix: nodejs/node-v0.x-archive#25803
  • Loading branch information
indutny committed Aug 14, 2015
commit d377c6279ee3cf37edf0a09686c65bda0abaf6f2
2 changes: 1 addition & 1 deletion src/tls_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down