This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push: new 624ecc7eb4 Remove unnecessary code 624ecc7eb4 is described below commit 624ecc7eb47d08b006f332c8cd357e555bf3139f Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Jan 10 10:38:29 2025 +0000 Remove unnecessary code The request is recycled immediately before the call to this method --- java/org/apache/coyote/http2/Http2Protocol.java | 1 - 1 file changed, 1 deletion(-) diff --git a/java/org/apache/coyote/http2/Http2Protocol.java b/java/org/apache/coyote/http2/Http2Protocol.java index f91e6ba796..c0c8f0fde9 100644 --- a/java/org/apache/coyote/http2/Http2Protocol.java +++ b/java/org/apache/coyote/http2/Http2Protocol.java @@ -431,7 +431,6 @@ public class Http2Protocol implements UpgradeProtocol { void pushRequestAndResponse(Request requestAndResponse) { - requestAndResponse.recycle(); if (!discardRequestsAndResponses) { recycledRequestsAndResponses.push(requestAndResponse); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org