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

http2: store headersSent after stream destroyed #15232

Closed

Conversation

apapirovski
Copy link
Member

Store headersSent directly on response state after finish event is triggered, so that users can always access it.

Fixes: #15226

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

http2, test

@nodejs-github-bot nodejs-github-bot added the http2 Issues or PRs related to the http2 subsystem. label Sep 6, 2017
@apapirovski apapirovski force-pushed the patch-http2-compat-headerssent branch from 74a9f3d to e6f89cf Compare September 6, 2017 21:22
Store headersSent directly on response state after finish event
is triggered, so that users can always access it.

Fixes: nodejs#15226
@apapirovski apapirovski force-pushed the patch-http2-compat-headerssent branch from e6f89cf to a5d6a6f Compare September 7, 2017 11:50
@apapirovski
Copy link
Member Author

Had to rebase but no changes made.

@BridgeAR
Copy link
Member

BridgeAR commented Sep 9, 2017

https://ci.nodejs.org/job/node-test-pull-request/10013/

@ronag ronag mentioned this pull request Sep 10, 2017
@BridgeAR
Copy link
Member

Landed in 78fc726

@BridgeAR BridgeAR closed this Sep 11, 2017
BridgeAR pushed a commit that referenced this pull request Sep 11, 2017
Store headersSent directly on response state after finish event
is triggered, so that users can always access it.

PR-URL: #15232
Fixes: #15226
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
MylesBorins pushed a commit that referenced this pull request Sep 12, 2017
Store headersSent directly on response state after finish event
is triggered, so that users can always access it.

PR-URL: #15232
Fixes: #15226
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
addaleax pushed a commit to addaleax/node that referenced this pull request Sep 13, 2017
Store headersSent directly on response state after finish event
is triggered, so that users can always access it.

PR-URL: nodejs#15232
Fixes: nodejs#15226
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
@apapirovski apapirovski deleted the patch-http2-compat-headerssent branch September 15, 2017 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http2 Issues or PRs related to the http2 subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

http2 - headersSent internal?
9 participants