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

Reimplement _wsl_frame_recv_end_callback() #102038

Conversation

gofastlily
Copy link
Contributor

Fix #101811

An extraneous call to clear the PendingMessage was in the original PR #98343, which was moved to _wsl_send_callback() in #100631 in an attempt to fix incoming control frames during a multi-frame message.

This PR seeks to restore the fixed multi-frame logic to _wsl_frame_recv_end_callback() while limiting that callback to text and binary frames only, as originally intended.

@gofastlily gofastlily requested a review from a team as a code owner January 25, 2025 20:38
@YeldhamDev YeldhamDev added this to the 4.4 milestone Jan 26, 2025
@Faless
Copy link
Collaborator

Faless commented Jan 27, 2025 via email

@gofastlily
Copy link
Contributor Author

Thanks for taking a look. I'll do some digging too and try to fix my understanding of the situation.

@Faless
Copy link
Collaborator

Faless commented Jan 28, 2025

See #102128 for a working fix (tested against the provided MRP).

@gofastlily gofastlily closed this Jan 28, 2025
@gofastlily gofastlily deleted the fix-101811-websocket-client-cuts-message branch January 28, 2025 16:32
@AThousandShips AThousandShips removed this from the 4.4 milestone Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Websocket client cuts message after 2^15 bytes
4 participants