Welcome! Log In Create A New Profile

Advanced

Re: Can not use $bytes_sent in module (complex values)

Maxim Dounin
October 03, 2012 11:30AM
Hello!

On Thu, Sep 27, 2012 at 05:30:10PM +0200, Benjamin Grössing wrote:

[...]

> I have also had a look at the changeset 4686, adding the $status
> variable. Thats exactly what I had in mind! Since $body_bytes_sent
> already exists (it actually just subtracts the header length from the
> total length!), adding $bytes_sent is actually quite easy (or did I
> miss something?).
>
> I have attached a patch (based on nginx 1.3.6) that adds $bytes_sent
> to ngx_http_variables. It works great for me - I'd be happy to see it
> in a future nginx release.

Patch committed, thanks.

[...]

--
Maxim Dounin
http://nginx.com/support.html

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Can not use $bytes_sent in module (complex values)

Benjamin Grössing 1149 September 18, 2012 09:58AM

Re: Can not use $bytes_sent in module (complex values)

Vladimir Shebordaev 484 September 18, 2012 11:58AM

Re: Can not use $bytes_sent in module (complex values)

Maxim Dounin 455 September 18, 2012 08:08PM

Re: Can not use $bytes_sent in module (complex values)

Benjamin Grössing 421 September 19, 2012 05:14PM

Re: Can not use $bytes_sent in module (complex values)

Maxim Dounin 457 September 20, 2012 04:06AM

Re: Can not use $bytes_sent in module (complex values)

Vladimir Shebordaev 529 September 19, 2012 07:44PM

Re: Can not use $bytes_sent in module (complex values)

Maxim Dounin 486 September 20, 2012 03:54AM

Re: Can not use $bytes_sent in module (complex values)

Vladimir Shebordaev 444 September 21, 2012 04:18AM

Re: Can not use $bytes_sent in module (complex values) Attachments

Benjamin Grössing 511 September 27, 2012 11:32AM

Re: Can not use $bytes_sent in module (complex values)

Vladimir Shebordaev 476 September 30, 2012 12:20AM

Re: Can not use $bytes_sent in module (complex values)

Maxim Dounin 529 October 03, 2012 11:30AM



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

Online Users

Guests: 161
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready