Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
The request is recycled immediately before the call to this method
  • Loading branch information
markt-asf committed Jan 10, 2025
1 parent a037dee commit b89bfaf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion java/org/apache/coyote/http2/Http2Protocol.java
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ Request popRequestAndResponse() {


void pushRequestAndResponse(Request requestAndResponse) {
requestAndResponse.recycle();
if (!discardRequestsAndResponses) {
recycledRequestsAndResponses.push(requestAndResponse);
}
Expand Down

0 comments on commit b89bfaf

Please sign in to comment.