[edit] client_body_in_single_buffer

Syntax: client_body_in_single_buffer on | off
Default: off
Context: http
server
location
Reference: client_body_in_single_buffer


The directive(0.7.58+) specifies whether to keep the whole body in a single client request buffer. The directive is recommended when using the variable $request_body to reduce the operations of copying.

Note that when the request body cannot be hold in a single buffer (see client_body_buffer_size), the body will still touch the disk.


Module: HttpCoreModule