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

fix(web): Trailers decode bug #1528

Merged
merged 1 commit into from
Sep 21, 2023
Merged

fix(web): Trailers decode bug #1528

merged 1 commit into from
Sep 21, 2023

Conversation

LucioFranco
Copy link
Member

No description provided.

Previously, if we did not find trailers in the incoming message and the
message len was longer than the actual buffer we returned the buffer.
This would mean we would fail to parse incomplete message buffers. This
fixes `find_trailers` to support three return types, `Trailers(len)`,
`IncompleteBuf`, `Done`. Previously, there was only `Some(len)` and
`None`.
@LucioFranco LucioFranco force-pushed the lucio/web-trailers-bug branch from 6cc706a to 38d6988 Compare September 21, 2023 19:21
@LucioFranco LucioFranco marked this pull request as ready for review September 21, 2023 19:22
@LucioFranco LucioFranco added this pull request to the merge queue Sep 21, 2023
Merged via the queue into master with commit fe6f8d9 Sep 21, 2023
16 checks passed
@LucioFranco LucioFranco deleted the lucio/web-trailers-bug branch September 21, 2023 19:36
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.

1 participant