Skip to content

buffer() is incompatible with node 0.10 stream interface #439

Closed
dkillebrew opened this Issue Jul 1, 2013 · 0 comments

2 participants

@dkillebrew

Calling http-proxy.buffer(stream) will do stream.on('data). This puts the stream into old mode (http://nodejs.org/api/stream.html#stream_event_data). If I then try and use the new stream interface with that stream, it won't work properly. I'll get 'readable' events, but all calls to read() will return null.

EDIT:
Nevermind, I think this was my error.

@cronopio cronopio closed this Oct 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.