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 009f44e31e Align with 9.0.x
009f44e31e is described below

commit 009f44e31ea34fc0061b7198abfae107524f19f2
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Jun 23 22:03:13 2022 +0100

    Align with 9.0.x
---
 test/org/apache/coyote/http2/TestHttp2Limits.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/org/apache/coyote/http2/TestHttp2Limits.java 
b/test/org/apache/coyote/http2/TestHttp2Limits.java
index 3f76c29833..19bf0948e8 100644
--- a/test/org/apache/coyote/http2/TestHttp2Limits.java
+++ b/test/org/apache/coyote/http2/TestHttp2Limits.java
@@ -229,11 +229,11 @@ public class TestHttp2Limits extends Http2TestBase {
         }
 
         enableHttp2();
-        configureAndStartWebApplication();
 
         http2Protocol.setMaxHeaderCount(maxHeaderCount);
         ((AbstractHttp11Protocol<?>) 
http2Protocol.getHttp11Protocol()).setMaxHttpHeaderSize(maxHeaderSize);
 
+        configureAndStartWebApplication();
         openClientConnection();
         doHttpUpgrade();
         sendClientPreface();
@@ -471,7 +471,6 @@ public class TestHttp2Limits extends Http2TestBase {
     private void doTestPostWithTrailerHeaders(int maxTrailerCount, int 
maxTrailerSize,
             FailureMode failMode) throws Exception {
         enableHttp2();
-        configureAndStartWebApplication();
 
         ((AbstractHttp11Protocol<?>) 
http2Protocol.getHttp11Protocol()).setAllowedTrailerHeaders(TRAILER_HEADER_NAME);
         http2Protocol.setMaxTrailerCount(maxTrailerCount);
@@ -479,6 +478,7 @@ public class TestHttp2Limits extends Http2TestBase {
         // Disable overhead protection for window update as it breaks some 
tests
         http2Protocol.setOverheadWindowUpdateThreshold(0);
 
+        configureAndStartWebApplication();
         openClientConnection();
         doHttpUpgrade();
         sendClientPreface();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to