hgomez 2002/06/05 01:33:13 Modified: jk/java/org/apache/ajp RequestHandler.java Log: PR: When SSL KEY SIZE was set, we incorrectly return 200 and didn't set SSL attribute, we should just continue to handle others FLAGS Submitted by: Brian Bek Jensen Revision Changes Path 1.14 +3 -2 jakarta-tomcat-connectors/jk/java/org/apache/ajp/RequestHandler.java Index: RequestHandler.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/ajp/RequestHandler.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- RequestHandler.java 29 May 2002 21:51:22 -0000 1.13 +++ RequestHandler.java 5 Jun 2002 08:33:13 -0000 1.14 @@ -123,7 +123,7 @@ public static final byte SC_A_SSL_CERT = 7; public static final byte SC_A_SSL_CIPHER = 8; public static final byte SC_A_SSL_SESSION = 9; - public static final byte SC_A_SSL_KEY_SIZE = 11; // AJP14 new header? + public static final byte SC_A_SSL_KEY_SIZE = 11; // ajp14 originally, now in ajp13 with jk 1.2/2.0 public static final byte SC_A_SECRET = 12; // Used for attributes which are not in the list above @@ -397,9 +397,10 @@ break; case SC_A_SSL_KEY_SIZE: // Ajp13 ! + isSSL = true; req.setAttribute("javax.servlet.request.key_size", Integer.toString(msg.getInt())); - return 200; + break; default: // Ignore. Assume a single-string value - we shouldn't // allow anything else.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>