Re: Keepalive not working with upstream tcp server

2014-04-02 Thread Jayadev C
I am setting u->keepalive = 1 in my module too, but let me double check that though. Meanwhile , is the keepalive done by http_upstream_keepalive_module ? Is it included by default or do I need to compile explicitly include that module.  I don't see the code going through that module in my req

Re: Keepalive not working with upstream tcp server

2014-04-02 Thread Maxim Dounin
Hello! On Wed, Apr 02, 2014 at 01:01:07AM -0700, Jayadev C wrote: > I am trying to use nginx to proxy my requests to a custom tcp > backend server that I have. I am following the same model as the > default memcached module with in the nginx code base (1.5.10) , > the relevant config file atta

Keepalive not working with upstream tcp server

2014-04-02 Thread Jayadev C
I am trying to use nginx to proxy my requests to a custom tcp backend server that I have. I am following the same model as the default memcached module with in the nginx code base (1.5.10) , the relevant config file attached.  Tried with most of the keepalive options but I still see new connec