Re: Simple timeout module

2015-05-21 Thread donatasm
Thanks, it worked as I added ngx_del_timer call in ngx_pool_cleanup_t handler of a request Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259019,259034#msg-259034 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinf

Re: Simple timeout module

2015-05-20 Thread Valentin V. Bartenev
On Wednesday 20 May 2015 13:03:19 donatasm wrote: > I'm trying to build a simple timeout module using nginx timers. At the > beginning of a request I'm firing up a timer and after time interval elapses > I want to check if request has already completed, and if not, finalize i

Re: Simple timeout module

2015-05-20 Thread Maxim Dounin
Hello! On Wed, May 20, 2015 at 01:03:19PM -0400, donatasm wrote: > I'm trying to build a simple timeout module using nginx timers. At the > beginning of a request I'm firing up a timer and after time interval elapses > I want to check if request has already completed, and

Simple timeout module

2015-05-20 Thread donatasm
I'm trying to build a simple timeout module using nginx timers. At the beginning of a request I'm firing up a timer and after time interval elapses I want to check if request has already completed, and if not, finalize it, for example it with NGX_HTTP_REQUEST_TIME_OUT. I have create