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

Case insensitive error_get_last() check #125

Closed
wants to merge 1 commit into from

Conversation

wizu
Copy link

@wizu wizu commented Aug 19, 2022

On my system I get "stream_select(): Unable to select [4]: Interrupted system call (max_fd=4)" where "Unable" starts with capital letter, which break this check

On my system I get "stream_select(): Unable to select [4]: Interrupted system call (max_fd=4)" where "Unable" starts with capital letter, which break this check
@mermshaus
Copy link
Contributor

mermshaus commented Nov 22, 2022

I can confirm this.

The “unable” → “Unable” change in the stream_select() error message seems to have happened with PHP 8.

It would be great if this PR could be merged and be released as a patch release. Right now, it’s probably not possible to cleanly disconnect a synchronous Bunny client on SIGINT/SIGTERM when using PHP 8.

mermshaus added a commit to mermshaus/bunny that referenced this pull request Nov 30, 2022
WyriHaximus added a commit that referenced this pull request Nov 30, 2022
Add test to illustrate #125 (stream_select/interrupt issue). Also a fix
@WyriHaximus
Copy link
Collaborator

Thank you for filing this fix @wizu, went with the PR @mermshaus created instead.

@WyriHaximus WyriHaximus added this to the v0.5.2 milestone Dec 10, 2022
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.

None yet

3 participants