iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-012
A-34
Description
Description
The MaxRequestBody directive specifies the maximum size of a message the iTP
Secure WebServer can build from a series of transmissions using chunked transfer
encoding.
Chunked transfer encoding is a feature of HTTP/1.1 that allows a client to send a
message to the server as a series of chunks, each with its own size indicator. The
server must assemble all the chunks and add the required Content-Length header
before passing the message to a CGI application. This feature is useful in cases where
the client produces the data dynamically or is for some other reason, for instance
encryption, unable to predict the total message length.
The integer-value determines the size of the buffer that the iTP Secure WebServer
allocates for assembling the chunks of a received message. The value is a number of
kilobytes and must be in the range of 32 to 1024.
If the iTP Secure WebServer receives a chunked message and is unable to allocate a
buffer, the server logs an error (413 Request Entity Too Large), rejects the chunked
request, and closes the connection. In general, failure to allocate a buffer is due to
fluctuations in available memory, but if this error occurs repeatedly, try a smaller value
for this directive.
If the iTP Secure WebServer can allocate a buffer of the correct size but receives a
chunk that causes the message to exceed the size of the buffer, the server rejects the
request (413 Request Entity Too Large) and discards the message.
A chunked message can include trailers after the message body. The maximum size
applies only to the message body, not to any trailers the message contains.
Default
MaxRequestBody 128
Example
MaxRequestBody 256
Message
Syntax
Message message-id text
Description
You set the Message directive to the text (text) to be associated with a specific
message (message-id). This directive allows you to customize the server messages