Skip to content

Commit

Permalink
tls: fix throughput issues after incorrect merge
Browse files Browse the repository at this point in the history
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 <trev.norris@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
  • Loading branch information
indutny authored and Fishrock123 committed Aug 19, 2015
1 parent fb0f5d7 commit cbb75c4
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit cbb75c4

Please sign in to comment.