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

'100-continue' response times out unexpectedly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0 Alpha 3
    • 2.0 Beta 1
    • HttpClient (classic)
    • None
    • Operating System: Windows XP
      Platform: All
    • 17432

    Description

      Entity encosing methods time out (3 seconds) rather than getting the
      100-continue response. Then, after it has send the body, the 100-continue
      response is received and returned.

      Adding

      method.setUseExpectHeader(false);

      seems to fix it.

      Platform 1: Jetty server on Windows XP, Sun JDK 1.4.1_01,
      Platform 2: Tomcat-4.1.18 + Turbine on Windows 2000 Pro, Sun JDK 1.3.1
      Platform 3: Tomcat-4.1.18 on Linux if the connection is running over stunnel-4.00

      Reported by:
      Simon Roberts <simon.roberts@fifthweb.net>
      Aurelien Pernoud <apernoud@sopragroup.com>
      Ingo Brunberg <ib@fiz-chemie.de>

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--test-local.log
          13 kB
          Simon Roberts
        2. ASF.LICENSE.NOT.GRANTED--expect-continue.patch
          12 kB
          Oleg Kalnichevski
        3. ASF.LICENSE.NOT.GRANTED--expect-continue.patch
          12 kB
          Oleg Kalnichevski
        4. ASF.LICENSE.NOT.GRANTED--expect-continue.patch
          17 kB
          Oleg Kalnichevski

        Activity

          People

            olegk Oleg Kalnichevski
            olegk Oleg Kalnichevski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: