[PATCH 1 of 5] Core: updated "set by ngx_pcalloc()" comment
    Maxim Dounin 
    mdounin at mdounin.ru
       
    Fri Oct 24 01:42:37 UTC 2025
    
    
  
# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1761147022 -10800
#      Wed Oct 22 18:30:22 2025 +0300
# Node ID 150ed2787334acba57012565d6fc81e314a2f064
# Parent  96e7c245c14d8c30389f4d2ebd4ccfac123f819f
Core: updated "set by ngx_pcalloc()" comment.
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