httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Mon, 11 Jun 2001 20:35:30 GMT
gregames    01/06/11 13:35:30

  Modified:    src/main http_main.c
  Log:
  fix shutdown hang on Solaris with lots of piped TransferLogs and at
  least one piped ErrorLog
  
  Submitted by:   Justin Erenkrantz
  Reviewed by:    Greg Ames
  
  Revision  Changes    Path
  1.540     +1 -1      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.539
  retrieving revision 1.540
  diff -u -d -b -u -r1.539 -r1.540
  --- http_main.c	2001/06/08 16:53:15	1.539
  +++ http_main.c	2001/06/11 20:35:28	1.540
  @@ -2509,7 +2509,7 @@
   	    waitret = waitpid(ocr->pid, &status, WNOHANG);
   	    if (waitret == ocr->pid) {
   		ocr->pid = -1;
  -		(*ocr->maintenance) (OC_REASON_DEATH, ocr->data, (ap_wait_t)status);
  +		(*ocr->maintenance) (OC_REASON_RESTART, ocr->data, (ap_wait_t)status);
   	    }
   	    else if (waitret == 0) {
   		(*ocr->maintenance) (OC_REASON_RESTART, ocr->data, (ap_wait_t)-1);
  
  
  

Mime
View raw message