From 83889dcbb0eee9f945e22c0881e64393ab55521b Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 2 Feb 2016 08:28:54 +0100 Subject: [PATCH] Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls refs #11014 --- lib/base/tlsstream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/tlsstream.cpp b/lib/base/tlsstream.cpp index f9b63864a..5984105f4 100644 --- a/lib/base/tlsstream.cpp +++ b/lib/base/tlsstream.cpp @@ -134,7 +134,7 @@ void TlsStream::OnEvent(int revents) if (!m_SSL) return; - char buffer[512]; + char buffer[64 * 1024]; if (m_CurrentAction == TlsActionNone) { if (revents & (POLLIN | POLLERR | POLLHUP)) -- 2.40.0