Closed dinooo13 closed 2 years ago
I think this should do it for the async update. What do you think?
@dinooo13 I tested this in my private fork together with your changes in https://github.com/clue/reactphp-docker/pull/77 and the tests for PHP 8.1 and PHP 8.2 don't get stuck anymore :+1:
I actually thought that this pull request would involve some bigger changes, that's why I suggested to open up an additional PR. I think this is good as it is, but if https://github.com/clue/reactphp-socks/pull/110 involves the same amount of changes we can just add a second commit in there.
In https://github.com/clue/reactphp-socks/pull/110 it's quite a bit more so I think the additional PR is the way to go 👍
Close open connections in tests to prevent them from looping in the async update.
Based on https://github.com/reactphp/socket/pull/283
Ref: https://github.com/clue/reactphp-docker/pull/77