in the module, how to get the http message body, and what does ngx_http_discard_request_body() do, thanks!

agentzh agentzh at
Fri Apr 30 06:22:28 MSD 2010

On Thu, Apr 29, 2010 at 7:56 PM, jyf832004 <jyf832004 at> wrote:
> Hi,
>   I am new to nginx,I want to write a module to process the http message
> body,how should i get it.

See the ngx_http_read_client_request_body function in the nginx core.

> And what does function
> ngx_http_discard_request_body() do,does it
>   just drop the http message body.



More information about the nginx-devel mailing list