http2: emit response event instead of trailers event#41405
http2: emit response event instead of trailers event#41405MoonBall wants to merge 1 commit intonodejs:mainfrom
response event instead of trailers event#41405Conversation
|
Review requested:
|
dc2be07 to
210ba97
Compare
210ba97 to
38c46b1
Compare
apapirovski
left a comment
There was a problem hiding this comment.
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 |
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
responseevent ifcat == NGHTTP2_HCAT_HEADERSand status >= 200.