Welcome! Log In Create A New Profile

Advanced

Re: ngx_output_http_filter problem

Joshua Zhu
July 23, 2009 11:23PM
Hi,

$bytes_sent:
r->connection->sent

$body_bytes_sent:
r->connection->sent - r->header_size


On Fri, Jul 24, 2009 at 11:08 AM, supergui<nginx-forum@nginx.us> wrote:
> i just call ngx_output_http_filter to write my stream to the client, but i need to know exactly when and how much bytes is written to the client, and i need to record the moment, is there any method?
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4415,4415#msg-4415
>
>

Regards!

--
Joshua Zhu
Subject Author Posted

ngx_output_http_filter problem

supergui July 23, 2009 11:08PM

Re: ngx_output_http_filter problem

Joshua Zhu July 23, 2009 11:23PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 240
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