You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/04/18 16:27:25 UTC

[jira] [Resolved] (QPID-7195) Ensure socket is closed if Socket#connect times out or fails

     [ https://issues.apache.org/jira/browse/QPID-7195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy resolved QPID-7195.
------------------------------
    Resolution: Fixed

Changes look good to me

> Ensure socket is closed if Socket#connect times out or fails
> ------------------------------------------------------------
>
>                 Key: QPID-7195
>                 URL: https://issues.apache.org/jira/browse/QPID-7195
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>            Priority: Minor
>             Fix For: qpid-java-6.1
>
>
> Currently, if the {{java.net.Socket#connect(java.net.SocketAddress, int)}} in the client throws an IOException, the socket is not closed.  This could potentially lead to a resource leak from an application.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org