lua-resty-core icon indicating copy to clipboard operation
lua-resty-core copied to clipboard

Support for keepalive_timeout in upstream block

Open jils2013 opened this issue 4 years ago • 1 comments

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_timeout
This directive appeared in version 1.15.3.
Sets a timeout during which an idle keepalive connection to an upstream server will stay open.

any plan to support this directive in ngx.balancer.set_timeouts()? https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md#set_timeouts

jils2013 avatar Jul 30 '19 02:07 jils2013

yeah, it should be useful, patches welcome :)

doujiang24 avatar Aug 03 '19 03:08 doujiang24