mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-07 20:25:08 +02:00
Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
refs #11014
This commit is contained in:
parent
ec050dd2a7
commit
83889dcbb0
@ -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…
x
Reference in New Issue
Block a user