From c17449df1675e482fc0350a27bc08b1b22ed261c Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 10 Dec 2013 22:28:26 +0400 Subject: [PATCH] tls_wrap: bump kClearOutChunkSize to 16kb --- src/tls_wrap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls_wrap.h b/src/tls_wrap.h index a5090cbe839..9e42d4bd373 100644 --- a/src/tls_wrap.h +++ b/src/tls_wrap.h @@ -66,7 +66,7 @@ class TLSCallbacks : public crypto::SSLWrap, int DoShutdown(ShutdownWrap* req_wrap, uv_shutdown_cb cb); protected: - static const int kClearOutChunkSize = 1024; + static const int kClearOutChunkSize = 16384; // 16kb // Maximum number of buffers passed to uv_write() static const int kSimultaneousBufferCount = 10;