New directive: proxy_next_tries N

Short description: Will attempt only N upstreams and then fail with last
error

I didn’t commit this to any trunk/branch,
This is my first patch so I’m not sure how it goes.
I submitted a gist of it to:
https://gist.github.com/shai-d/5446961

Hope you will find it useful.
Shai Duvdevani.

Posted at Nginx Forum:

Hello!

On Tue, Apr 23, 2013 at 04:20:06PM -0400, duv wrote:

Short description: Will attempt only N upstreams and then fail with last
error

I didn’t commit this to any trunk/branch,
This is my first patch so I’m not sure how it goes.
I submitted a gist of it to:
https://gist.github.com/shai-d/5446961

Hope you will find it useful.
Shai Duvdevani.

Replied with a review to a patch you’ve sent in a personal mail.
Please use nginx-devel@ mailing list for further patch submits.


Maxim D.
http://nginx.org/en/donation.html