GitHub user nickva opened a pull request:
https://github.com/apache/couchdb-chttpd/pull/157
Allow limiting maximum document body size
This is the HTTP layer and some tests. The actual checking is done in couch
application's from_json_obj/1 function.
If a document is too large it will return a 413 response code. The error
reason
will be the document ID. The intent is to help users identify the document
if
they used _bulk_docs endpoint. It will also help replicator skip over
documents
which are too large.
COUCHDB-2992
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-chttpd couchdb-2992
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-chttpd/pull/157.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #157
----
commit 95ecd629f77444dd5fa2820fbc18cccaba350f6d
Author: Nick Vatamaniuc <[email protected]>
Date: 2017-03-13T06:22:19Z
Allow limiting maximum document body size
This is the HTTP layer and some tests. The actual checking is done in couch
application's from_json_obj/1 function.
If a document is too large it will return a 413 response code. The error
reason
will be the document ID. The intent is to help users identify the document
if
they used _bulk_docs endpoint. It will also help replicator skip over
documents
which are too large.
COUCHDB-2992
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---