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 658a7c8c07 Remove unnecessary code
658a7c8c07 is described below
commit 658a7c8c07a9c52313a8bf75c9e53d321cb6f801
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 2bf2d801d0..e9c3b7cba0 100644
--- a/test/org/apache/catalina/connector/TestRequest.java
+++ b/test/org/apache/catalina/connector/TestRequest.java
@@ -85,8 +85,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]