diff options
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_httpd.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index e2b4f692..ba5ba8bb 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -789,7 +789,7 @@ handle_attachment_request(Req, Method, _DbName, Db, DocId, FileName) _ -> [{FileName, { list_to_binary(Req:get_header_value("Content-Type")), - Req:recv_body() + Req:recv_body(?MAX_DOC_SIZE) }}] end, |