Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 32428 invoked from network); 24 Feb 2009 14:08:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 14:08:24 -0000 Received: (qmail 9013 invoked by uid 500); 24 Feb 2009 14:08:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 8978 invoked by uid 500); 24 Feb 2009 14:08:23 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 8956 invoked by uid 99); 24 Feb 2009 14:08:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 06:08:22 -0800 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; Tue, 24 Feb 2009 14:08:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DC22A234C4A7 for ; Tue, 24 Feb 2009 06:08:01 -0800 (PST) Message-ID: <373044799.1235484481900.JavaMail.jira@brutus> Date: Tue, 24 Feb 2009 06:08:01 -0800 (PST) From: "Christopher Lenz (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-266) PUTting json docs > 1MB causes Uncaught error in HTTP request: {exit,{body_too_large,content_length}} In-Reply-To: <210647435.1235483521854.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676285#action_12676285 ] Christopher Lenz commented on COUCHDB-266: ------------------------------------------ For the record, here's the MochiWeb issue: http://code.google.com/p/mochiweb/issues/detail?id=30 > PUTting json docs > 1MB causes Uncaught error in HTTP request: {exit,{body_too_large,content_length}} > ------------------------------------------------------------------------------------------------------ > > Key: COUCHDB-266 > URL: https://issues.apache.org/jira/browse/COUCHDB-266 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 0.9 > Environment: Apache CouchDB 0.9.0a747258 > Reporter: Jeff Hinrichs > Assignee: Christopher Lenz > Fix For: 0.9 > > > error displays itself when trying to PUT a json document that is > 1MB. First noticed in the python interface, confirmed with curl > [Tue, 24 Feb 2009 13:30:00 GMT] [error] [<0.1113.0>] Uncaught error in HTTP request: {exit,{body_too_large,content_length}} > 2 > 3 [Tue, 24 Feb 2009 13:30:00 GMT] [debug] [<0.1113.0>] Stacktrace: [{mochiweb_request,stream_body,5}, > 4 {mochiweb_request,recv_body,2}, > 5 {couch_httpd,json_body,1}, > 6 {couch_httpd_db,db_doc_req,3}, > 7 {couch_httpd_db,do_db_req,2}, > 8 {couch_httpd,handle_request,3}, > 9 {mochiweb_http,headers,4}, > 10 {proc_lib,init_p,5}] > modifying src/mochiweb/mochiweb_request.erl > -define(MAX_RECV_BODY, (1024*1024)) > to something bigger, say -define(MAX_RECV_BODY, (1024*1024*16)) > alleviates the problem temporarily. > issue confirmed by cmlenz on irc, he believed it to be a regression -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.