httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/server listen.c
Date Tue, 03 Apr 2001 15:06:14 GMT
rbb         01/04/03 08:06:14

  Modified:    server   listen.c
  Log:
  Add the code to actually enable accept filters in 2.0
  
  Revision  Changes    Path
  1.52      +7 -1      httpd-2.0/server/listen.c
  
  Index: listen.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/listen.c,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -d -b -w -u -r1.51 -r1.52
  --- listen.c	2001/03/12 17:28:59	1.51
  +++ listen.c	2001/04/03 15:06:13	1.52
  @@ -157,11 +157,17 @@
   	return stat;
       }
   
  +#ifdef APR_HAS_SO_ACCEPTFILTER
  +#ifndef ACCEPT_FILTER_NAME
  +#define ACCEPT_FILTER_NAME "dataready"
  +#endif
  +    apr_socket_accept_filter(s, ACCEPT_FILTER_NAME, "");
  +#endif
  +
       server->sd = s;
       server->active = 1;
       return APR_SUCCESS;
   }
  -
   
   static apr_status_t close_listeners_on_exec(void *v)
   {
  
  
  

Mime
View raw message