dhruvbird/node-xmpp-bosh — comment on commit 45a958042585393bd1dfec6b96a50fcc65a23541
File: src/stream.js line 186
By satyamshekhar:

This leads to crashes, since stream.session is used at many places - espectially in callbacks (socket close(xmpp-proxy.js) - for logging, stream terminate in bosh.js.