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 60181e0abb
commit 0fbbe620f9
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))