Skip to content

Fix bug where the wrong payload size was used#207

Merged
kishikawakatsumi merged 1 commit intokishikawakatsumi:mainfrom
jburns20:main
Nov 29, 2025
Merged

Fix bug where the wrong payload size was used#207
kishikawakatsumi merged 1 commit intokishikawakatsumi:mainfrom
jburns20:main

Conversation

@jburns20
Copy link
Contributor

In certain cases, if a previous call to receive fetched more bytes than required, we would look in the wrong place for the payload length. This would often lead to the library attempting to receive more bytes infinitely, causing the connection to hang. This change ensures we use the correct payload size in all cases.

@kishikawakatsumi
Copy link
Owner

Thank you!

@kishikawakatsumi kishikawakatsumi merged commit e0061d1 into kishikawakatsumi:main Nov 29, 2025
0 of 2 checks passed
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