Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-55

Mochi thinks request is over when it's not. (delayed packets)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.1
    • Component/s: HTTP Interface
    • Labels:
      None
    • Environment:

      Ubuntu 8.04
      CouchDB trunk

      Description

      When the request is broken up as such:

      Packet #1
      -----------
      PUT /db/doc HTTP/1.1
      Transfer-Encoding:chunked
      Content-Type:application/json
      Host: localhost

      Packet #2
      ------------------
      1234
      {
      "ima" : "doc"
      }
      0

      Mochi ignores the fact that Transfer-Encoding: chunked is set, and gives a 500 error after packet #1 before it receives packet #2.

        Attachments

          Activity

            People

            • Assignee:
              cmlenz Christopher Lenz
              Reporter:
              nietsnie Jeff Davey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: