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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.1
    • HTTP Interface
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: