[ 
https://issues.apache.org/jira/browse/COUCHDB-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860248#comment-15860248
 ] 

ASF GitHub Bot commented on COUCHDB-3293:
-----------------------------------------

GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-chttpd/pull/155

    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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-chttpd couchdb-3293

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-chttpd/pull/155.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 #155
    
----
commit fdfca9f0af73483fd5c4150ad46be1c79cd09165
Author: ILYA Khlopotov <[email protected]>
Date:   2017-02-09T21:36:39Z

    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)

Reply via email to