Searched hist:236193 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/lib/libfetch/
H A Dcommon.cdiff 236193 Mon May 28 17:31:34 MDT 2012 jilles libfetch: Avoid SIGPIPE on network connections.

To avoid unexpected process termination from SIGPIPE when writing to a
closed network connection, enable SO_NOSIGPIPE on all network connections.

The POSIX standard MSG_NOSIGNAL is not used since it requires modifying all
send calls to add this flag. This is particularly nasty for SSL connections.

Reviewed by: des
Tested by: bapt
MFC after: 5 days

Completed in 116 milliseconds