Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls

refs #11014
This commit is contained in:
Gunnar Beutner 2016-02-02 08:28:54 +01:00
parent ec050dd2a7
commit 83889dcbb0
1 changed files with 1 additions and 1 deletions

View File

@ -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))