Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1425

Socket Closed Exception When Reading Connection: close Response Entities

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.3.2
    • Component/s: HttpCache
    • Labels:
      None
    • Environment:
      java version "1.7.0_25"
      OpenJDK Runtime Environment (IcedTea 2.3.12) (7u25-2.3.12-4ubuntu3)
      OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

      Description

      If the server sends a long chunked response, httpclient-cache will throw socket closed exception.

      HttpClient can deal with this response no problem (using HttpClients.createDefault). However, CachingHttpClients.createMemoryBound throws an exception every time I try it.

        Attachments

        1. HTTPCLIENT-1425.patch
          12 kB
          James Leigh
        2. HTTPCLIENT-1425b.patch
          22 kB
          James Leigh

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jamesrdf James Leigh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: