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 passing a readable stream as options.payload, the readable stream will be piped to the ClientRequest before a socket connection is established. That causes the stream to be put into the flowing mode meaning that the stream cannot be re-used in the event that no socket connection can be established.
Our work-around has been to pass a stream.PassThrough instance as options.payload and then to pipe the actual payload into the pass-through stream once a socket connection is established ('connect' event on the socket).
ggoodman
added a commit
to ggoodman/wreck
that referenced
this issue
Jul 23, 2018
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
lockbot
locked as resolved and limited conversation to collaborators
Jan 9, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Relates to
wreck/lib/index.js
Lines 303 to 322 in 576ce9d
The text was updated successfully, but these errors were encountered: