couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <adam.kocolo...@gmail.com>
Subject Re: mochiweb document size limit still 1MB
Date Sat, 15 Nov 2008 04:10:45 GMT
Hi Sho, but CouchDB doesn't use that default; it relies on  
mochiweb_request:recv_body/1 and sets a MAX_DOC_SIZE of 4 GB.  See  
couch_httpd:body/1 and :json_body/1.  Regards,

Adam

On Nov 14, 2008, at 10:20 PM, Sho Fukamachi wrote:

> Hey CouchDB devs,
>
> The maximum body size (in mochiweb) for a doc upload is still 1MB in  
> trunk.
>
> in /trunk/src/mochiweb/mochiweb_request.erl
>
> 45 % Maximum recv_body() length of 1MB
> 46 -define(MAX_RECV_BODY, (1024*1024)).
>
> Can we get another 1024 in there? Pretty please? : )
>
> thanks,
>
> Sho


Mime
View raw message