httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/threaded threaded.c
Date Tue, 03 Apr 2001 18:50:13 GMT
trawick     01/04/03 11:50:12

  Modified:    server/mpm/threaded threaded.c
  Log:
  when handling a graceful restart, kill the child using the correct handle
  to the pipe of death; otherwise the syscall fails
  
  Revision  Changes    Path
  1.19      +1 -1      httpd-2.0/server/mpm/threaded/threaded.c
  
  Index: threaded.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/threaded/threaded.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- threaded.c	2001/04/03 03:19:58	1.18
  +++ threaded.c	2001/04/03 18:50:07	1.19
  @@ -1113,7 +1113,7 @@
   
   	/* give the children the signal to die */
           for (i = 0; i < ap_daemons_limit;) {
  -            if ((rv = apr_file_write(pipe_of_death_in, &char_of_death, &one)) !=
APR_SUCCESS) {
  +            if ((rv = apr_file_write(pipe_of_death_out, &char_of_death, &one))
!= APR_SUCCESS) {
                   if (APR_STATUS_IS_EINTR(rv)) continue;
                   ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf, "write pipe_of_death");
               }
  
  
  

Mime
View raw message