Allow limiting maximum document body size

Configuration is via the `couchdb.max_document_size`. In the past that
was implemented as a maximum http request body size and this finally implements
it by actually checking a document's body size.

COUCHDB-2992
3 files changed
tree: 9647b6f9e116cac204ea88e9cdb79c1d1d664711
  1. .gitignore
  2. .travis.yml
  3. LICENSE
  4. include/
  5. priv/
  6. rebar.config.script
  7. src/
  8. test/