-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
http: writable set to false #28715
http: writable set to false #28715
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm -1 to adding _writableState
property to OutgoingMessage
.
@ronag this was it: https://github.com/SimenB/node-stream-repro/blob/master/index.js. Essentially that |
@mcollina I've added a test. Assuming |
5d1e99e
to
236a814
Compare
I'm not convinced with this approach, adding a fake proxy is definitely going to break other things. |
Not much I can do with that. Is there any chance I can take a look at "other things" or is it too ambitious? Otherwise I guess this PR is closable. |
26b6e88
to
6125ffe
Compare
This PR needs more work. However, if the idea of implementing |
I don't remember what this is about anymore. Will get back to it in there future. |
This is another take on #15404 (comment).
Depends on #28681
Refs: #15029
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes