Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Apr 13, 2023

This changeset adds support for checking the EINTR constant from ext-pcntl when ext-sockets is not available. This is useful in minimal container images (Docker) that do not ship ext-sockets by default and also because signal handling support using the default StreamSelectLoop requires ext-pcntl anyway. This should not affect most platforms as the hard-coded fallback value when neither extension is available is known to work on Linux and Mac in either case.

Builds on top of reactphp/socket#304, #245 and #264

@clue clue added this to the v1.4.0 milestone Apr 13, 2023
@clue clue requested review from SimonFrings and WyriHaximus April 13, 2023 08:39
@WyriHaximus WyriHaximus merged commit 21914ff into reactphp:1.x Apr 13, 2023
@clue clue deleted the eintr-pcntl branch April 13, 2023 18:15
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