You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/10/15 21:54:44 UTC

chttpd commit: updated refs/heads/master to c3fcf88

Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 465f29c45 -> c3fcf881f


Fix multipart stream refactor


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

Branch: refs/heads/master
Commit: c3fcf881fbb48c4633bcdcc38596a9963f519ceb
Parents: 465f29c
Author: Alexander Shorin <kx...@apache.org>
Authored: Thu Oct 15 22:53:12 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Thu Oct 15 22:53:12 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/c3fcf881/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index a6f5c6a..fe50b75 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -769,7 +769,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_httpd_multipart:abort_multi_part_stream(Parser),
+            couch_httpd_multipart:abort_multipart_stream(Parser),
             throw(Err)
         end;
     _Else ->