-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: simplify drain #29081
Closed
Closed
http: simplify drain #29081
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodejs-github-bot
added
the
lib / src
Issues and PRs related to general changes in the lib or src directory.
label
Aug 11, 2019
I think we should be using a symbol instead of an underscore-prefixed property. |
ronag
force-pushed
the
http-simplify-drain
branch
from
August 11, 2019 15:11
078268c
to
054d050
Compare
@mscdex: fixed |
ronag
force-pushed
the
http-simplify-drain
branch
7 times, most recently
from
August 11, 2019 15:57
e82d80e
to
a6486de
Compare
mscdex
reviewed
Aug 11, 2019
ronag
force-pushed
the
http-simplify-drain
branch
4 times, most recently
from
August 11, 2019 19:35
e9184d5
to
35ba9c3
Compare
mscdex
reviewed
Aug 11, 2019
ronag
force-pushed
the
http-simplify-drain
branch
3 times, most recently
from
August 13, 2019 13:47
2a6fb63
to
41a0458
Compare
@nodejs/http |
@ronag Can you give this a rebase to get rid of the conflicts? @nodejs/collaborators @nodejs/streams This could use some reviews. |
ronag
force-pushed
the
http-simplify-drain
branch
from
August 17, 2019 04:44
41a0458
to
dcca00f
Compare
@Trott fixed |
ronag
force-pushed
the
http-simplify-drain
branch
from
August 17, 2019 05:11
dcca00f
to
73e760f
Compare
mcollina
approved these changes
Aug 19, 2019
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.
LGTM
Landed in bdf07f4 |
Trott
pushed a commit
that referenced
this pull request
Aug 19, 2019
Simplify and slightly optimize draining outgoing http streams. Avoid extra event listener and inline with rest of the drain logic. PR-URL: #29081 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
targos
pushed a commit
that referenced
this pull request
Aug 20, 2019
Simplify and slightly optimize draining outgoing http streams. Avoid extra event listener and inline with rest of the drain logic. PR-URL: #29081 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This was referenced Aug 20, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Simplify and slightly optimize draining outgoing http streams.
Avoid extra event listener and inline with rest of the drain logic.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesNOTE TO SELF: After this is merged add
destroyed
and ensure'drain'
is not emitted afterdestroy()
. Also look into removing unnecessary flush class in write.