Get ngx_http_request_t as a char array

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


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

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


How can I do that ?


This email has been checked for viruses by Avast antivirus software.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list