You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce it you can checkout the "feature/amp" branch of this lib https://github.com/jolicode/asynit
do the composer install and then launch the test with this command : php bin/asynit example
The text was updated successfully, but these errors were encountered:
I think we should just have checked against the socket id being 0 within amphp/socket @kelunik Catching \Error looks like quite an unclean solution. A resource id will always be positive. If it is 0 the resource will have been destroyed.
@bwoebi The socket should never be destroyed at that point unless it's the final GC round cleaning up everything. See the amphp/byte-stream issue I posted.
It was happening randomly and i made this error "consistent" when it tries to end the script with last response resolved in the "same time":
To reproduce it you can checkout the "feature/amp" branch of this lib https://github.com/jolicode/asynit
do the composer install and then launch the test with this command :
php bin/asynit example
The text was updated successfully, but these errors were encountered: