From: Jean-Frederic Clere Date: Thu, 8 Apr 2021 12:35:44 +0000 (+0000) Subject: max_attempts_set needs to be set too. X-Git-Tag: 2.5.0-alpha2-ci-test-only~970 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e2ed5bb859577184b9dfba1e07ee3a55671532f;p=thirdparty%2Fapache%2Fhttpd.git max_attempts_set needs to be set too. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1888518 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c index fd361bcca6d..5217682af8a 100644 --- a/modules/proxy/mod_proxy_balancer.c +++ b/modules/proxy/mod_proxy_balancer.c @@ -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"))) {