[nginx] Core: updated "set by ngx_pcalloc()" comment.

Maxim Dounin mdounin at mdounin.ru
Fri Oct 31 20:43:14 UTC 2025


details:   http://freenginx.org/hg/nginx/rev/4156274da1ee
branches:  
changeset: 9429:4156274da1ee
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Fri Oct 31 08:07:51 2025 +0300
description:
Core: updated "set by ngx_pcalloc()" comment.

diffstat:

 src/core/nginx.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff --git a/src/core/nginx.c b/src/core/nginx.c
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -1114,12 +1114,16 @@ ngx_core_module_create_conf(ngx_cycle_t 
     /*
      * set by ngx_pcalloc()
      *
-     *     ccf->pid = NULL;
-     *     ccf->oldpid = NULL;
+     *     ccf->working_directory = { 0, NULL };
+     *     ccf->lock_file = { 0, NULL };
+     *     ccf->pid = { 0, NULL };
+     *     ccf->oldpid = { 0, NULL };
      *     ccf->priority = 0;
      *     ccf->cpu_affinity_auto = 0;
      *     ccf->cpu_affinity_n = 0;
      *     ccf->cpu_affinity = NULL;
+     *     ccf->environment = NULL;
+     *     ccf->transparent = 0;
      */
 
     ccf->daemon = NGX_CONF_UNSET;


More information about the nginx-devel mailing list