]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1859213 from trunk:
authorRuediger Pluem <rpluem@apache.org>
Mon, 24 Aug 2020 15:39:56 +0000 (15:39 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 24 Aug 2020 15:39:56 +0000 (15:39 +0000)
* Only do one retry to be more in line with the other modules.

Note: mod_proxy_http2 is still experimental and thus CTR even for backports.

Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1881147 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/mod_proxy_http2.c

index 03c77edf8ad230700c126974c0b54d1c5fb1b80b..893aa8fd316773e51099a27f9a38fc7b24e9aad2 100644 (file)
@@ -425,7 +425,7 @@ run_connect:
             ctx->p_conn = NULL;
         }
         ++reconnects;
-        if (reconnects < 5) {
+        if (reconnects < 2) {
             goto run_connect;
         } 
         ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, ctx->owner, APLOGNO(10023)