[infinispan-issues] [JBoss JIRA] (ISPN-8900) Sockets might be left open if server unreachable on creation

Galder Zamarreño (JIRA) issues at jboss.org
Thu Mar 1 12:05:01 EST 2018


    [ https://issues.jboss.org/browse/ISPN-8900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540415#comment-13540415 ] 

Galder Zamarreño commented on ISPN-8900:
----------------------------------------

Use [this class|https://github.com/galderz/jdg-sandbox/blob/master/client/src/main/java/jdg/client/UnknownHosts.java] to replicate issue.

> Sockets might be left open if server unreachable on creation
> ------------------------------------------------------------
>
>                 Key: ISPN-8900
>                 URL: https://issues.jboss.org/browse/ISPN-8900
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Remote Protocols
>    Affects Versions: 9.1.6.Final, 9.2.0.Final
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 9.2.1.Final, 9.1.7.Final
>
>
> Seems to affect pre-netty client but not sure yet whether it affects netty version:
> In 9.1.x and before, TcpTransport.destroy/release not called if TcpTransport constructor fails to connect socket. This might be leaving the socket file descriptor open. If an exception, socket and socketChannel should be closed.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list