Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upstream: writableEnded #28934
Conversation
nodejs-github-bot
added
http
http2
stream
labels
Aug 2, 2019
ronag
force-pushed the
nxtedition:stream-writableEnded
branch
from
f07dd71
to
b5047fa
Aug 2, 2019
This comment has been minimized.
This comment has been minimized.
|
ping @mcollina @benjamingr |
ronag
force-pushed the
nxtedition:stream-writableEnded
branch
2 times, most recently
from
9781b2e
to
2acbd15
Aug 2, 2019
ronag
changed the title
Stream writable ended
stream: writableEnded
Aug 2, 2019
This comment has been minimized.
This comment has been minimized.
|
Could you add some text that shows the relation between this and writableFinished? Good work! |
This comment has been minimized.
This comment has been minimized.
|
@mcollina Updated |
ronag
force-pushed the
nxtedition:stream-writableEnded
branch
from
2acbd15
to
d4dfee9
Aug 2, 2019
ronag
force-pushed the
nxtedition:stream-writableEnded
branch
3 times, most recently
from
a6b8aa1
to
80afc1e
Aug 2, 2019
|
Some doc nits. |
ronag
force-pushed the
nxtedition:stream-writableEnded
branch
2 times, most recently
from
7c29569
to
6ab4ad4
Aug 2, 2019
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Would you mind rebase on top of master? |
ronag
force-pushed the
nxtedition:stream-writableEnded
branch
3 times, most recently
from
2ad49f1
to
3c8930d
Aug 3, 2019
ronag
force-pushed the
nxtedition:stream-writableEnded
branch
from
3c8930d
to
9dd1575
Aug 3, 2019
This comment has been minimized.
This comment has been minimized.
|
done btw, what's up with the defineProperty configs that seem to be a bit all over? |
Trott
added
the
author ready
label
Aug 17, 2019
This comment has been minimized.
This comment has been minimized.
|
A request: Your PR descriptions are usually very good, but your commit messages are usually very terse. I invariably end up amending the commit message using a bunch of stuff from the PR description. If you could be descriptive in the commit messages (or at least the first commit message--subsequent fixup commits get squashed away anyway), that would make landing a little bit easier. If you have a good reason why your commit messages are terse, that's fine, I can keep updating the commit messages upon landing. But if it's all the same to you, more info in the commit messages please! (Putting this publicly because you're not the only person for whom this is true so maybe others will see it and respond accordingly. Not trying to shame anyone or anything. I've certainly had more than my own share of commit messages that didn't even contain a verb.) |
|
LGTM if CI passes. |
This comment has been minimized.
This comment has been minimized.
... I have no reason other than that's how I'm used to do it :). I'll try to improve in future PR's & commits. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Landed in 6f613d8 |
ronag commentedAug 2, 2019
•
edited
This is work towards resolving the
response.finishedconfusion and future deprecation.Note that implementation wise streams have both an
endingandendedstate. However, in this case (in order to avoid confusion in user space)writableEndedis equal towritable.ending. Theendingvsendedsituation is internal state required for internal stream logic.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes