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 ba57105edb Remove unnecessary code
ba57105edb is described below

commit ba57105edb6c9dfc23427b4b6d7e27ab3dee372d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Aug 16 10:45:59 2023 +0100

    Remove unnecessary code
---
 test/org/apache/catalina/connector/TestRequest.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/test/org/apache/catalina/connector/TestRequest.java 
b/test/org/apache/catalina/connector/TestRequest.java
index d3c4c72168..4c166d3201 100644
--- a/test/org/apache/catalina/connector/TestRequest.java
+++ b/test/org/apache/catalina/connector/TestRequest.java
@@ -86,8 +86,6 @@ public class TestRequest extends TomcatBaseTest {
         client.doRequest(1, false); // 1 byte - too small should fail
         Assert.assertTrue(client.isResponse413());
 
-        client.reset();
-
         // Edge cases around actual content length
         client.reset();
         client.doRequest(6, false); // Too small should fail


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to