Re: proxy_next_upstream_timeout behavior

2016-04-04 Thread Maxim Dounin
Hello! On Fri, Apr 01, 2016 at 08:43:56AM -0700, Frank Liu wrote: > If I set proxy_next_upstream_timeout to 50 second, will nginx break the > current upstream connection at 50 second and fail the request? No. > Or will it > wait until current one finishes (or read timeout) then decide whether i

proxy_next_upstream_timeout behavior

2016-04-01 Thread Frank Liu
Hi, If I set proxy_next_upstream_timeout to 50 second, will nginx break the current upstream connection at 50 second and fail the request? Or will it wait until current one finishes (or read timeout) then decide whether it should try next upstream and find out it is already more than 50 so fail th