[nginx] Upstream keepalive: comment added.

Maxim Dounin mdounin at mdounin.ru
Fri Aug 10 20:02:47 UTC 2018


details:   http://hg.nginx.org/nginx/rev/46174066b75f
branches:  
changeset: 7338:46174066b75f
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Fri Aug 10 21:54:17 2018 +0300
description:
Upstream keepalive: comment added.

diffstat:

 src/http/modules/ngx_http_upstream_keepalive_module.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

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


More information about the nginx-devel mailing list