couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vatam...@apache.org
Subject [1/2] fabric commit: updated refs/heads/master to ce62148
Date Thu, 16 Mar 2017 02:39:53 GMT
Repository: couchdb-fabric
Updated Branches:
  refs/heads/master d22903c0c -> ce62148d0


Allow limiting maximum document body size

Update doc function to check and validate document body sizes

Main implementation is in PR:

 https://github.com/apache/couchdb-couch/pull/235

COUCHDB-2992


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

Branch: refs/heads/master
Commit: 3b15107df83a16a26dbc6c06a1a080437cb558b8
Parents: d22903c
Author: Nick Vatamaniuc <vatamane@apache.org>
Authored: Tue Mar 14 02:59:31 2017 -0400
Committer: Nick Vatamaniuc <vatamane@apache.org>
Committed: Tue Mar 14 02:59:31 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/3b15107d/src/fabric.erl
----------------------------------------------------------------------
diff --git a/src/fabric.erl b/src/fabric.erl
index 05eed7e..f98a5c0 100644
--- a/src/fabric.erl
+++ b/src/fabric.erl
@@ -497,7 +497,7 @@ docs(Docs) ->
 doc(#doc{} = Doc) ->
     Doc;
 doc({_} = Doc) ->
-    couch_doc:from_json_obj(Doc);
+    couch_doc:from_json_obj_validate(Doc);
 doc(Doc) ->
     erlang:error({illegal_doc_format, Doc}).
 


Mime
View raw message