[
https://issues.apache.org/jira/browse/COUCHDB-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878562#comment-15878562
]
ASF subversion and git services commented on COUCHDB-3293:
----------------------------------------------------------
Commit cae3664d6583adf110302704fb546b4565e19b91 in couchdb-chttpd's branch
refs/heads/COUCHDB-3287-pluggable-storage-engines from ILYA Khlopotov
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-chttpd.git;h=cae3664 ]
Mock config module in tests
The tests in chttpd_db_bulk_get_test do not start config app.
The change in https://github.com/apache/couchdb-couch/pull/226
introduces call to config app.
Make sure we mock config so the tests pass.
COUCHDB-3293
> Configure maximum document ID length
> ------------------------------------
>
> Key: COUCHDB-3293
> URL: https://issues.apache.org/jira/browse/COUCHDB-3293
> Project: CouchDB
> Issue Type: New Feature
> Reporter: Nick Vatamaniuc
>
> Allow users / operators to specify maximum document ID length.
> Currently it is easy to break CouchDB by feeding it large IDs through
> _bulk_docs endpoint but which will hit the limits of http parser if sent
> through GET/PUT/DELETE methods. In case those limits are hit the error
> returned is not obvious as the requests would often crash in the mochiweb
> http parser step before a request even makes to CouchDB code.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)