mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user