Issue #1912 refixed onOpen call for SSL leak
This commit is contained in:
parent
76e744979b
commit
2bd39c897d
|
@ -202,10 +202,11 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable
|
||||||
private EndPoint createEndPoint(SelectableChannel channel, SelectionKey selectionKey) throws IOException
|
private EndPoint createEndPoint(SelectableChannel channel, SelectionKey selectionKey) throws IOException
|
||||||
{
|
{
|
||||||
EndPoint endPoint = _selectorManager.newEndPoint(channel, this, selectionKey);
|
EndPoint endPoint = _selectorManager.newEndPoint(channel, this, selectionKey);
|
||||||
endPoint.onOpen();
|
|
||||||
Connection connection = _selectorManager.newConnection(channel, endPoint, selectionKey.attachment());
|
Connection connection = _selectorManager.newConnection(channel, endPoint, selectionKey.attachment());
|
||||||
endPoint.setConnection(connection);
|
endPoint.setConnection(connection);
|
||||||
selectionKey.attach(endPoint);
|
selectionKey.attach(endPoint);
|
||||||
|
|
||||||
|
endPoint.onOpen();
|
||||||
_selectorManager.endPointOpened(endPoint);
|
_selectorManager.endPointOpened(endPoint);
|
||||||
_selectorManager.connectionOpened(connection);
|
_selectorManager.connectionOpened(connection);
|
||||||
if (LOG.isDebugEnabled())
|
if (LOG.isDebugEnabled())
|
||||||
|
|
Loading…
Reference in New Issue