-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: make http.OutgoingMessage inherit Stream.Writable #33870
Conversation
After these changes, properties that are present:
|
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.
The reason we don't inherit Writable is due to performance reasons. It adds too much overhead.
I've been working on a way to get around that but it's not finished yet. #33515
Have you benchmarked this change? Last time I tried this it slowed things down and it was not really feasible. |
I see. I tried benchmarking this for
In the meantime, I'll find some more issues to dig in. Feel free to close this one. :) |
Fixes: #28971
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes