This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 8d9ea69b5b6078f836c16fe2528d03814ecb0691
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Sep 14 18:48:13 2020 +0100

    Use UPGRADED to ensure timeouts are processed
---
 java/org/apache/coyote/AbstractProtocol.java | 2 +-
 webapps/docs/changelog.xml                   | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/AbstractProtocol.java 
b/java/org/apache/coyote/AbstractProtocol.java
index a47c732..d9bab30 100644
--- a/java/org/apache/coyote/AbstractProtocol.java
+++ b/java/org/apache/coyote/AbstractProtocol.java
@@ -924,7 +924,7 @@ public abstract class AbstractProtocol<S> implements 
ProtocolHandler,
                             if (httpUpgradeHandler instanceof 
InternalHttpUpgradeHandler) {
                                 if (((InternalHttpUpgradeHandler) 
httpUpgradeHandler).hasAsyncIO()) {
                                     // The handler will initiate all further 
I/O
-                                    state = SocketState.LONG;
+                                    state = SocketState.UPGRADED;
                                 }
                             }
                         }
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 5c755d5..b9e9d89 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -59,6 +59,9 @@
         Do not send an HTTP/2 PING frame to measure round-trip time when it is
         known that the HTTP/2 connection is not in a good state. (markt)
       </fix>
+      <fix>
+        Ensure HTTP/2 timeouts are processed for idle connections. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Other">


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

Reply via email to