HardenedBSD/lib/libfetch
Jilles Tjoelker 28fd93073a 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
2012-05-28 19:22:23 +00:00
..
common.c libfetch: Avoid SIGPIPE on network connections. 2012-05-28 19:22:23 +00:00
common.h
fetch.3
fetch.c
fetch.h
file.c
ftp.c
ftp.errors
http.c Don't reuse credentials if redirected to a different host. 2012-04-30 12:12:48 +00:00
http.errors
Makefile