summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2008-09-23 17:46:10 +0000
committerJan Lehnardt <jan@apache.org>2008-09-23 17:46:10 +0000
commit9de978cc6a10b0303b7f80b16efd4b6d3cf871fc (patch)
tree55999a9de52b00f40e6ba72bac756075833146c9 /src
parent3d868b46e62ef51b234f7ab2bc436050d8b9aed0 (diff)
Changed call to Req:recv_body() by Damien's request.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@698260 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_httpd.erl2
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,