-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
stream.resume() doesn't make the stream flowing after removing readable listener #24281
Labels
Comments
@nodejs/streams |
Hey @snakamura! As per the docs -
So if you remove your |
@shobhitchittora That's what I expected, and v10.13.0 didn't work like that as you can see in my code. |
Confirmed, we need to have a look in more detail. |
mcollina
added a commit
to mcollina/node
that referenced
this issue
Nov 14, 2018
3 tasks
Check out #24366. |
Fixed in 69cc58d. |
Thank you! |
@nodejs/backporters Sorry to bother you, but are there chances that this fix will be backported to 10.x LTS? |
refack
pushed a commit
to refack/node
that referenced
this issue
Jan 14, 2019
Fixes: nodejs#24281 PR-URL: nodejs#24366 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
With v10.13.0, stream.resume() doesn't make the stream flowing after removing
readable
listener. Here is a code to demonstrate the problem.Note that you need to name this script
s.js
to run this script without any changes.With v10.13.0, this prints nothing. With v8.12.0, this prints
end
. This seems to be related to #18994, #21696 and #22209, but I'm not sure if this is an intentional change.Note that a stream starts flowing when I add
data
listener instead of callingresume
.The text was updated successfully, but these errors were encountered: