From 0fbbe620f9cfa8afd62ac4cac69cddbba5903bb3 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 e4b69aeb3..c04e9a264 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))