Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
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.