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

hasResponse and stream_select - warnings #79

Open
rbro opened this issue Aug 5, 2024 · 0 comments
Open

hasResponse and stream_select - warnings #79

rbro opened this issue Aug 5, 2024 · 0 comments

Comments

@rbro
Copy link

rbro commented Aug 5, 2024

Sometimes when I kill scripts running fast-cgi-client, I get the below warning logged:

stream_select(): Unable to select [4]: Interrupted system call (max_fd=7)

This warning is coming from line 176 of src/Sockets/Socket.php in the hasResponse() function:

return (bool)stream_select( $reads, $writes, $excepts, 0, self::STREAM_SELECT_USEC );

Should that line be changed to @stream_select to suppress the warning?

Thanks for your help.

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

No branches or pull requests

1 participant