You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2016/10/10 14:41:21 UTC

couch commit: updated refs/heads/master to 6b40de3

Repository: couchdb-couch
Updated Branches:
  refs/heads/master bfed196d4 -> 6b40de3c1


Fix module name in couch_httpd:check_max_request_length/1 call


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/6b40de3c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/6b40de3c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/6b40de3c

Branch: refs/heads/master
Commit: 6b40de3c185dd8f56d193dc0b2f83e28841bb3ed
Parents: bfed196
Author: Nick Vatamaniuc <va...@apache.org>
Authored: Mon Oct 10 01:47:49 2016 -0400
Committer: Nick Vatamaniuc <va...@apache.org>
Committed: Mon Oct 10 01:47:49 2016 -0400

----------------------------------------------------------------------
 src/couch_httpd_db.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/6b40de3c/src/couch_httpd_db.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_db.erl b/src/couch_httpd_db.erl
index c46733f..3793a06 100644
--- a/src/couch_httpd_db.erl
+++ b/src/couch_httpd_db.erl
@@ -583,7 +583,7 @@ db_doc_req(#httpd{method='PUT'}=Req, Db, DocId) ->
 
     case couch_util:to_list(couch_httpd:header_value(Req, "Content-Type")) of
     ("multipart/related;" ++ _) = ContentType ->
-        couch_chttpd:check_max_request_length(Req),
+        couch_httpd:check_max_request_length(Req),
         {ok, Doc0, WaitFun, Parser} = couch_doc:doc_from_multi_part_stream(
             ContentType, fun() -> receive_request_data(Req) end),
         Doc = couch_doc_from_req(Req, DocId, Doc0),