couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [06/50] couch commit: updated refs/heads/2971-count-distinct to ee32cd5
Date Wed, 01 Mar 2017 16:38:53 GMT
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/2971-count-distinct
Commit: 6b40de3c185dd8f56d193dc0b2f83e28841bb3ed
Parents: bfed196
Author: Nick Vatamaniuc <vatamane@apache.org>
Authored: Mon Oct 10 01:47:49 2016 -0400
Committer: Nick Vatamaniuc <vatamane@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),


Mime
View raw message