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

fix(ext/node): only set our end of child process pipe to nonblocking mode #26495

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

nathanwhit
Copy link
Member

@nathanwhit nathanwhit commented Oct 23, 2024

Fixes playwright on linux, as reported in #16899 (comment).

The issue was that we were opening the socket in nonblocking mode, which meant that subprocesses trying to use it would get a EWOULDBLOCK error (unexpectedly). The fix here is to only set nonblocking mode on our end (which we need to use asynchronously)

Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM

@nathanwhit nathanwhit merged commit 7c57105 into denoland:main Oct 24, 2024
17 checks passed
@nathanwhit nathanwhit deleted the playwright-linux branch October 24, 2024 04:13
bartlomieju pushed a commit that referenced this pull request Oct 25, 2024
…mode (#26495)

Fixes playwright on linux, as reported in
#16899 (comment).

The issue was that we were opening the socket in nonblocking mode, which
meant that subprocesses trying to use it would get a `EWOULDBLOCK` error
(unexpectedly). The fix here is to only set nonblocking mode on our end
(which we need to use asynchronously)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants