mirror of https://github.com/Icinga/icinga2.git
Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
refs #11014
This commit is contained in:
parent
60181e0abb
commit
0fbbe620f9
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue