Open ssinyagin opened 4 years ago
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.
net.Socket emits "end" only on successful closing, but it emits "close" in error conditions as well.