Bug 62089

Summary: failover not working with forward proxies
Product: Apache httpd-2 Reporter: Armin Abfalterer <a.abfalterer>
Component: mod_proxy_httpAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.29   
Target Milestone: ---   
Hardware: All   
OS: Linux   

Description Armin Abfalterer 2018-02-09 12:58:21 UTC
When using multiple forward proxies (set by ProxyRemote) failover does not work as expected. The problem seems to be in mod_proxy_http.c when the scheme_handler tries to connect the next hop (forward proxy)


As "((apr_sockaddr_t*)((proxy_conn_rec*) backend))->addr->next" is not set ap_proxy_connect_backend() returns immediately after the first connection error