Skip to content

ext/sockets: add macOs's SO_NOSIGPIPE setsockopt flag.#10973

Open
devnexen wants to merge 1 commit intophp:masterfrom
devnexen:socket_nosigpipe
Open

ext/sockets: add macOs's SO_NOSIGPIPE setsockopt flag.#10973
devnexen wants to merge 1 commit intophp:masterfrom
devnexen:socket_nosigpipe

Conversation

@devnexen
Copy link
Member

goal is preventing SIGPIPE being generated when the peer is no longer alive similar to send with MSG_NOSIGNAL on some platforms.

goal is preventing SIGPIPE being generated when the peer is no longer
alive similar to send with MSG_NOSIGNAL on some platforms.
@crrodriguez
Copy link
Contributor

crrodriguez commented Apr 1, 2023

if this flag is not set by default, it should be..everywhere.. getting signals from read/write ops (or very much in general) is a very undesirable legacy behaviour.

@devnexen devnexen requested a review from kocsismate as a code owner April 15, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants