-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Add closed
property to OutgoingMessage
.
#15526
Conversation
Similar to `HTTP2ServerResponse.closed`. This is an alternative to 8589c70 which provides an API similar to h2 compat and won't break existing OSS projects.
ping @nodejs/http @mcollina |
I'm -1 on this one. I still hope we can get |
I'm 👍 in removing |
To be clear, we should still track |
If it's only used internally then it shouldn't be exposed to the public, use a Symbol or something instead. |
before removing |
@ronag I don't know. At this point we aim for compatibility, so I guess we would have to reproduce the "flaws" as well. |
I think it is clear that this is not the way we want to move on and instead should just remove closed from http2 compat. Is everyone OK with closing this therefore? |
I have a PR open for http2 that removes it so 👍 from me. |
Similar to
HTTP2ServerResponse.closed
. This is an alternative to 8589c70 which provides an API similar to h2 compat and won't break existing OSS projects.Fixes #15523
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)