Skip to content
Snippets Groups Projects
Commit 5287f8e1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

network: use send(MSG_NOSIGNAL) in net_Write()

This ensures that SIGPIPE is not emitted if the connection is closed by
the other end. Using send() is fine given that all net_Write(),
net_vaPrintf() and net_Printf() call sites use (only) sockets.
parent eb37a5b7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment