Upstream Keepalive connection close
mdounin at mdounin.ru
Wed Feb 25 14:40:21 UTC 2015
On Mon, Feb 23, 2015 at 07:27:25AM -0500, Gona wrote:
> Hi Maxim,
> If possible I would like to use a keep-alive connection timeout less than
> that of the backend servers to avoid premature connection close by backend
> server. As mentioned before, I am trying to avoid other options like
> rerouting using proxy_next_upstream or retrying by downstream client.
> Is there a way to set a timeout on keep-alive connections to backend
> servers? Or even force close or invalidate the connection cache from code?
As of now, there is no such option. If the problem you are trying
to solve is practical, it would be mostly trivial to add one.
More information about the nginx