node-esl
node-esl copied to clipboard
Issue #84 -- emit esl::end on socket::close
net.Socket emits "end" only on successful closing, but it emits "close" in error conditions as well.
Thanks for tracking this down. Looks like this breaks one of the tests, can you look into why that is please?
seems like you're expecting connection::close while the socket is still alive. With my patch, the close event comes when the socket is done.
Makes sense, I'm happy to merge this once the tests are passing.