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 528f0e1f8b Remove unnecessary code
528f0e1f8b is described below
commit 528f0e1f8b43c11c649bc703cf79eefeba831641
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 935e6e192a..10108cf9f0 100644
--- a/java/org/apache/coyote/http2/Http2Protocol.java
+++ b/java/org/apache/coyote/http2/Http2Protocol.java
@@ -544,7 +544,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]