billbarker 02/03/11 21:58:26 Modified: coyote/src/java/org/apache/coyote/tomcat3 CoyoteInterceptor.java Log: Make certain that the Adapter is recycled. This primarily affects the case when using SSL. Revision Changes Path 1.2 +2 -0 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor.java Index: CoyoteInterceptor.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CoyoteInterceptor.java 10 Mar 2002 06:14:37 -0000 1.1 +++ CoyoteInterceptor.java 12 Mar 2002 05:58:26 -0000 1.2 @@ -185,6 +185,7 @@ OutputStream out = socket.getOutputStream(); adaptor.setSocket(socket); processor.process(in, out); + // If unread input arrives after the shutdownInput() call // below and before or during the socket.close(), an error // may be reported to the client. To help troubleshoot this @@ -219,6 +220,7 @@ e.printStackTrace(); log( "Error reading request, ignored", e, Log.ERROR); } finally { + if(adaptor != null) adaptor.recycle(); // recycle kernel sockets ASAP try { if (socket != null) socket.close (); } catch (IOException e) { /* ignore */ }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>