tjfontaine / node-dns

Replacement dns module in pure javascript for node.js
MIT License
585 stars 154 forks source link

Handle client in tcp mode losing connection. #102

Closed chyipin closed 7 years ago

chyipin commented 9 years ago

When there are no activities in the tcp connection, the remote server may close the connection. Properly handle this scenario so that the SocketQueue is not holding on to a closed TCP socket; but trigger the SocketQueue to be destroyed so that it will be re-created on the next send.

taoeffect commented 8 years ago

This project is no longer maintained, but we are happy to link to a well maintained fork.

Please see: https://github.com/tjfontaine/node-dns/issues/111

tjfontaine commented 7 years ago

This was handled in a different PR, closing