You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we receive sigpipe when we write into the closed socket.
there is several ways to handle it:
signal(SIGPIPE, SIG_IGN) - platform independent
use flag MSG_NOSIGNAL with send() - linux
setockopt(NO_SIGPIPE) on osx
Linux solution requires access to each socket write which require BIO calls for openssl.
For now I'll use solution SIGPIPE and openssl #1.
we receive sigpipe when we write into the closed socket.
there is several ways to handle it:
Linux solution requires access to each socket write which require BIO calls for openssl.
For now I'll use solution SIGPIPE and openssl #1.
https://blog.erratasec.com/2018/10/tcpip-sockets-and-sigpipe.html
The text was updated successfully, but these errors were encountered: