You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2011/09/06 17:55:53 UTC
svn commit: r1165730 -
/tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java
Author: markt
Date: Tue Sep 6 15:55:53 2011
New Revision: 1165730
URL: http://svn.apache.org/viewvc?rev=1165730&view=rev
Log:
Remove unnecessary setting of timeout (will have been correctly set in setRequestLineReadTimeout())
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=1165730&r1=1165729&r2=1165730&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11Processor.java Tue Sep 6 15:55:53 2011
@@ -179,8 +179,6 @@ public class Http11Processor extends Abs
} else {
request.setStartTime(System.currentTimeMillis());
keptAlive = true;
- // Reset timeout for reading headers
- socket.getSocket().setSoTimeout(endpoint.getSoTimeout());
// Currently only NIO will ever return false here
if (!inputBuffer.parseHeaders()) {
// We've read part of the request, don't recycle it
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org