ngx_output_http_filter problem

Joshua Zhu zhuzhaoyuan at gmail.com
Fri Jul 24 07:23:49 MSD 2009


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 at 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





More information about the nginx mailing list