]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
max_attempts_set needs to be set too.
authorJean-Frederic Clere <jfclere@apache.org>
Thu, 8 Apr 2021 12:35:44 +0000 (12:35 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Thu, 8 Apr 2021 12:35:44 +0000 (12:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1888518 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_balancer.c

index fd361bcca6d3c2d43aeb93e4c2890195efc3b839..5217682af8a352955a3634bedd8393526adc890d 100644 (file)
@@ -1255,6 +1255,7 @@ static int balancer_process_balancer_worker(request_rec *r, proxy_server_conf *c
             ival = atoi(val);
             if (ival >= 0 && ival <= 99) {
                 bsel->s->max_attempts = ival;
+                bsel->s->max_attempts_set = 1;
             }
         }
         if ((val = apr_table_get(params, "b_sforce"))) {