summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2022-09-26 14:29:47 +0200
committerStefan Eissing <icing@apache.org>2022-09-26 14:29:47 +0200
commit8476af1eb6c7618e561fbb790dddde885ac56b5e (patch)
treea819c3431375c7666ac43da04adb3881ed5a42e3 /test
parent *) mod_http2: removing bucket splitting into an extra recv brigade. (diff)
downloadapache2-8476af1eb6c7618e561fbb790dddde885ac56b5e.tar.xz
apache2-8476af1eb6c7618e561fbb790dddde885ac56b5e.zip
*) mod_http2: new directive "H2HeaderStrictness" to control the compliance
level of header checks as defined in the HTTP/2 RFCs. Default is 7540. 9113 activates the checks for forbidden leading/trailing whitespace in field values (available from nghttp2 v1.50.0 on). - source sync with github version - fix for keepalive idle wait in mpm_worker setup - ensuring EOS when secondary connection has been handled - fixed race in late input EOS arrival when stream was already scheduled for execution. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904269 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/modules/http2/test_105_timeout.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/modules/http2/test_105_timeout.py b/test/modules/http2/test_105_timeout.py
index e107a78fca..dfa5f2dbc7 100644
--- a/test/modules/http2/test_105_timeout.py
+++ b/test/modules/http2/test_105_timeout.py
@@ -113,17 +113,17 @@ class TestTimeout:
def test_h2_105_11(self, env):
# short connection timeout, longer stream delay
- # receiving the first response chunk, then timeout
+ # connection timeout must not abort ongoing streams
conf = H2Conf(env)
conf.add_vhost_cgi()
conf.add("Timeout 1")
conf.install()
assert env.apache_restart() == 0
- url = env.mkurl("https", "cgi", "/h2test/delay?5")
+ url = env.mkurl("https", "cgi", "/h2test/delay?1200ms")
piper = CurlPiper(env=env, url=url)
piper.start()
stdout, stderr = piper.close()
- assert len("".join(stdout)) == 8192
+ assert len("".join(stdout)) == 3 * 8192
def test_h2_105_12(self, env):
# long connection timeout, short stream timeout