From: Maxim Dounin Date: Fri, 10 Aug 2018 18:54:17 +0000 (+0300) Subject: Upstream keepalive: comment added. X-Git-Tag: release-1.15.3~5 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=f3d1a925b5e27d8d78fc6da408ccc2f75994939c;p=nginx.git 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 index 90a226d91..ef21ea287 100644 --- 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 *cf, ngx_command_t *cmd, void *conf) 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