Skip to content

fix: flush the socket to ensure large messages are fully sent - #16

Merged
kvc0 merged 2 commits into
kvc0:mainfrom
anitarua:tls-flush
Aug 17, 2026
Merged

fix: flush the socket to ensure large messages are fully sent#16
kvc0 merged 2 commits into
kvc0:mainfrom
anitarua:tls-flush

Conversation

@anitarua

@anitarua anitarua commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

While testing, I noticed a small number of unexplained timeouts and discovered messages >100KB were not always being fully sent back to the client when requested. Ensuring poll_flush is called here resolved the issue in follow-up tests.

@anitarua
anitarua marked this pull request as ready for review August 7, 2026 22:30

@kvc0 kvc0 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

this looks great, thanks for the update

@kvc0
kvc0 merged commit c1360c4 into kvc0:main Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants