couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <paul.joseph.da...@gmail.com>
Subject Re: [jira] Created: (COUCHDB-122) PUTting standalone attachments >1Mb cause connection reset
Date Wed, 17 Sep 2008 21:22:14 GMT
There's a document size conifig option in trunk, is this meant to
address this issue and we missed the mochiweb threshold, or am I
missing something on why there are two thresholds?

On Wed, Sep 17, 2008 at 5:19 PM, Ijonas Kisselbach (JIRA)
<jira@apache.org> wrote:
> 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.
>
>

Mime
View raw message