This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new f41142c484 Remove unnecessary code
f41142c484 is described below
commit f41142c4849e9f2a0d4f93ffd67a5ed811ba294a
Author: Mark Thomas <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]