-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
If there is no data, then BufferedStream is passing the end event through immediately, before any end event has been registered to listen for it. The defeats the purpose of holding off the stream until after an async call. It should hold off even an empty stream.
req.pipe (req.body = new BufferedStream 1e6)
... snipped an async call ...
proxyReq = http.request options, (resProx) ->
res.writeHeader resProx.statusCode, resProx.headers
resProx.pipe res
req.body.pipe proxyReq
I'll write my own version again until this is resolved. I get the feeling I am the only one using this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels