Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
When NioSocketConnector.connect(SocketAddress, SocketAddress) is called, and remoteAddress is reachable but localAddress is not assigned, a handler will leak.
In NioSocketConnector.newHandle(SocketAddress localAddress), SocketChannel.open() and SocketChannel.socket().bind() are called. If localAddress is not assigend, open() returns normally but a java.net.BindException will throw at bind().
In its caller, AbstractPollingIoConnector.connect0(), it catches exception but can not get the opened SocketChannel.
Attachments
Issue Links
- duplicates
-
DIRMINA-928 when client want to connect to server by binding wrong ip address,there is a bug.
- Resolved