# HG changeset patch # User Maxim Dounin # Date 1533927257 -10800 # Node ID 46174066b75f4b2c0ae02b0d679ab82d098cf74c # Parent cab37803ebb3d5ced941ab759e969239cb7fd32a Upstream keepalive: comment added. diff --git a/src/http/modules/ngx_http_upstream_keepalive_module.c b/src/http/modules/ngx_http_upstream_keepalive_module.c --- a/src/http/modules/ngx_http_upstream_keepalive_module.c +++ b/src/http/modules/ngx_http_upstream_keepalive_module.c @@ -518,6 +518,8 @@ ngx_http_upstream_keepalive(ngx_conf_t * 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