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
The following commit(s) were added to refs/heads/9.0.x by this push: new 31c472b8c0 Simplify 31c472b8c0 is described below commit 31c472b8c06b99aee3e2a4ad1203ecef44c6e5eb Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Jun 3 08:55:55 2024 +0100 Simplify --- java/org/apache/coyote/http2/Stream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/coyote/http2/Stream.java b/java/org/apache/coyote/http2/Stream.java index 9d13db7c72..1a74f3b84c 100644 --- a/java/org/apache/coyote/http2/Stream.java +++ b/java/org/apache/coyote/http2/Stream.java @@ -1291,7 +1291,7 @@ class Stream extends AbstractNonZeroStream implements HeaderEmitter { readInterest = true; long readTimeout = handler.getProtocol().getStreamReadTimeout(); if (readTimeout > 0) { - readTimeoutExpiry = System.currentTimeMillis() + handler.getProtocol().getStreamReadTimeout(); + readTimeoutExpiry = System.currentTimeMillis() + readTimeout; } else { readTimeoutExpiry = Long.MAX_VALUE; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org