astro/node-xmpp — pull request #47 by superfeedr (2011-11-30 17:53:47+00:00)
Title: Connection::onEnd issue

Hello Stephan,

I found an issue in node-xmpp. As we've discussed in the past, I think it is better to decouple the Connection from the Socket, so that we can use other types of "socket" to support connection : namely websockets, but also stuff like Bosh for example (if we can ever port node-xmpp to th browser)...
Right now, it assumes that when the socket triggers the 'end' event, it still exist as an object... which doesn't seem to the case for websockets.

Let me know if that makes any sense!

Julien