summaryrefslogtreecommitdiffstats
path: root/lib/bind/dns
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2012-05-28 19:22:23 +0000
committerjilles <jilles@FreeBSD.org>2012-05-28 19:22:23 +0000
commit91189212361813b854174225bfa4b1d4fc8ed40b (patch)
tree6ad2d76d23e78dafac29a1688be3ff266847b2ae /lib/bind/dns
parenta5dc20080124f6200697b06bf11a3acbde236d1e (diff)
downloadFreeBSD-src-91189212361813b854174225bfa4b1d4fc8ed40b.zip
FreeBSD-src-91189212361813b854174225bfa4b1d4fc8ed40b.tar.gz
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
Diffstat (limited to 'lib/bind/dns')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud