proxy missing events from client request to returned stream #427

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@fent
fent commented Feb 5, 2013

A bunch of of events are missing from being emitted in the returned stream, socket, connect, upgrade, continue.

http://nodejs.org/api/http.html#http_event_socket

I'm only really interested in the socket event so I can use socket.emit('agentRemove') on it instead of having to increase the max sockets.

I'm aware I can also listen for the request event, which I can then listen to all of these events on. Wanted to know what you thought of this API design.

Thanks for an awesome library. :)

@mikeal
Member
mikeal commented Mar 1, 2013

this doesn't merge cleanly, please reopen when it does.

@mikeal mikeal closed this Mar 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment