You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/04/30 22:57:49 UTC

[GitHub] garethbowen opened a new issue #1304: Make default `httpd.max_http_request_size` consistent

garethbowen opened a new issue #1304: Make default `httpd.max_http_request_size` consistent
URL: https://github.com/apache/couchdb/issues/1304
 
 
   The `httpd.max_http_request_size` [defaults to 64MB](https://github.com/apache/couchdb/blob/master/rel/overlay/etc/default.ini#L147). However if the value is unset it defaults to 4GB [1](https://github.com/apache/couchdb/blob/master/src/couch/src/couch_httpd_external.erl#L66), [2](https://github.com/apache/couchdb/blob/master/src/chttpd/src/chttpd.erl#L632), [3](https://github.com/apache/couchdb/blob/master/src/couch/src/couch_httpd.erl#L454), [4](https://github.com/apache/couchdb/blob/master/src/chttpd/src/chttpd_external.erl#L96), [5](https://github.com/apache/couchdb/blob/master/src/couch/src/couch_httpd_external.erl#L66). Also I interpreted [the documentation](http://docs.couchdb.org/en/2.1.1/config/http.html#httpd/max_http_request_size) to say it defaults to 4GB (though the default isn't explicitly stated).
   
   ## Expected Behavior
   Users get surprised by the _actual_ default value.
   
   ## Current Behavior
   Users expectations are met.
   
   ## Possible Solution
   Either:
   1. the default.ini should be updated to 4GB (or commented out) to be consistent with the fallback values and documentation, or
   2. the fallback values and documentation should be updated to 64MB to be consistent with the default.ini value
   
   ## Your Environment
   * Version used: 2.11
   * Link to your project: https://github.com/medic/medic-webapp/issues/3257#issuecomment-385306461
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services