Uh oh!
There was an error while loading. Please reload this page.
[v14.x] http2: use and support non-empty DATA frame with END_STREAM flag - #34838
Closed
clshortfuse wants to merge 1 commit into
Closed
[v14.x] http2: use and support non-empty DATA frame with END_STREAM flag#34838clshortfuse wants to merge 1 commit into
clshortfuse wants to merge 1 commit into
Conversation
nodejs-github-bot
commented
Aug 19, 2020
Collaborator
Review requested:
|
clshortfuse
commented
Aug 19, 2020
ContributorAuthor
Only difference between this and #33875 are two debug lines that had to be removed. v14.x can't debug a stream object without an attached session. |
clshortfuseforce-pushed
the
fixhttp2-v14.x
branch
from
August 19, 2020 17:05
320f82d to
56f3725Compareclshortfuse
commented
Aug 19, 2020
ContributorAuthor
Rebased against 14.x-staging (was behind 640 commits). Also commented out 14.x incompatible lines instead of just outright removing them. |
clshortfuseforce-pushed
the
fixhttp2-v14.x
branch
from
August 19, 2020 22:19
238de94 to
c434944Comparedanielleadams
commented
Aug 20, 2020
Contributor
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: nodejs#31309Fixes: nodejs#33891 Refs: https://nghttp2.org/documentation/types.html#c.nghttp2_on_data_chunk_recv_callback
MylesBorinsforce-pushed
the
fixhttp2-v14.x
branch
from
August 20, 2020 17:05
c434944 to
8fd8f1dCompareContributor
Went ahead and rebased as the change went out of sync with v14.x-staging CI: https://ci.nodejs.org/job/node-test-pull-request/32872/ @danielleadams it would be very good to get this included in next weeks release. Thanks for the hard work. Resume CI for windows failure: https://ci.nodejs.org/job/node-test-pull-request/32873/ |
9 tasks
MylesBorins pushed a commit
that referenced
this pull request
Aug 21, 2020
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: #31309Fixes: #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>
MylesBorins
commented
Aug 21, 2020
Contributor
landed in 9e0d18f |
This was referenced Aug 22, 2020
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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes