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 2021/06/16 10:47:14 UTC
[tomcat] branch 8.5.x updated: Fix test broken by response buffer
fixes
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 4d08ac6 Fix test broken by response buffer fixes
4d08ac6 is described below
commit 4d08ac6b5f490223adc4ea37930116852cc9fadd
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 16 11:45:42 2021 +0100
Fix test broken by response buffer fixes
The 8192 byte response body fills the response buffer but does not (now)
trigger a commit so Tomcat is able to set the content-length header in
post-processing.
---
test/org/apache/coyote/http2/TestHttp2Section_6_9.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/org/apache/coyote/http2/TestHttp2Section_6_9.java b/test/org/apache/coyote/http2/TestHttp2Section_6_9.java
index dd77220..6fecb93 100644
--- a/test/org/apache/coyote/http2/TestHttp2Section_6_9.java
+++ b/test/org/apache/coyote/http2/TestHttp2Section_6_9.java
@@ -193,6 +193,7 @@ public class TestHttp2Section_6_9 extends Http2TestBase {
Assert.assertEquals(
"3-HeadersStart\n" +
"3-Header-[:status]-[200]\n" +
+ "3-Header-[content-length]-[8192]\n" +
"3-Header-[date]-["+ DEFAULT_DATE + "]\n" +
"3-HeadersEnd\n" +
"3-Body-4096\n", output.getTrace());
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org