httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_cgid.c
Date Fri, 13 Oct 2000 03:38:36 GMT
trawick     00/10/12 20:38:36

  Modified:    src      CHANGES
               src/modules/standard mod_cgid.c
  Log:
  mod_cgid: In the handler, shut down the Unix socket (only for write)
  once we finish writing the request body to the cgi child process;
  otherwise, the client doesn't hit EOF on stdin.  Small request bodies
  worked without this change (for reasons I don't understand), but large
  ones didn't.
  
  Revision  Changes    Path
  1.271     +6 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.270
  retrieving revision 1.271
  diff -u -r1.270 -r1.271
  --- CHANGES	2000/10/12 18:01:25	1.270
  +++ CHANGES	2000/10/13 03:38:34	1.271
  @@ -1,4 +1,10 @@
   Changes with Apache 2.0a8
  +  *) mod_cgid: In the handler, shut down the Unix socket (only for write) 
  +     once we finish writing the request body to the cgi child process; 
  +     otherwise, the client doesn't hit EOF on stdin.  Small request bodies 
  +     worked without this change (for reasons I don't understand), but large 
  +     ones didn't.  [Jeff Trawick]
  +
     *) Remove file bucket specific information from the ap_bucket type.
        This has been moved to a file_bucket specific type that hangs off
        the data pointer in the ap_bucket type.
  
  
  
  1.46      +1 -0      apache-2.0/src/modules/standard/mod_cgid.c
  
  Index: mod_cgid.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_cgid.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- mod_cgid.c	2000/10/12 04:12:52	1.45
  +++ mod_cgid.c	2000/10/13 03:38:35	1.46
  @@ -960,6 +960,7 @@
                   break; 
               } 
           } 
  +        shutdown(sd, 1); /* done writing; force EOF on child's stdin */
       } 
   
       /* Handle script return... */ 
  
  
  

Mime
View raw message