The following application properties enforce maximum limits on the size of processed message.
x::http::server::headers::limit
Maximum number of headers in a request (default is 1024 headers).
x::http::server::headers::maxsize
Maximum total size of the headers in a request (default is one megabyte).
x::http::form::maxsize
Maximum size of a form submitted via an HTTP
POST
and processed by
getform().
The default is ten megabytes, which is the total encoded size
of the form; which will be slightly larger than the raw data
encoded in the form.
The size of file uploads does not count toward this limit. The write functor for uploaded files is responsible for enforcing its own size limits. However, the rest of the form that includes file uploads is subject to this limit.
<form enctype="multipart/form-data">
s
that submit file uploads usually have a larger encoding overhead
then non-uploading regular froms.