[v14.x] http2: use and support non-empty DATA frame with END_STREAM flag by clshortfuse · Pull Request #34838 · nodejs/node
nodejs-github-bot
added
c++
v14.x labels
clshortfuse
changed the title
http2: use and support non-empty DATA frame with END_STREAM flag
http2: (backport v14.x) use and support non-empty DATA frame with END_STREAM flag
MylesBorins
changed the title
http2: (backport v14.x) use and support non-empty DATA frame with END_STREAM flag
[v14.x] http2: use and support non-empty DATA frame with END_STREAM flag
MylesBorins pushed a commit that referenced this pull request
Adds support for reading from a stream where the final frame is a non-empty DATA frame with the END_STREAM flag set, instead of hanging waiting for another frame. When writing to a stream, uses a END_STREAM flag on final DATA frame instead of adding an empty DATA frame. BREAKING: http2 client now expects servers to properly support END_STREAM flag Fixes: #31309 Fixes: #33891 Refs: https://nghttp2.org/documentation/types.html#c.nghttp2_on_data_chunk_recv_callback PR-URL: #33875 Backport-PR-URL: #34838 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters