httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@hyperreal.com>
Subject cvs commit: apache/src http_main.c
Date Thu, 28 Mar 1996 19:47:45 GMT
jim         96/03/28 11:47:44

  Modified:    src       http_main.c
  Log:
  Reset STATUS counters for dead servers
  
  Revision  Changes    Path
  1.13      +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.12
  retrieving revision 1.13
  diff -C3 -r1.12 -r1.13
  *** http_main.c	1996/03/28 08:02:41	1.12
  --- http_main.c	1996/03/28 19:47:42	1.13
  ***************
  *** 665,670 ****
  --- 665,674 ----
    
    #if defined(STATUS_INSTRUMENTATION)
        new_score_rec.last_used=time(NULL);
  +     if (status == SERVER_DEAD) {
  + 	new_score_rec.access_count = 0;
  + 	new_score_rec.bytes_served = 0;
  +     }
    #endif
    
    #if defined(HAVE_MMAP) || defined(HAVE_SHMGET)
  
  
  

Mime
View raw message