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

Use native PHP indexing for child process file descriptors #56

Merged
merged 1 commit into from Jan 17, 2019
Merged

Use native PHP indexing for child process file descriptors #56

merged 1 commit into from Jan 17, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jan 14, 2019

This PR is a replacement for #53. As suggested by @clue, we just append to the array and let PHP handle assigning the key.

This PR fixes clashing file descriptors (and therefore overwriting each other) when using the child process adapter.

Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

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

@CharlotteDunois Thank you for the updated version, much appreciated, now let's get this in! :shipit:

@clue clue merged commit 9637fed into reactphp:master Jan 17, 2019
@ghost ghost deleted the patch-child-fd branch January 17, 2019 19:42
@ghost ghost mentioned this pull request May 2, 2020
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.

None yet

3 participants