httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/mpm/perchild mpm_default.h perchild.c
Date Sun, 06 Aug 2000 21:17:35 GMT
rbb         00/08/06 14:17:34

  Modified:    src/modules/mpm/perchild mpm_default.h perchild.c
  Log:
  Remove some values that aren't needed anymore.  These were used at one time
  while writing this MPM, but they are obsolete now.
  
  Revision  Changes    Path
  1.5       +0 -13     apache-2.0/src/modules/mpm/perchild/mpm_default.h
  
  Index: mpm_default.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/perchild/mpm_default.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- mpm_default.h	2000/08/04 00:21:06	1.4
  +++ mpm_default.h	2000/08/06 21:17:32	1.5
  @@ -141,17 +141,4 @@
   #define DEFAULT_MAX_REQUESTS_PER_CHILD 10000
   #endif
   
  -/* Backlog for the Unix Domain sockets used to pass requests between
  - * children.
  - */
  -#ifndef DEFAULT_PERCHILD_LISTENBACKLOG
  -#define DEFAULT_PERCHILD_LISTENBACKLOG 100
  -#endif
  -
  -/* Default name for the unix domain sockets
  - */
  -#ifndef DEFAULT_PERCHILD_SOCKET
  -#define DEFAULT_PERCHILD_SOCKET "logs/perchild_socket"
  -#endif
  -
   #endif /* AP_MPM_DEFAULT_H */
  
  
  
  1.18      +0 -6      apache-2.0/src/modules/mpm/perchild/perchild.c
  
  Index: perchild.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/perchild/perchild.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- perchild.c	2000/08/06 06:07:41	1.17
  +++ perchild.c	2000/08/06 21:17:33	1.18
  @@ -111,7 +111,6 @@
   API_VAR_EXPORT const char *ap_scoreboard_fname=NULL;
   static int num_daemons=0;
   static int curr_child_num=0;
  -static int socket_num=0;
   static int workers_may_exit = 0;
   static int requests_this_child;
   static int num_listenfds = 0;
  @@ -132,7 +131,6 @@
   } perchild_server_conf;
   
   typedef struct child_info_t child_info_t;
  -typedef struct socket_info_t socket_info_t;
   
   /* Tables used to determine the user and group each child process should
    * run as.  The hash table is used to correlate a server name with a child
  @@ -1333,7 +1331,6 @@
       max_requests_per_child = DEFAULT_MAX_REQUESTS_PER_CHILD;
       ap_perchild_set_maintain_connection_status(1);
       curr_child_num = 0;
  -    socket_num = 0;
   
       apr_cpystrn(ap_coredump_dir, ap_server_root, sizeof(ap_coredump_dir));
   
  @@ -1687,7 +1684,6 @@
           ug->uid = atoi(u);
           ug->gid = atoi(g); 
       }
  -    socket_num++;
       return NULL;
   }
   
  @@ -1759,8 +1755,6 @@
       perchild_server_conf *c =
       (perchild_server_conf *) apr_pcalloc(p, sizeof(perchild_server_conf));
   
  -    c->sockname = ap_server_root_relative(p, DEFAULT_PERCHILD_SOCKET);
  -    c->fullsockname = NULL;
       c->sd = -1;
       return c;
   }
  
  
  

Mime
View raw message