From: markt Date: Mon, 5 Sep 2011 10:47:43 +0000 (+0000) Subject: Remove unnecessary code X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ab770a3a6b652d470fe448a11c678b33109fc49f;p=tomcat7.0 Remove unnecessary code Timeout is set when socket is created and further changes are handled inside the while loop git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1165234 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/coyote/http11/Http11Processor.java b/java/org/apache/coyote/http11/Http11Processor.java index cb6755aff..b1acb0c1c 100644 --- a/java/org/apache/coyote/http11/Http11Processor.java +++ b/java/org/apache/coyote/http11/Http11Processor.java @@ -152,14 +152,6 @@ public class Http11Processor extends AbstractHttp11Processor { 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()) {