Skip to content

Comments

Properly disable SIGPIPE on OSX/iOS network sockets.#30158

Merged
akien-mga merged 2 commits intogodotengine:masterfrom
Faless:net/no_sigpipe
Jun 29, 2019
Merged

Properly disable SIGPIPE on OSX/iOS network sockets.#30158
akien-mga merged 2 commits intogodotengine:masterfrom
Faless:net/no_sigpipe

Conversation

@Faless
Copy link
Collaborator

@Faless Faless commented Jun 28, 2019

Disable SO_NOSIGPIPE socket option via setsockopt when avaiable.
Use MSG_NOSIGNAL send flag on systems that support it.

Also include an header inclusion order change to fix build on OpenBSD after #29935 .

As always, I run quire a few builds on various OSes, but I can't really test on OSX. So testers are welcome.

@Faless Faless added this to the 3.2 milestone Jun 28, 2019
@Faless Faless requested a review from hpvb as a code owner June 28, 2019 15:30
@Faless Faless changed the title Properly disable SIGPIPE on OSX network sockets. Properly disable SIGPIPE on OSX/iOS network sockets. Jun 28, 2019
Copy link
Member

@hpvb hpvb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Awesome <3

Faless added 2 commits June 28, 2019 18:42
Disable SO_NOSIGPIPE socket option when avaiable.
Use MSG_NOSIGNAL send flag on systems that support it.
@akien-mga akien-mga merged commit c49ba7d into godotengine:master Jun 29, 2019
@akien-mga
Copy link
Member

Thanks!

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.

3 participants