Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-1291

With body Expect: 100-Continue header doesn't seem to return to client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.3.x
    • None
    • None
    • None

      With body Expect: 100-Continue header doesn't seem to return to client

      Ends up relying on timeout which adds 1s latency

      *   Trying ::1...
      * TCP_NODELAY set
      * Connected to localhost (::1) port 8082 (#0)
      > POST /test/froofroo/909090 HTTP/1.1
      > Host: localhost:8082
      > User-Agent: curl/7.54.0
      > Accept: */*
      > Content-Length: 131437
      > Content-Type: application/x-www-form-urlencoded
      > Expect: 100-continue
      >
      * Done waiting for 100-continue  <---- Note the timeout here
      * We are completely uploaded and fine
      < HTTP/1.1 200 OK
      < Server: Jetty(9.2.20.v20161216)
      < Date: Mon, 02 Oct 2017 13:42:01 GMT
      < Content-Type: application/json
      < Content-Length: 399
      < Response-Counter: 54
      <
      {
        "method" : "POST",
        "resource" : "/a/b/c",
        "uri" : "/a/b/c",
        "headers" : {
          "Expect" : "100-continue",
          "Accept" : "*/*",
          "User-Agent" : "curl/7.54.0",
          "Host" : "localhost:9999",
          "Content-Length" : "131437",
          "Content-Type" : "application/x-www-form-urlencoded"
        },
        "bodyLength" : 131437,
        "bodySha1" : "d0d4cc7e57f9bdbc5f9f3821b42eef6aafe4c306",
        "counter" : 54
      * Connection #0 to host localhost left intact
      

            msavy_jira Marc Savy (Inactive)
            msavy_jira Marc Savy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: