httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mccre...@apache.org
Subject cvs commit: apache-1.3/src/os/tpf os.c
Date Sat, 09 Mar 2002 06:25:02 GMT
mccreedy    02/03/08 22:25:02

  Modified:    src/main http_main.c
               src/os/tpf os.c
  Log:
  Add TPF Operating System-specific code for Network Services Database msg counts.
  
  Revision  Changes    Path
  1.577     +11 -0     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.576
  retrieving revision 1.577
  diff -u -r1.576 -r1.577
  --- http_main.c	26 Feb 2002 15:04:53 -0000	1.576
  +++ http_main.c	9 Mar 2002 06:25:01 -0000	1.577
  @@ -4571,6 +4571,17 @@
   	    if(ap_extended_status)
   		increment_counts(my_child_num, r);
   
  +#ifdef TPF_HAVE_NSD
  +            /* Update the TPF Network Services Database message counters */
  +            tpf_tcpip_message_cnt(NSDB_INPUT_CNT,
  +                ((struct sockaddr_in *)&sa_server)->sin_port,
  +                NSDB_TCP_S, 1);
  +
  +            tpf_tcpip_message_cnt(NSDB_OUTPUT_CNT,
  +                ((struct sockaddr_in *)&sa_server)->sin_port,
  +                NSDB_TCP_S, 1);
  +#endif /* TPF_HAVE_NSD */
  +
   	    if (!current_conn->keepalive || current_conn->aborted)
   		break;
   
  
  
  
  1.15      +4 -0      apache-1.3/src/os/tpf/os.c
  
  Index: os.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/tpf/os.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- os.c	15 Jan 2002 17:27:32 -0000	1.14
  +++ os.c	9 Mar 2002 06:25:02 -0000	1.15
  @@ -791,5 +791,9 @@
   #ifdef TPF_NO_SAWNC
       printf(" -D TPF_NO_SAWNC\n"); 
   #endif
  + 
  +#ifdef TPF_HAVE_NSD
  +    printf(" -D TPF_HAVE_NSD\n");
  +#endif
   
   }
  
  
  

Mime
View raw message