Welcome! Log In Create A New Profile

Advanced

Fwd: Nginx module "data sent" handler

February 03, 2015 04:28AM
Hi.
I'm developing Nginx module where I need to handle some function when all
data have been sent to client or when client closed the connection.
For example I have
ngx_http_finalize_request(r, ngx_http_output_filter ( r , out_chain ));

Where out_chain contains over 700KB of data.
I can't find where to add function to handle event that all 700kb have been
sent to client, or client closed the connection.

As I understand all that 700kb data Nginx not sending at once it will take
some Nginx loops to be sent.

So is there any function or event to handle "data sent" event ?

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

Fwd: Nginx module "data sent" handler

tigran.bayburtsyan 737 February 03, 2015 04:28AM

Re: Nginx module "data sent" handler

Yichun Zhang (agentzh) 280 February 03, 2015 05:20PM

Re: Nginx module "data sent" handler

Yichun Zhang (agentzh) 319 February 03, 2015 05:22PM



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

Online Users

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