You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When unread === 0 we add listeners on write and finish events.
But it seems the write event is never emited.
So the problem I have is when my writeStream has no more to read because the upload is too slow it waits to the finish event (full upload) before restart writing.
Do you think it should be added manually. Because I can not find a write event in nodejs doc.
The text was updated successfully, but these errors were encountered:
Thanks so much for the investigation @nikosmonaut! It looks like I inadvertently removed the event in this commit and didn't have tests to protect against this kind of timing bug.
The correct behavior has been restored (along with some new tests) and is published as a patch.
When unread === 0 we add listeners on write and finish events.
But it seems the write event is never emited.
So the problem I have is when my writeStream has no more to read because the upload is too slow it waits to the finish event (full upload) before restart writing.
Do you think it should be added manually. Because I can not find a write event in nodejs doc.
The text was updated successfully, but these errors were encountered: