> Install a cleanup handler on a connection or request pool. Take > a look at limit_conn module to see an example: > > http://hg.nginx.org/nginx/file/3a48775f1535/src/http/modules/ngx_http_ > limit_conn_module.c#l258 Thanks ! It's easy to implement. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249728,249734#msg-249734