proxy_next_upstream, only "connect" timeout?, try 2

Maxim Dounin mdounin at mdounin.ru
Fri Jun 15 08:02:50 UTC 2012


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.

Maxim Dounin



More information about the nginx mailing list