Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support checking EINTR constant from ext-pcntl without ext-sockets #265

Merged
merged 1 commit into from
Apr 13, 2023

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 WyriHaximus and SimonFrings 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