PUTting standalone attachments >1Mb cause connection reset
----------------------------------------------------------

                 Key: COUCHDB-122
                 URL: https://issues.apache.org/jira/browse/COUCHDB-122
             Project: CouchDB
          Issue Type: Bug
          Components: HTTP Interface
    Affects Versions: 0.9
         Environment: Ubuntu 8.04 x86 32-bit
            Reporter: Ijonas Kisselbach


Attempting to upload attachments to documents, whereby an attachment >1Mb 
causes the CouchDB server to reset the socket connection, and not response with 
a "sensible" error message.

Modifying MAX_RECV_BODY in src/mochiweb/mochweb_request.erl (line 46) to 
something bigger, say 128Mb, causes the problem to disappear for reasonably 
large files such as mp3 files. Obviously, the problem of no "sensible" error 
message still remains, and the socket connection will simply be reset should 
the upload exceed 128Mb.

(any attachments <1mb work fine and are stored properly)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to