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:46:23 UTC
[tomcat] branch main 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 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 fff8193 Fix test broken by response buffer fixes
fff8193 is described below
commit fff81935547a1f839f15b660db2dfd368ae96cf4
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