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

return write error when encoding header fields #28

Merged
merged 1 commit into from Sep 14, 2022

Conversation

kokes
Copy link
Contributor

@kokes kokes commented Sep 13, 2022

The encoder does not check for errors when writing the header field. But since the underlying transform for Encoder is a generic io.Writer, we need to check for any issues there and propagate them.

@marten-seemann marten-seemann changed the title Check for errors when encoding header fields return write error when encoding header fields Sep 13, 2022
@marten-seemann marten-seemann merged commit d3f95be into quic-go:master Sep 14, 2022
@marten-seemann
Copy link
Member

Thank you!

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.

None yet

2 participants