Closed acofer closed 7 years ago
I'm not actually able to recreate this issue, using the same 8.8.1 node version.
@acofer Also, I will be starting on v2 later this month. If you have any requests: https://github.com/JoshGlazebrook/socks/issues/18
Sorry... it turned out to be the module 'wtfnode' we were using to inspect/list open sockets that were keeping the new version of mocha from closing. It, of course, attaches more event listeners to socket.on('data'), which messed up handshake
.
Thanks for taking a look, though! We'll look forward to version 2. Good luck!
This stopped working for us when we upgraded to node 8.8.1 from 6. I have no idea why
socket.once('data', handshake)
doesn't runhandshake
, butsocket.on('data', handshake)
does, so... 🤷♂️ ?