couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ijonas Kisselbach (JIRA)" <>
Subject [jira] Created: (COUCHDB-122) PUTting standalone attachments >1Mb cause connection reset
Date Wed, 17 Sep 2008 21:19:44 GMT
PUTting standalone attachments >1Mb cause connection reset

                 Key: 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.

View raw message