Author: markt
Date: Mon Feb 23 13:45:46 2015
New Revision: 1661670

URL: http://svn.apache.org/r1661670
Log: (empty)

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeProcessor.java

Modified: 
tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeProcessor.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeProcessor.java?rev=1661670&r1=1661669&r2=1661670&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeProcessor.java 
(original)
+++ tomcat/trunk/java/org/apache/coyote/http11/upgrade/UpgradeProcessor.java 
Mon Feb 23 13:45:46 2015
@@ -55,12 +55,10 @@ public class UpgradeProcessor implements
 
         wrapper.unRead(leftOverInput);
         /*
-         * Infinite read timeouts make sense since it is unknown how quickly -
-         * or even if at all - a client will send data. However, leave the 
write
-         * timeout alone since when the server writes to the client that should
-         * always happen within the configured timeout.
+         * Leave timeouts in the hands of the upgraded protocol.
          */
         wrapper.setReadTimeout(INFINITE_TIMEOUT);
+        wrapper.setWriteTimeout(INFINITE_TIMEOUT);
 
         if (httpUpgradeHandler instanceof InternalHttpUpgradeHandler) {
             wrapper.setInternalUpgrade(true);



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

Reply via email to