Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
At present, there is no means for destroying the socket underlying a Node.js Thrift Connection. When using TLS, If the socket fails to connect, calling end() is insufficient to release its resources. (end() sends a FIN packet, which is never acknowledged, holding the socket open.) This unreleased socket will prevent Node.js from exiting cleanly.