Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 2836 invoked from network); 17 Sep 2008 21:20:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 21:20:07 -0000 Received: (qmail 45249 invoked by uid 500); 17 Sep 2008 21:20:02 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 45176 invoked by uid 500); 17 Sep 2008 21:20:02 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 45148 invoked by uid 99); 17 Sep 2008 21:20:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 14:20:02 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 21:19:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3DAA1234C1D6 for ; Wed, 17 Sep 2008 14:19:44 -0700 (PDT) Message-ID: <1046520588.1221686384245.JavaMail.jira@brutus> Date: Wed, 17 Sep 2008 14:19:44 -0700 (PDT) From: "Ijonas Kisselbach (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Created: (COUCHDB-122) PUTting standalone attachments >1Mb cause connection reset MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.