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 mpm_common.c
Date Fri, 08 Jun 2001 04:55:46 GMT
rbb         01/06/07 21:55:45

  Modified:    server   mpm_common.c
  Log:
  It helps to write to the input side of the pipe, and read from the output
  side.
  
  Revision  Changes    Path
  1.51      +2 -2      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.50
  retrieving revision 1.51
  diff -u -d -b -w -u -r1.50 -r1.51
  --- mpm_common.c	2001/06/07 17:22:12	1.50
  +++ mpm_common.c	2001/06/08 04:55:44	1.51
  @@ -358,7 +358,7 @@
       apr_size_t len = 1;
       apr_status_t rv;
   
  -    rv = apr_file_read(pod->pod_in, &c, &len);
  +    rv = apr_file_read(pod->pod_out, &c, &len);
   
       if ((rv == APR_SUCCESS) && (len == 1)) {
           return APR_SUCCESS;
  @@ -394,7 +394,7 @@
       apr_size_t one = 1;
   
       do {
  -        rv = apr_file_write(pod->pod_out, &char_of_death, &one);
  +        rv = apr_file_write(pod->pod_in, &char_of_death, &one);
       } while (APR_STATUS_IS_EINTR(rv));
       if (rv != APR_SUCCESS) {
           ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf,
  
  
  

Mime
View raw message