Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cbb75c4

Browse filesBrowse 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 <trev.norris@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent fb0f5d7 commit cbb75c4
Copy full SHA for cbb75c4

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/tls_wrap.h‎

Copy file name to clipboardExpand all lines: src/tls_wrap.h
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.