Re-emit close events #1

merged 1 commit into from Feb 25, 2013


None yet

2 participants



In express controllers, one often binds actions to request events. I assume that purpose of pausing streams is to attach middlewares in a way that is not affecting controllers.

However there, if close is emmited in the window, if I bind to req.on 'close' in controller, event is lost in the same way data/end is. I am using it in my proxy to note 'request happened, but was interrupted', which I may lose in the pause()d window.

@tj tj merged commit 6cc1462 into stream-utils:master Feb 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment