Welcome! Log In Create A New Profile

Advanced

Re: proxy_next_upstream, only "connect" timeout?, try 2

Gábor Farkas
June 15, 2012 04:08AM
On Fri, Jun 15, 2012 at 10:02 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:
> Hello!
>
> On Fri, Jun 15, 2012 at 09:36:39AM +0200, Gábor Farkas wrote:
>
>> regarding my original email:
>> http://article.gmane.org/gmane.comp.web.nginx.english/34175
>>
>> i assume the silence means there is no such way.
>>
>> would it be hard to implement it? i can try it, but i'd need to know
>> if it's at least possible or not,
>> if there are the necessary 'hooks' in place and such...
>
> We probably need something more generic, i.e. some distinction
> between idempotent and non-idempotent cases in
> proxy_next_upstream.  This should allow to retry GET/HEAD at any
> point, while keeping POSTs safe.

i agree, but i would still prefer to be able to specify the
on-connect-timeout-only too,
there are some cases where i do not want to repeat even a GET request,
and generally it is a safer bet for me to not-repeat anything that
already 'reached'
the upstream.

you see, my specific problem is that i have multiple upstreams, and i want nginx
to go to the next upstream when an upstream's socket-backlog is full.
and currently
i am unable to do this...

gabor

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_next_upstream, only "connect" timeout?, try 2

Gábor Farkas June 15, 2012 03:38AM

Re: proxy_next_upstream, only "connect" timeout?, try 2

Maxim Dounin June 15, 2012 04:04AM

Re: proxy_next_upstream, only "connect" timeout?, try 2

Gábor Farkas June 15, 2012 04:08AM

Re: proxy_next_upstream, only "connect" timeout?, try 2

Maxim Dounin June 15, 2012 06:30AM

Re: proxy_next_upstream, only "connect" timeout?, try 2

mauro76 November 26, 2012 07:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready