Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-426

Occasionally getting leased a closed connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Problem
    • 4.4.5
    • None
    • HttpCore NIO
    • None

    Description

      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.

      In the debugger, when I hit the following line, I see that entry.isClosed() is true:
      http://grepcode.com/file/repo1.maven.org/maven2/org.apache.httpcomponents/httpcore-nio/4.4.1/org/apache/http/nio/pool/AbstractNIOConnPool.java/#382

      I'll provide more details as I investigate.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bchang85 Brian Chang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: