Accessing request body in log phase

Pranay Kanwar pranay.kanwar at
Fri Jun 28 07:55:20 UTC 2013


What is the correct way to get request body in a log phase handler module ?

The usual method of ngx_http_read_client_request_body via a handler doesn't
the r->request_body->bufs is always NULL.

The handler works fine in other phases (for example the pre access phase).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list