c0e1d87ac1715a437020d1f5867a790ac2fb4b3a
Writing to a socket the peer has already reset raises SIGPIPE, whose default action kills the whole process. Socket.cpp carried a sigpipe_handler but nothing ever installed it. OpenSSL's SSL_write() calls write() itself, so MSG_NOSIGNAL can't cover TLS - ignore the signal once for every server built on EPoll. Reproduced: a burst of TLS clients disconnecting mid-session killed the server within a few rounds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0121tAhQVe4qbCwYgVjKQS4B
Description
This repository provides core functionality for TCP and UDP servers using the epoll linux function.
184 MiB
0 Stars
1 Watchers
0 Forks
Languages
C++
99.6%
Shell
0.4%