Get ngx_http_request_t as a char array

Tigran Bayburtsyan tigran.bayburtsyan at gmail.com
Fri Feb 27 10:56:46 UTC 2015


Hi.

I'm trying to make a smart logging module for Nginx and I need to get all
HTTP request from client as a string (char *).

I know that ngx_http_request_t contains all HTTP request data , but I don't
need to make a loop through all headers_in parameters or request structure
parameters.

I want to get all request with body as a char * array, like Nginx is
receiving from tcp socket.

 

How can I do that ?

Thanks.



---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20150227/8f378e34/attachment-0001.html>


More information about the nginx-devel mailing list