GitHub user nickva opened a pull request:
https://github.com/apache/couchdb-couch/pull/233
Rename max_document_size to max_http_request_size
`max_document_size` is implemented as `max_http_request_size`. There was no
real check for document size. In some cases the implementation was close
enough
of a proxy (PUT-ing and GET-ing single docs), but in some edge cases, like
_bulk_docs requests the discrepancy between request size and document size
could be rather large.
The section was changed accordingly from `couchdb` to `httpd`. `httpd` was
chosen as it applies to both clustered as well as local interface.
There is a parallel effort to implement an actual max_document_size check.
The
set of commit should be merged close enough together to allow for a
backwards
compatible transition.
COUCHDB-2992
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch
64229-add-new-request-parameter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch/pull/233.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 #233
----
commit d3055f191797f8b637e3b64f6a50e522d2c8bbde
Author: Nick Vatamaniuc <[email protected]>
Date: 2017-03-07T21:47:11Z
Rename max_document_size to max_http_request_size
`max_document_size` is implemented as `max_http_request_size`. There was no
real check for document size. In some cases the implementation was close
enough
of a proxy (PUT-ing and GET-ing single docs), but in some edge cases, like
_bulk_docs requests the discrepancy between request size and document size
could be rather large.
The section was changed accordingly from `couchdb` to `httpd`. `httpd` was
chosen as it applies to both clustered as well as local interface.
There is a parallel effort to implement an actual max_document_size check.
The
set of commit should be merged close enough together to allow for a
backwards
compatible transition.
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.
---