hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Chang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCORE-426) Occasionally getting leased a closed connection
Date Wed, 06 Jul 2016 19:24:10 GMT
Brian Chang created HTTPCORE-426:

             Summary: Occasionally getting leased a closed connection
                 Key: HTTPCORE-426
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-426
             Project: HttpComponents HttpCore
          Issue Type: Bug
          Components: HttpCore NIO
    Affects Versions: 4.4.5
            Reporter: Brian Chang
            Priority: Critical

I have a client concurrently making several {{PUT}} requests to a server. This server returns
{{204}} for these requests. Occasionally, I'll get a {{ConnectionClosedException}}. Oddly
enough, these exceptions go away if I change the server to return {{200}}.

This seems to happen because of the following:
connection is closed:
if it was the last free connection, it's then leased:

This message was sent by Atlassian JIRA

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

View raw message