Accessing request body in log phase

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


Hi,

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
work,
the r->request_body->bufs is always NULL.

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

-pk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130628/f4cb40d6/attachment.html>


More information about the nginx-devel mailing list