Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix issue when there is data right after a window update #14

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

th-ch
Copy link
Owner

@th-ch th-ch commented Jan 31, 2023

This PR aims at fixing a bug where the buffer contains data right after a "window update" header (for which there is no data, the header is self-contained), which was discarded previously - a bug that is visible with some multiplexing examples like in #13.

Implementation aims at matching the Go implementation, which returns early for window updates.

Copy link
Contributor

@m-rousse m-rousse left a comment

Choose a reason for hiding this comment

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

This looks good, good catch!

@th-ch th-ch merged commit 4c3d70d into master Feb 1, 2023
@th-ch th-ch deleted the do-not-discard-data-after-window-update branch February 1, 2023 12:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants