senchalabs/connect — Issue #392: EventEmitter callback warning and potential leak
Author: temas
Created: 2011-10-14 03:52:22+00:00
State: open

When using keep alives and a lot of static middleware, if a callback is set, the req.socket callback list will only grow and eventually cause an emitter warning about the number of connected listeners. As far as I can follow the logic, as well, this list will never release the listeners until the socket is destroyed.

https://dl.dropbox.com/u/1362507/Captured/i2dbc.png