tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/iis jk_isapi_plugin.c
Date Wed, 01 May 2002 22:59:12 GMT
nacho       02/05/01 15:59:12

  Modified:    jk/native/iis jk_isapi_plugin.c
  Log:
  * Problems with extension return codes in IIS 6.0.
  
  It seems IIS version prior to 6.0, were buggy and not honored the HSE_STATUS_SUCCESS_KEEP_CONN
extension return values.
  
  This is why the bug not revealed before.
  
  Thanks to Lenny Karpel
  
  Revision  Changes    Path
  1.16      +8 -22     jakarta-tomcat-connectors/jk/native/iis/jk_isapi_plugin.c
  
  Index: jk_isapi_plugin.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/iis/jk_isapi_plugin.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- jk_isapi_plugin.c	9 Apr 2002 23:09:25 -0000	1.15
  +++ jk_isapi_plugin.c	1 May 2002 22:59:12 -0000	1.16
  @@ -60,7 +60,7 @@
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
    * Author:      Larry Isaacs <larryi@apache.org>                           *
    * Author:      Ignacio J. Ortega <nacho@apache.org>                       *
  - * Version:     $Revision: 1.15 $                                           *
  + * Version:     $Revision: 1.16 $                                           *
    ***************************************************************************/
   
   // This define is needed to include wincrypt,h, needed to get client certificates
  @@ -669,26 +669,12 @@
           char snuri[INTERNET_MAX_URL_LENGTH]="/";
           char Host[INTERNET_MAX_URL_LENGTH];
           char Translate[INTERNET_MAX_URL_LENGTH];
  -
  -		BOOL (WINAPI * GetHeader) (
  -			struct _HTTP_FILTER_CONTEXT * pfc,
  -			LPSTR                         lpszName,
  -			LPVOID                        lpvBuffer,
  -			LPDWORD                       lpdwSize
  -			);
  -
  -		BOOL (WINAPI * SetHeader) (
  -			struct _HTTP_FILTER_CONTEXT * pfc,
  -			LPSTR                         lpszName,
  -			LPSTR                         lpszValue
  -			);
  -
  -		BOOL (WINAPI * AddHeader) (
  -			struct _HTTP_FILTER_CONTEXT * pfc,
  -			LPSTR                         lpszName,
  -			LPSTR                         lpszValue
  -			);
  -
  +		BOOL (WINAPI * GetHeader) 
  +			(struct _HTTP_FILTER_CONTEXT * pfc, LPSTR lpszName, LPVOID lpvBuffer, LPDWORD lpdwSize
);
  +		BOOL (WINAPI * SetHeader) 
  +			(struct _HTTP_FILTER_CONTEXT * pfc, LPSTR lpszName, LPSTR lpszValue );
  +		BOOL (WINAPI * AddHeader) 
  +			(struct _HTTP_FILTER_CONTEXT * pfc, LPSTR lpszName,LPSTR lpszValue );
           char *query;
           DWORD sz = sizeof(uri);
           DWORD szHost = sizeof(Host);
  @@ -917,7 +903,7 @@
                   if (worker->get_endpoint(worker, &e, logger)) {
                       int recover = JK_FALSE;
                       if (e->service(e, &s, logger, &recover)) {
  -                        rc = HSE_STATUS_SUCCESS_AND_KEEP_CONN;
  +                        rc = HSE_STATUS_SUCCESS;
                           lpEcb->dwHttpStatusCode = HTTP_STATUS_OK;
                           jk_log(logger, JK_LOG_DEBUG, 
                                  "HttpExtensionProc service() returned OK\n");
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message