$request_length outside of log module

Richard Kearsley rkearsley at blueyonder.co.uk
Mon Jan 28 14:15:11 UTC 2013

It's not the same, $request_length is the length of what the client 
(browser) sent it's request for a file e.g. request headers, request body
I suppose I could loop through the headers and body and count their 
lengths.. but not ideal

On 28/01/13 14:05, Jonathan Matthews wrote:
> I would think you could get something equivalent and useful out of
> $upstream_http_content_length, as per
> http://wiki.nginx.org/HttpUpstreamModule#.24upstream_http_.24HEADER .

More information about the nginx mailing list