diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2018-08-10 21:54:17 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2018-08-10 21:54:17 +0300 |
commit | f3d1a925b5e27d8d78fc6da408ccc2f75994939c (patch) | |
tree | d01b831ae5af1237a6cb9ae837c6d0394cd0f4e0 | |
parent | 1b1b632eed84197863b7cc6a00579968362a700b (diff) | |
download | nginx-f3d1a925b5e27d8d78fc6da408ccc2f75994939c.tar.gz nginx-f3d1a925b5e27d8d78fc6da408ccc2f75994939c.zip |
Upstream keepalive: comment added.
-rw-r--r-- | src/http/modules/ngx_http_upstream_keepalive_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |