logging variables -- $bytes_sent .. where is $bytes_read ?

Valentin V. Bartenev vbart at nginx.com
Fri Apr 17 23:47:47 UTC 2015


On Saturday 18 April 2015 08:23:37 jb wrote:
> Is there a variable for bytes read ?
> 
> $content_length is what should be read, but if the request is terminated
> early, it is wrong.
> $request_length is not right either, it is logging 459 bytes on a 9mb
> upload.
> 

$request_length should work.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list