Keepalive disable vs enable Issues

2019-09-05 Thread rambabuy
Hi, To avoid some Issues I need to create new connections for POST (upload file) requests. But, If I disable keepalive under upstream I am getting the following error " 99: Cannot assign requested address) while connecting to upstream, " Is there a possibility to use idle connections for GET requ

new connection for POST request and keepalive idle connection for GET

2019-08-12 Thread rambabuy
Hi I am facing some issue with POST requests. I am adding some delay to POST request , after completing processing , it trying to use idle connection where its idle timeout is near to zero. then upstream close/reset connection . causing nginx 502 error. How can I use idle connections to GET reque

Re: upstream prematurely closed connection while reading response header from upstream

2019-07-22 Thread rambabuy
Hi, Any solution to this Issue? I am facing similar issue. Thanks Ram Posted at Nginx Forum: https://forum.nginx.org/read.php?2,254031,284944#msg-284944 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

NGX_AGAIN Handling in upload module

2018-05-16 Thread rambabuy
HI I am facing an issue with NGX_AGAIN. ngx upload module is returning NGX_AGAIN while uploading a file. when nginx calls again upload module but upload module returns NGX_OK if requestbody exist if( r->requestbody) return NGX_OK and its continue in a loop. any solution to this? if (!c->read-

Re: NGX_AGAIN Handling in upload module

2018-05-16 Thread rambabuy
HI I am facing an issue with NGX_AGAIN. ngx upload module is returning NGX_AGAIN while uploading a file. when nginx calls again upload module but upload module return NGX_OK if requestbody exist. if( r->requestbody) return NGX_OK and its continue in a loop. any solution to this? if (!c->

NGX_AGAIN Handling in upload module

2018-05-16 Thread rambabuy
HI I am facing an issue with NGX_AGAIN. ngx upload module is returning NGX_AGAIN while uploading a file. when nginx calls again upload module but upload module return NGX_OK id requestbody exist if( r->requestbody) return NGX_OK and its continue in a loop. any solution to this? Thanks Ram Posted