Timothee Maret created SLING-3375:
-------------------------------------

             Summary: 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


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)

Reply via email to