aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_cycle.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2016-10-18 16:33:38 +0300
committerVladimir Homutov <vl@nginx.com>2016-10-18 16:33:38 +0300
commit33f940534e89c599998ed9e516af565e6372e700 (patch)
tree4cd712fa06a2b0d8fe2743fc554f78f53257233c /src/core/ngx_cycle.h
parent841737915c97ae07f626c8199c24679151bebfcd (diff)
downloadnginx-33f940534e89c599998ed9e516af565e6372e700.tar.gz
nginx-33f940534e89c599998ed9e516af565e6372e700.zip
Core: show file contents only once while dumping configuration.
Files are considered the same if the path used by nginx during parsing matches.
Diffstat (limited to 'src/core/ngx_cycle.h')
-rw-r--r--src/core/ngx_cycle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h
index c51b7ff3b..5cdacf14c 100644
--- a/src/core/ngx_cycle.h
+++ b/src/core/ngx_cycle.h
@@ -56,7 +56,11 @@ struct ngx_cycle_s {
ngx_array_t listening;
ngx_array_t paths;
+
ngx_array_t config_dump;
+ ngx_rbtree_t config_dump_rbtree;
+ ngx_rbtree_node_t config_dump_sentinel;
+
ngx_list_t open_files;
ngx_list_t shared_memory;