Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Accessing request body in log phase

$
0
0
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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>