Sometimes dns-lookup callback may be invoked during event loop shutdown
or after the socket was explicitly closed. That led to
!uv__io_active(&stream->io_watcher, UV__POLLIN | UV__POLLOUT)
(stream.c) assertion errors in libuv due to uv_tcp_connect()
call on the socket.
Sometimes dns-lookup callback may be invoked during event loop shutdown or after the socket was explicitly closed. That led to
!uv__io_active(&stream->io_watcher, UV__POLLIN | UV__POLLOUT)
(stream.c) assertion errors in libuv due touv_tcp_connect()
call on the socket.