-
Notifications
You must be signed in to change notification settings - Fork 31k
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 - headersSent internal? #15226
Labels
http2
Issues or PRs related to the http2 subsystem.
Comments
You're likely trying to access it after the stream was already destroyed. @mcollina thoughts? This is a bit incompatible with h1 since there you could access it even after the 'finish' event fires whereas now we can't. |
I think we should protect |
3 tasks
apapirovski
added a commit
to apapirovski/node
that referenced
this issue
Sep 7, 2017
Store headersSent directly on response state after finish event is triggered, so that users can always access it. Fixes: nodejs#15226
MylesBorins
pushed a commit
that referenced
this issue
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 issue
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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: