Bug 61620 - ProxyPass ping option does not work with HTTPS remote server
Summary: ProxyPass ping option does not work with HTTPS remote server
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-15 16:08 UTC by Ben RUBSON
Modified: 2018-01-16 10:14 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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