brian       96/11/17 13:09:39

  Modified:    src       http_main.c
  Log:
  Submitted by: Rob Hartill <[EMAIL PROTECTED]>
  
  Added warnings in the code related to use of USR1.  Should be added to
  any release documentation as well.
  
  Revision  Changes    Path
  1.88      +4 -0      apache/src/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_main.c,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -C3 -r1.87 -r1.88
  *** http_main.c       1996/11/12 05:22:05     1.87
  --- http_main.c       1996/11/17 21:09:37     1.88
  ***************
  *** 1206,1211 ****
  --- 1206,1213 ----
        signal(SIGTERM,(void (*)())sig_term);
        signal(SIGHUP,(void (*)())restart);
        signal(SIGUSR1,(void (*)())graceful_restart);
  +     /* USE WITH EXTREME CAUTION. Graceful restarts are known to break */
  +     /*  problems will be dealt with in a future release */
    #else
        memset(&sa,0,sizeof sa);
        sa.sa_handler=(void (*)())sig_term;
  ***************
  *** 1783,1788 ****
  --- 1785,1792 ----
        
        if(is_graceful)
        {
  +     /* USE WITH EXTREME CAUTION. Graceful restarts are known to break */
  +     /*  problems will be dealt with in a future release */
        log_error("SIGUSR1 received.  Doing graceful restart",server_conf);
        kill_cleanups_for_fd(pconf,sd);
        }
  
  
  

Reply via email to