]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* mod_http2: hopeful (as always) fix for the stalling in 400_20.
authorStefan Eissing <icing@apache.org>
Thu, 14 Oct 2021 15:26:59 +0000 (15:26 +0000)
committerStefan Eissing <icing@apache.org>
Thu, 14 Oct 2021 15:26:59 +0000 (15:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894252 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_stream.c
test/modules/http2/test_400_push.py

index ef9e88fffc9cfc90de4467d43b3640508b4afdd6..b29a7d57afdce92b875c48e011ecacab1d437c0a 100644 (file)
@@ -999,6 +999,7 @@ static apr_status_t buffer_output_process_headers(h2_stream *stream)
             && !h2_config_sgeti(stream->session->s, H2_CONF_EARLY_HINTS)) {
             /* suppress sending this to the client, it might have triggered
              * pushes and served its purpose nevertheless */
+            rv = APR_SUCCESS;
             goto cleanup;
         }
         if (h2_headers_are_final_response(headers)) {
index df3062953af438e5fd132dc1288109020592721a..d3c21c4f958f5061d2755a23e323ec07d58ab899 100644 (file)
@@ -140,7 +140,6 @@ class TestStore:
         assert 0 == len(promises)
 
     # 2 H2PushResource config trigger on GET, but not on POST
-    @pytest.mark.skip(reason="FIXME: this fails on travis")
     def test_h2_400_20(self, env, repeat):
         url = env.mkurl("https", "push", "/006-push20.html")
         r = env.nghttp().get(url)