# HG changeset patch # User Maxim Dounin # Date 1533927257 -10800 # Node ID 46174066b75f4b2c0ae02b0d679ab82d098cf74c # Parent cab37803ebb3d5ced941ab759e969239cb7fd32a Upstream keepalive: comment added. diff -r cab37803ebb3 -r 46174066b75f src/http/modules/ngx_http_upstream_keepalive_module.c --- a/src/http/modules/ngx_http_upstream_keepalive_module.c Fri Aug 10 20:49:06 2018 +0300 +++ b/src/http/modules/ngx_http_upstream_keepalive_module.c Fri Aug 10 21:54:17 2018 +0300 @@ -518,6 +518,8 @@ kcf->max_cached = n; + /* init upstream handler */ + uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module); kcf->original_init_upstream = uscf->peer.init_upstream