Bug 61620

Summary: ProxyPass ping option does not work with HTTPS remote server
Product: Apache httpd-2 Reporter: Ben RUBSON <ben.rubson>
Component: mod_proxyAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal CC: cbarbara
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Ben RUBSON 2017-10-15 16:08:12 UTC
Hello,

I found that ProxyPass ping option does not work with HTTPS remote servers.

Test case to reproduce the issue :

Apache remote server, with prefork MPM :
StartServers      1
MinSpareServers   1
MaxSpareServers   1
MaxRequestWorkers 1

Frontend server :
ProxyPass "/" "https://<remote_server>/" ping=2

Open a first connection to the server which takes time to proceed.
Open a second connection, it should return after 2 seconds, however it does not and stalls up to timeout (ProxyTimeout).

Move the remote server to HTTP (and ProxyPass to http://), the above test will then succeed.

Any reason why it behaves like this ?

Many thanks !

Ben
Comment 1 Ben RUBSON 2018-01-16 10:14:36 UTC
Hi,

Any clue ?

Thank you again !

Ben