You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/03/16 02:39:53 UTC

[1/2] fabric commit: updated refs/heads/master to ce62148

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 <va...@apache.org>
Authored: Tue Mar 14 02:59:31 2017 -0400
Committer: Nick Vatamaniuc <va...@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}).
 


[2/2] fabric commit: updated refs/heads/master to ce62148

Posted by va...@apache.org.
Merge branch 'couchdb-2992'

Closes #91


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

Branch: refs/heads/master
Commit: ce62148d0a4469751d8078cc223684da29b5d4a7
Parents: d22903c 3b15107
Author: Nick Vatamaniuc <va...@apache.org>
Authored: Wed Mar 15 22:39:31 2017 -0400
Committer: Nick Vatamaniuc <va...@apache.org>
Committed: Wed Mar 15 22:39:31 2017 -0400

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