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 376b4ef  Fix backport of new unit test
376b4ef is described below

commit 376b4ef1963e7eb1f7b6d66ed9a175b71f0ee461
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 10 19:39:34 2020 +0000

    Fix backport of new unit test
---
 test/org/apache/coyote/http11/TestHttp11InputBuffer.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/org/apache/coyote/http11/TestHttp11InputBuffer.java 
b/test/org/apache/coyote/http11/TestHttp11InputBuffer.java
index 94b9a17..ea38be0 100644
--- a/test/org/apache/coyote/http11/TestHttp11InputBuffer.java
+++ b/test/org/apache/coyote/http11/TestHttp11InputBuffer.java
@@ -738,6 +738,7 @@ public class TestHttp11InputBuffer extends TomcatBaseTest {
         private Exception doRequest() {
 
             Tomcat tomcat = getTomcatInstance();
+            tomcat.getConnector().setProperty("rejectIllegalHeader", "true");
 
             tomcat.addContext("", TEMP_DIR);
 


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

Reply via email to