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

stream_select failed, fclose() supplied resource is not a valid stream source in Tunnel.php #12

Closed
outman opened this issue Sep 3, 2021 · 2 comments

Comments

@outman
Copy link

outman commented Sep 3, 2021

When consumer exit with exception, i found pfsockopen produced unexpected behavior when send new message to nsq in consumer context. Change pfsockopen to fsockopen, it works correct. My code depends on old version 1.0.1 (with composer install),can't upgrade new version because php runtime version, and can't send pull request to your project based version 1.0.1, can you help me to fix it?

Change fpsockopen to fsockopen in src/phpnsq/Utility/Stream.php on tag 1.0.1 and then tag it 1.0.2 .
image

Thank you !

@yerstd
Copy link
Collaborator

yerstd commented Oct 12, 2021

Sorry for the late reply, please check 1.0.2.

@outman
Copy link
Author

outman commented Oct 13, 2021

Thank u, it's working. @wk30

@outman outman closed this as completed Oct 13, 2021
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

2 participants