[nginx] svn commit:  r4294 - trunk/src/core
    mdounin at mdounin.ru 
    mdounin at mdounin.ru
       
    Tue Nov 15 20:35:41 UTC 2011
    
    
  
Author: mdounin
Date: 2011-11-15 20:35:41 +0000 (Tue, 15 Nov 2011)
New Revision: 4294
Log:
Fixed handling of SIGWINCH/NOACCEPT signal.
After first upgrade it was ignored since r4020 (1.1.1, 1.0.9) as
ngx_daemonized wasn't set.
Modified:
   trunk/src/core/nginx.c
Modified: trunk/src/core/nginx.c
===================================================================
--- trunk/src/core/nginx.c	2011-11-15 20:33:37 UTC (rev 4293)
+++ trunk/src/core/nginx.c	2011-11-15 20:35:41 UTC (rev 4294)
@@ -374,6 +374,10 @@
         ngx_daemonized = 1;
     }
 
+    if (ngx_inherited) {
+        ngx_daemonized = 1;
+    }
+
 #endif
 
     if (ngx_create_pidfile(&ccf->pid, cycle->log) != NGX_OK) {
    
    
More information about the nginx-devel
mailing list