pier        01/05/10 08:49:57

  Modified:    connectors/apache-1.3 mod_webapp.c
  Log:
  We need to call ap_setup_client_block _before_ ap_should_client_block
  
  Revision  Changes    Path
  1.15      +5 -1      jakarta-tomcat-4.0/connectors/apache-1.3/mod_webapp.c
  
  Index: mod_webapp.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/connectors/apache-1.3/mod_webapp.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mod_webapp.c      2001/05/10 09:09:51     1.14
  +++ mod_webapp.c      2001/05/10 15:49:52     1.15
  @@ -57,7 +57,7 @@
   
   /**
    * @author  Pier Fumagalli <mailto:[EMAIL PROTECTED]>
  - * @version $Id: mod_webapp.c,v 1.14 2001/05/10 09:09:51 pier Exp $
  + * @version $Id: mod_webapp.c,v 1.15 2001/05/10 15:49:52 pier Exp $
    */
   
   #include <httpd.h>
  @@ -454,6 +454,10 @@
                   req->clen=atol(ele[x].val);
           }
       }
  +
  +    /* Check if we can read something from the request */
  +    ret=ap_setup_client_block(r,REQUEST_CHUNKED_DECHUNK);
  +    if (ret!=OK) return(ret);
   
       /* Invoke the request */
       ret=wa_rinvoke(req,appl);
  
  
  

Reply via email to