sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothee Maret (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-3375) HttpClient use in org.apache.sling.discovery.impl package does not close method connections explicitely
Date Wed, 05 Feb 2014 10:10:12 GMT

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

Timothee Maret updated SLING-3375:
----------------------------------

    Attachment: SLING-3375.patch

> 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)

Mime
View raw message