Re: Nginx thread pool is not working in 1.14 in custom module

2018-05-23 Thread isolomka
Thanks a lot, fix seems to be working fine. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279917,279927#msg-279927 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx thread pool is not working in 1.14 in custom module

2018-05-23 Thread Maxim Dounin
Hello! On Wed, May 23, 2018 at 09:08:08AM -0400, isolomka wrote: > Thanks for the response. > The main issue is that now request is closed before actual task is done in > thread pool. > How can I avoid that? > It worked fine before the upgrade. > What is correct thread pool usage in custom modul

Re: Nginx thread pool is not working in 1.14 in custom module

2018-05-23 Thread isolomka
Thanks for the response. The main issue is that now request is closed before actual task is done in thread pool. How can I avoid that? It worked fine before the upgrade. What is correct thread pool usage in custom module in 1.14? Here is my request handler for reference: static ngx_int_t ngx_http

Re: Nginx thread pool is not working in 1.14 in custom module

2018-05-23 Thread Maxim Dounin
Hello! On Wed, May 23, 2018 at 05:33:51AM -0400, isolomka wrote: > Hi, > I have custom nginx module which uses thread pool to serve blocking > synchronous calls to our library. > It worked fine with nginx version 1.12.1. > > Now we've tried to upgrade nginx to latest 1.14 version and it seems th

Nginx thread pool is not working in 1.14 in custom module

2018-05-23 Thread isolomka
Hi, I have custom nginx module which uses thread pool to serve blocking synchronous calls to our library. It worked fine with nginx version 1.12.1. Now we've tried to upgrade nginx to latest 1.14 version and it seems thread pool is not working with that version. After some debugging we've found t