aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2024-10-08 18:24:00 +0400
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2024-11-12 17:21:22 +0400
commit1ac6a18585eab226277c5d41e90b8f336153c4e0 (patch)
treef2f69f1509baebb2484e0878c1542a7cdc6223b3 /src
parenta5e152b3d9addf4ae35f40ca17ab4d62bdcbe69b (diff)
downloadnginx-1ac6a18585eab226277c5d41e90b8f336153c4e0.tar.gz
nginx-1ac6a18585eab226277c5d41e90b8f336153c4e0.zip
SCGI: added create_loc_conf comments.
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_scgi_module.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_scgi_module.c b/src/http/modules/ngx_http_scgi_module.c
index f818fc4b0..671cd2cb7 100644
--- a/src/http/modules/ngx_http_scgi_module.c
+++ b/src/http/modules/ngx_http_scgi_module.c
@@ -1283,6 +1283,21 @@ ngx_http_scgi_create_loc_conf(ngx_conf_t *cf)
return NULL;
}
+ /*
+ * set by ngx_pcalloc():
+ *
+ * conf->upstream.bufs.num = 0;
+ * conf->upstream.ignore_headers = 0;
+ * conf->upstream.next_upstream = 0;
+ * conf->upstream.cache_zone = NULL;
+ * conf->upstream.cache_use_stale = 0;
+ * conf->upstream.cache_methods = 0;
+ * conf->upstream.temp_path = NULL;
+ * conf->upstream.hide_headers_hash = { NULL, 0 };
+ * conf->upstream.store_lengths = NULL;
+ * conf->upstream.store_values = NULL;
+ */
+
conf->upstream.store = NGX_CONF_UNSET;
conf->upstream.store_access = NGX_CONF_UNSET_UINT;
conf->upstream.next_upstream_tries = NGX_CONF_UNSET_UINT;