<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hi.</div><div>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.</div><div>For example I have</div><div>ngx_http_finalize_request(r, ngx_http_output_filter ( r , out_chain ));</div><div><br></div><div>Where out_chain contains over 700KB of data.</div><div>I can't find where to add function to handle event that all 700kb have been sent to client, or client closed the connection.</div><div><br></div><div>As I understand all that 700kb data Nginx not sending at once it will take some Nginx loops to be sent.</div><div><br></div><div>So is there any function or event to handle "data sent" event ?</div><div><br></div><div>Thanks.</div></div>
</div><br></div>