[krbdev.mit.edu #8753] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8753] git commit

Greg Hudson via RT-2

Prevent SIGPIPE from socket writes on UNIX-likes

When writing to a disconnected socket, try to only get EPIPE rather
than taking down the process with SIGPIPE.

On recent Linux and other systems which have it, switch from writev to
sendmsg and pass MSG_NOSIGNAL.

On BSD-likes, set SO_NOSIGPIPE at connect time.

https://github.com/krb5/krb5/commit/98bf22027bd6e746f456a671ca5e257ca4bd371e
Author: Robbie Harwood <[hidden email]>
Committer: Greg Hudson <[hidden email]>
Commit: 98bf22027bd6e746f456a671ca5e257ca4bd371e
Branch: master
 src/include/port-sockets.h |   43 ++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 40 insertions(+), 3 deletions(-)

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs