Emit on socket end connection. #31

Merged
merged 1 commit into from Aug 25, 2011

Projects

None yet

2 participants

@intech

No description provided.

@astro astro merged commit b6375d1 into node-xmpp:master Aug 25, 2011
@astro
node-XMPP member

Basically, the underlying socket's end event should be emitted. On the other hand, we've got online after connected, and the XMPP stream can be shut by </stream:stream> before the TCP stream ends. Therefore this bit makes a lot of sense. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment