This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new b89bfaf6ed Remove unnecessary code b89bfaf6ed is described below commit b89bfaf6edb9af439ecd3814d559f9baea3c19c0 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