You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2014/02/06 18:24:09 UTC

[jira] [Resolved] (SLING-3375) HttpClient use in org.apache.sling.discovery.impl package does not close method connections explicitely

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

Stefan Egli resolved SLING-3375.
--------------------------------

    Resolution: Fixed

> HttpClient use in org.apache.sling.discovery.impl package does not close method connections explicitely
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-3375
>                 URL: https://issues.apache.org/jira/browse/SLING-3375
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Discovery Impl 1.0.2
>            Reporter: Timothee Maret
>         Attachments: SLING-3375.patch
>
>
> Using the sling topology in our application, we experience instances being disconnected from the topology. Looking at our logs, we see occurrences of IOExceptions and then the instance can't connect anymore. 
> Looking at the use of HttpClient in the package 'org.apache.sling.discovery.impl' I noticed the method was not released explicitely although advised by the lib doc [0].
> org.apache.sling.discovery.impl.topology.connector.TopologyConnectorClient#ping
> org.apache.sling.discovery.impl.topology.connector.TopologyConnectorClient#disconnect
> [0] https://hc.apache.org/httpclient-3.x/tutorial.html



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)