Author: markt Date: Fri Aug 30 23:25:27 2013 New Revision: 1519116 URL: http://svn.apache.org/r1519116 Log: Use the new method to set socket timeouts
Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java Modified: tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java?rev=1519116&r1=1519115&r2=1519116&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java (original) +++ tomcat/trunk/java/org/apache/coyote/ajp/AjpProcessor.java Fri Aug 30 23:25:27 2013 @@ -118,7 +118,7 @@ public class AjpProcessor extends Abstra } // Set back timeout if keep alive timeout is enabled if (keepAliveTimeout > 0) { - socket.getSocket().setSoTimeout(soTimeout); + setTimeout(socketWrapper, soTimeout); } // Check message type, process right away and break if // not regular request processing @@ -221,7 +221,7 @@ public class AjpProcessor extends Abstra rp.setStage(org.apache.coyote.Constants.STAGE_KEEPALIVE); // Set keep alive timeout if enabled if (keepAliveTimeout > 0) { - socket.getSocket().setSoTimeout(keepAliveTimeout); + setTimeout(socketWrapper, keepAliveTimeout); } recycle(false); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org