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

Valentin V. Bartenev vbart at nginx.com
Sat Apr 18 00:55:29 UTC 2015


On Saturday 18 April 2015 10:08:25 jb wrote:
> thanks and this is a popular answer on stack exchange but no, it does not
> work, because aborted requests have read less bytes -- $request_length
> reports how many bytes SHOULD have been read, but in the case of any
> problem, abort by client, or whatever, this is not how many bytes were
> actually read..
[..]

No, it reports how many bytes has been received by nginx.
If it's not, I guess you have some 3rd-party modules or patches.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list