httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server mpm_common.c
Date Fri, 08 Jun 2001 16:53:12 GMT
trawick     01/06/08 09:53:12

  Modified:    server   mpm_common.c
  Log:
  the input handle to the pod (used by child processes) needs to be non-blocking
  
  before this, no requests could be processed by prefork since after connect
  from the client prefork would block reading the pod
  
  the write handle to the pod probably doesn't have to be non-blocking, but
  getting EAGAIN for the pipe-full condition, rather than blocking, is nice
  for now since it would tend to indicate that something is FUBAR; on the other
  hand, this probably needs to change in order to support more than 4K workers
  
  Revision  Changes    Path
  1.52      +1 -0      httpd-2.0/server/mpm_common.c
  
  Index: mpm_common.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm_common.c,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- mpm_common.c	2001/06/08 04:55:44	1.51
  +++ mpm_common.c	2001/06/08 16:53:10	1.52
  @@ -347,6 +347,7 @@
   
       *pod = apr_palloc(p, sizeof(**pod));
       rv = apr_file_pipe_create(&((*pod)->pod_in), &((*pod)->pod_out), p);
  +    apr_file_pipe_timeout_set((*pod)->pod_in, 0);
       apr_file_pipe_timeout_set((*pod)->pod_out, 0);
       (*pod)->p = p;
       return rv;
  
  
  

Mime
View raw message