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

Revise list of hop-by-hop headers #3943

l-hedgehog opened this issue Apr 12, 2019 · 3 comments

Revise list of hop-by-hop headers #3943

l-hedgehog opened this issue Apr 12, 2019 · 3 comments
bug Bug or defect


Copy link

The list of hop-by-hop headers in #3621 are taken from rfc2616, and there's Errata 4522 which says

Trailers (with a s) does not seem to a header field, just a keyword for TE.
I think that Trailer (without a s) is expected here.

I think the list here should be updated accordingly.

You might also want to take these discussions 1 2 about the missing of such a list in updated http/1.1 rfc723* into consideration.

How I found this:

I'm using hapijs/h2o2 to proxy request to hapi-auth-hawk protected endpoint, but after upgrading from node 8 to 10, I'm getting an ERR_HTTP_TRAILER_INVALID error, seemingly from the removal of "transfer-encoding" but not "trailer".

@hueniverse hueniverse self-assigned this Apr 19, 2019
@hueniverse hueniverse added the bug Bug or defect label Apr 19, 2019
@hueniverse hueniverse added this to the 18.3.1 milestone Apr 19, 2019
Copy link

@mnot Beyond fixing the typo, would you recommend making other changes to the code here:

Copy link

mnot commented Apr 23, 2019

You appear to be removing headers listed in Connection, so you should be good. There's a discussion at httpwg/http-core#165 that might touch on this in the revised specs.

Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
bug Bug or defect
None yet

No branches or pull requests

3 participants