Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fix module name in couch_httpd:check_max_request_length/1 call
  • Loading branch information
nickva committed Oct 10, 2016
1 parent bfed196 commit 6b40de3c185dd8f56d193dc0b2f83e28841bb3ed
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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),

0 comments on commit 6b40de3

Please sign in to comment.