Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2189

HTTP/1.x hangs if client sends "Expect: 100-continue" header

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.16.0
    • Fix Version/s: 1.17.0
    • Component/s: Protocol Adaptors
    • Labels:
      None

      Description

      The "curl" tool will include an "Expect: 100-continue" header in PUT/POST operations.  curl will then block until the server has responded with a "100 Continue".   See rfc723.

      In order to minimize message fragmentation at the TCP/IP layer the router will not immediately forward a small message that is streaming (See DISPATCH-1545). However, the curl client's message is too small to trigger the streaming logic and will never signal receive-complete as it is waiting for a response from the server. This means the partial request message is never forwarded and curl hangs.

        Attachments

          Activity

            People

            • Assignee:
              kgiusti Ken Giusti
              Reporter:
              kgiusti Ken Giusti
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: