httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@hyperreal.org
Subject cvs commit: apache-2.0/src/modules/mpm/winnt winnt.c
Date Wed, 13 Oct 1999 18:16:52 GMT
manoj       99/10/13 11:16:52

  Modified:    src/modules/mpm/mpmt_beos scoreboard.c
               src/modules/mpm/mpmt_pthread scoreboard.c
               src/modules/mpm/prefork prefork.c
               src/modules/mpm/spmt_os2 spmt_os2.c
               src/modules/mpm/winnt winnt.c
  Log:
  My connection status patch broke all the MPMs that didn't have
  connection status support yet. For now, throw in stub functions so that
  the server compiles.
  
  Revision  Changes    Path
  1.2       +14 -0     apache-2.0/src/modules/mpm/mpmt_beos/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt_beos/scoreboard.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -d -u -r1.1 -r1.2
  --- scoreboard.c	1999/10/08 19:02:36	1.1
  +++ scoreboard.c	1999/10/13 18:16:40	1.2
  @@ -180,3 +180,17 @@
       }
       put_scoreboard_info(child_num, thread_num, ss);
   }
  +
  +/* Stub functions until this MPM supports the connection status API */
  +
  +API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
  +                                             const char *value)
  +{
  +    /* NOP */
  +}
  +
  +API_EXPORT(void) ap_reset_connection_status(long conn_id)
  +{
  +    /* NOP */
  +}
  +
  
  
  
  1.7       +14 -0     apache-2.0/src/modules/mpm/mpmt_pthread/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt_pthread/scoreboard.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -d -u -r1.6 -r1.7
  --- scoreboard.c	1999/10/06 23:04:13	1.6
  +++ scoreboard.c	1999/10/13 18:16:42	1.7
  @@ -661,3 +661,17 @@
       }
       put_scoreboard_info(child_num, thread_num, ss);
   }
  +
  +/* Stub functions until this MPM supports the connection status API */
  +
  +API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
  +                                             const char *value)
  +{
  +    /* NOP */
  +}
  +
  +API_EXPORT(void) ap_reset_connection_status(long conn_id)
  +{
  +    /* NOP */
  +}
  +
  
  
  
  1.43      +12 -0     apache-2.0/src/modules/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/prefork/prefork.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -d -u -r1.42 -r1.43
  --- prefork.c	1999/10/11 22:39:44	1.42
  +++ prefork.c	1999/10/13 18:16:45	1.43
  @@ -2968,6 +2968,18 @@
       free(mtx);
   }
   
  +/* Stub functions until this MPM supports the connection status API */
  +
  +API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
  +                                             const char *value)
  +{
  +    /* NOP */
  +}
  +
  +API_EXPORT(void) ap_reset_connection_status(long conn_id)
  +{
  +    /* NOP */
  +}
   
   static const command_rec prefork_cmds[] = {
   UNIX_DAEMON_COMMANDS
  
  
  
  1.14      +12 -0     apache-2.0/src/modules/mpm/spmt_os2/spmt_os2.c
  
  Index: spmt_os2.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/spmt_os2/spmt_os2.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -d -u -r1.13 -r1.14
  --- spmt_os2.c	1999/10/11 22:39:45	1.13
  +++ spmt_os2.c	1999/10/13 18:16:48	1.14
  @@ -1771,6 +1771,18 @@
       free(mtx);
   }
   
  +/* Stub functions until this MPM supports the connection status API */
  +
  +API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
  +                                             const char *value)
  +{
  +    /* NOP */
  +}
  +
  +API_EXPORT(void) ap_reset_connection_status(long conn_id)
  +{
  +    /* NOP */
  +}
   
   static const command_rec spmt_os2_cmds[] = {
   LISTEN_COMMANDS
  
  
  
  1.22      +13 -0     apache-2.0/src/modules/mpm/winnt/winnt.c
  
  Index: winnt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/winnt/winnt.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -d -u -r1.21 -r1.22
  --- winnt.c	1999/10/12 06:14:46	1.21
  +++ winnt.c	1999/10/13 18:16:50	1.22
  @@ -1731,6 +1731,19 @@
       return NULL;
   }
   
  +/* Stub functions until this MPM supports the connection status API */
  +
  +API_EXPORT(void) ap_update_connection_status(long conn_id, const char *key, \
  +                                             const char *value)
  +{
  +    /* NOP */
  +}
  +
  +API_EXPORT(void) ap_reset_connection_status(long conn_id)
  +{
  +    /* NOP */
  +}
  +
   static const command_rec winnt_cmds[] = {
   LISTEN_COMMANDS
   { "PidFile", set_pidfile, NULL, RSRC_CONF, TAKE1,
  
  
  

Mime
View raw message