Function setClientMaxMemoryBodySize

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual HttpAppFramework & setClientMaxMemoryBodySize(size_t maxSize)=0

Description

Set the maximum body size in memory of HTTP requests received by drogon.

The default value is "64K" bytes. If the body size of a HTTP request exceeds this limit, the body is stored to a temporary file for processing.

Note
This operation can be performed by an option in the configuration file.

Source

Line 1040 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in