Bug 59373 - Configure default workers
Summary: Configure default workers
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.4-HEAD
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
: 59319 (view as bug list)
Depends on:
Reported: 2016-04-25 09:17 UTC by Ben RUBSON
Modified: 2016-04-25 09:26 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Ben RUBSON 2016-04-25 09:17:26 UTC

This feature request follows this discussion :

Could we think about adding a way to configure the default workers (forward, reverse) and to configure defaults for all workers please ?

What made me to ask this is that connectiontimeout is not enforced in the following configuration (explained in the previous discussion) :
ProxyPass "/api/" "https://${proxytouse}/api/" interpolate connectiontimeout=5

Thank you very much !

Comment 1 Ben RUBSON 2016-04-25 09:18:55 UTC
*** Bug 59319 has been marked as a duplicate of this bug. ***
Comment 2 Ben RUBSON 2016-04-25 09:26:57 UTC
This should easily work for parameters such as connectiontimeout.

However, for things such as connection pooling, would it work without having to individually declare each target worker ?

For example, with such a rule :
ProxyPass "/api/" "https://${proxytouse}/api/" interpolate
Would Apache be "smart" enough to start a worker and its connection pool for every new proxy it deals with, and if the worker has not been literally declared in the configuration, to apply the default configuration (which could have connection pooling enable by default, or at least contain connection pooling settings) ?

Thank you !