Welcome! Log In Create A New Profile

Advanced

Accessing request body in log phase

Pranay Kanwar
June 28, 2013 03:56AM
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
Subject Author Views Posted

Accessing request body in log phase

Pranay Kanwar 996 June 28, 2013 03:56AM

Re: Accessing request body in log phase

Maxim Dounin 680 June 28, 2013 04:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 110
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready