hgomez 2003/09/25 08:33:06 Modified: src/share/org/apache/tomcat/modules/server Ajp13.java Ajp13Interceptor.java Log: Update doc and Interceptor Revision Changes Path 1.35 +4 -2 jakarta-tomcat/src/share/org/apache/tomcat/modules/server/Ajp13.java Index: Ajp13.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/Ajp13.java,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- Ajp13.java 25 Sep 2003 15:26:25 -0000 1.34 +++ Ajp13.java 25 Sep 2003 15:33:06 -0000 1.35 @@ -267,8 +267,10 @@ * @param req An empty (newly-recycled) request object. * * @return 200 in case of a successful read of a forwarded request, 500 - * if there were errors in the reading of the request, and -2 if the - * server is asking the container to shut itself down. + * if there were errors in the reading of the request, 999 if request + * is a low level request which has been processed by low layer and + * -2 if the server is asking the container to shut itself down. + * */ public int receiveNextRequest(Request req) throws IOException { 1.23 +11 -3 jakarta-tomcat/src/share/org/apache/tomcat/modules/server/Ajp13Interceptor.java Index: Ajp13Interceptor.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/Ajp13Interceptor.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- Ajp13Interceptor.java 22 Sep 2003 09:18:37 -0000 1.22 +++ Ajp13Interceptor.java 25 Sep 2003 15:33:06 -0000 1.23 @@ -336,6 +336,14 @@ } } + // special case - low level AJP13 packet, like + // PING/PONG ... + if( status == 999 ) + { + req.recycle(); + continue; + } + // special case - invalid AJP13 packet, error // decoding packet ... // we drop the connection rigth now
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]