DragonFly commits List (threaded) for 2012-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: libfetch: Avoid SIGPIPE on network connections
commit 14c24f74315ca3fb26eaf73089bbc97e0c0e50fa
Author: John Marino <draco@marino.st>
Date: Fri Nov 2 01:26:34 2012 +0100
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.
Taken-from: FreeBSD SVN 236193 (28 May 2012)
Summary of changes:
lib/libfetch/common.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/14c24f74315ca3fb26eaf73089bbc97e0c0e50fa
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]