Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
-
openjdk 1.8.0_111
Description
During an async client connect (with ClientChannel.Streaming.Async), if the hostname is not resolvable, an UnresolvedAddressException is thrown from the "socket.connect(...)" call in Nio2Connector.java. The socket was allocated before the connect, but it is not closed in the "catch" block. This causes the socket to leak, and can eventually exhaust the file descriptors in the system.