rust/library/std
Rain 50d127e6ec [illumos/solaris] set MSG_NOSIGNAL while writing to sockets
Both these platforms have MSG_NOSIGNAL available, and we should set it for
socket writes in the event that the SIGPIPE handler has been reset to SIG_DFL
(i.e. terminate the process).

I've verified via a quick program at
https://github.com/sunshowers/msg-nosignal-test/ that even when the SIGPIPE
handler is reset to SIG_DFL, writes to closed sockets now error out with EPIPE.
(Under ordinary circumstances UDP writes won't cause MSG_NOSIGNAL.)
2024-07-27 02:10:24 +00:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src [illumos/solaris] set MSG_NOSIGNAL while writing to sockets 2024-07-27 02:10:24 +00:00
tests Initial implementation of anonymous_pipe 2024-07-23 23:13:56 +10:00
build.rs std: Set has_reliable_f16 to false for MIPS targets in build.rs 2024-07-03 13:52:06 +02:00
Cargo.toml Auto merge of #127153 - NobodyXu:pipe, r=ChrisDenton 2024-07-24 00:03:14 +00:00