This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 3391639c97 Remove unnecessary code
3391639c97 is described below
commit 3391639c97a98d023f05eb8de759c3933cf9d6a4
Author: Mark Thomas <[email protected]>
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 877480a9f0..617cce9058 100644
--- a/test/org/apache/catalina/connector/TestRequest.java
+++ b/test/org/apache/catalina/connector/TestRequest.java
@@ -82,8 +82,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: [email protected]
For additional commands, e-mail: [email protected]