-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
http2: emit response
event instead of trailers
event
#41405
Conversation
Review requested:
|
dc2be07
to
210ba97
Compare
210ba97
to
38c46b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice find. And actually makes sense after reading the nghttp2 docs https://nghttp2.org/documentation/enums.html#c.nghttp2_headers_category
The naming is very confusing. HTTP/2 states that those are trailers (since |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Is this an objection? How would you like this PR to be changed? |
In the Examples section of RFC7540:
in this instance there are three |
This needs a rebase. |
This still needs a rebase :) |
Superseded by #41739 |
Fix #41251.
Should emit
response
event ifcat == NGHTTP2_HCAT_HEADERS
and status >= 200.