-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
Closed Behaviour Change 14.0 #1538
Comments
Thank you for reporting this problem. Here's an initial guess at what could be happening:
I agree that it's reasonable to expect that you can read the message in this scenario (although there may be other scenarios indistinguishable from this one where you'd expect data to be discarded). |
As a short term fix, you can use |
(Then you'll have five years to switch to |
Thank you for the effort to provide a minimal reproduction script. It passes on the PR:
while failing on the main branch:
|
FYI: I'm planning to wait a few days for other reports of incompatibilities between the legacy and new implementation, then I'll make a release with that fix. |
One of our tests started failing as of 14.0 - if the server sends a message then closes the websocket before the client has recv() the message, then the client will not see the message before the ConnectionClosed event.
This test passes in 13.1, but fails in 14.0:
The text was updated successfully, but these errors were encountered: