glenn 2003/01/06 17:27:11 Modified: jk/native/apache-1.3 mod_jk.c jk/native/apache-2.0 mod_jk.c Log: Fix bug reported with form based authentication Revision Changes Path 1.35 +2 -2 jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c Index: mod_jk.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- mod_jk.c 2 Jan 2003 12:58:57 -0000 1.34 +++ mod_jk.c 7 Jan 2003 01:27:11 -0000 1.35 @@ -1611,7 +1611,7 @@ if(rc) { /* If tomcat returned no body and the status is not OK, let apache handle the error code */ - if( !r->sent_bodyct && r->status != HTTP_OK ) { + if( !r->sent_bodyct && r->status >= HTTP_BAD_REQUEST ) { return r->status; } return OK; /* NOT r->status, even if it has changed. */ 1.65 +2 -2 jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c Index: mod_jk.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- mod_jk.c 2 Jan 2003 12:58:57 -0000 1.64 +++ mod_jk.c 7 Jan 2003 01:27:11 -0000 1.65 @@ -1836,7 +1836,7 @@ if(rc) { /* If tomcat returned no body and the status is not OK, let apache handle the error code */ - if( !r->sent_bodyct && r->status != HTTP_OK ) { + if( !r->sent_bodyct && r->status >= HTTP_BAD_REQUEST ) { return r->status; } return OK; /* NOT r->status, even if it has changed. */
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>