couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [1/2] chttpd commit: updated refs/heads/master to 465f29c
Date Thu, 15 Oct 2015 16:38:07 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 76831000a -> 465f29c45


Use couch_httpd_multipart:abort_multipart_stream

abort_multi_part_stream has been moved and renamed into
couch_httpd_mutlipart:abort_multipart_stream


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

Branch: refs/heads/master
Commit: f8f5d7fcd506b53be170c587ee3bd38f7433bc2f
Parents: b44515f
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Fri Nov 28 11:46:24 2014 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Wed Jan 7 11:16:19 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/f8f5d7fc/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index 24eb78c..672509d 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -683,7 +683,7 @@ db_doc_req(#httpd{method='PUT', user_ctx=Ctx}=Req, Db, DocId) ->
             Result
         catch throw:Err ->
             % Document rejected by a validate_doc_update function.
-            couch_doc:abort_multi_part_stream(Parser),
+            couch_httpd_multipart:abort_multi_part_stream(Parser),
             throw(Err)
         end;
     _Else ->


Mime
View raw message