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

[WS] Implement wslay unbuffered message parsing #98343

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Oct 19, 2024

Ensure we never read more than we can store during poll.

Raise default max packets to 4096 to maintain the same performance for the first 2048 packets.

Fixes #70738

Closes #98167

Copy link
Member

@mhilbrunner mhilbrunner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style, commit and code look good, and I built a build with both #97913 and #98343 to do some testing.

I found no issues so far, and would like to see both tested in a dev release ASAP to get feedback on real projects.

Ensure we never read more than we can store during poll.

Raise default max packets to 4096 to maintain the same performance for
the first 2048 packets.
@Faless Faless force-pushed the ws/wslay_unbuffered branch from de37da2 to 3114bda Compare November 12, 2024 16:20
@Repiteo Repiteo merged commit 7ff6591 into godotengine:master Nov 12, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 12, 2024

Thanks!

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 dropping data violates TCP reliability and congestion control
3 participants