tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1165234 - /tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
Date Mon, 05 Sep 2011 10:47:44 GMT
Author: markt
Date: Mon Sep  5 10:47:43 2011
New Revision: 1165234

URL: http://svn.apache.org/viewvc?rev=1165234&view=rev
Log:
Remove unnecessary code
Timeout is set when socket is created and further changes are handled inside the while loop

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java?rev=1165234&r1=1165233&r2=1165234&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Mon Sep  5 10:47:43 2011
@@ -152,14 +152,6 @@ public class Http11Processor extends Abs
             socketWrapper.setKeepAliveLeft(0);
         }
 
-        try {
-            socket.getSocket().setSoTimeout(soTimeout);
-        } catch (Throwable t) {
-            ExceptionUtils.handleThrowable(t);
-            log.debug(sm.getString("http11processor.socket.timeout"), t);
-            error = true;
-        }
-
         boolean keptAlive = socketWrapper.isKeptAlive();
 
         while (!error && keepAlive && !endpoint.isPaused()) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message