You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/06/23 21:03:33 UTC

[tomcat] branch 10.0.x updated: Align with 9.0.x

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new db1e110ffc Align with 9.0.x
db1e110ffc is described below

commit db1e110ffc70ac68dfe3ad942b2160c1cdb78759
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 23 22:03:28 2022 +0100

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

diff --git a/test/org/apache/coyote/http2/TestHttp2Limits.java b/test/org/apache/coyote/http2/TestHttp2Limits.java
index bd7578c47a..7605160d67 100644
--- a/test/org/apache/coyote/http2/TestHttp2Limits.java
+++ b/test/org/apache/coyote/http2/TestHttp2Limits.java
@@ -42,7 +42,7 @@ public class TestHttp2Limits extends Http2TestBase {
 
     @Test
     public void testSettingsOverheadLimits() throws Exception {
-        http2Connect(false);
+        http2Connect();
 
         for (int i = 0; i < 100; i++) {
             try {
@@ -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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org