larryi      01/09/22 14:08:16

  Modified:    src/native/mod_jk/iis jk_isapi_plugin.c
  Log:
  Fix bug where the header name isn't set if a request has "content-length: 0"
  
  Revision  Changes    Path
  1.8       +2 -1      jakarta-tomcat/src/native/mod_jk/iis/jk_isapi_plugin.c
  
  Index: jk_isapi_plugin.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/mod_jk/iis/jk_isapi_plugin.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jk_isapi_plugin.c 2001/09/21 02:58:16     1.7
  +++ jk_isapi_plugin.c 2001/09/22 21:08:16     1.8
  @@ -57,7 +57,7 @@
    * Description: ISAPI plugin for IIS/PWS                                   *
    * Author:      Gal Shachor <[EMAIL PROTECTED]>                           *
    * Author:      Ignacio J. Ortega <[EMAIL PROTECTED]>                       *
  - * Version:     $Revision: 1.7 $                                           *
  + * Version:     $Revision: 1.8 $                                           *
    ***************************************************************************/
   
   // This define is needed to include wincrypt,h, needed to get client certificates
  @@ -1011,6 +1011,7 @@
                   } else if(need_content_length_header &&
                      !strnicmp(tmp, CONTENT_LENGTH, strlen(CONTENT_LENGTH))) {
                       need_content_length_header = FALSE;
  +                    s->headers_names[i]  = tmp;
                   } else {
                       s->headers_names[i]  = tmp;
                   }
  
  
  

Reply via email to