4d3eb8fbdc3f2e06f95faba14fa9741f9a7208ce 1673977 |
|
16-Apr-2015 |
trawick |
slight improvement to wording |
f7dd2aaa55f30439e6c8512e84f18eb5c9ba2684 1672564 |
|
10-Apr-2015 |
rjung |
More followon to r1671397 for proxy server-status
in auto mode:
- remove remaining HTML markup |
b37601f1ea5db01521378c0a08939a44000a54b1 1672466 |
|
09-Apr-2015 |
rjung |
Followon to r1671397 for proxy server-status
in auto mode:
- don't show HTML legend
- Show correct worker name |
d2fcf1d01ba9f36b78eb7b66fa5af8237b79ac70 1671397 |
|
05-Apr-2015 |
rjung |
Add output for "?auto" version of server-status
to proxy status, mod_ssl session cache info,
mod_cache_socache and the status hook of the
individual socache implementations. |
8b1e99bce759689078370bcfb2d9f98c668baba2 1667707 |
|
19-Mar-2015 |
jkaluza |
* mod_proxy: Allow setting options to globally defined balancer from
ProxyPass used in VirtualHost. Balancers are now merged using the new
merge_balancers method which merges the balancers options. |
7a1dee936d2bd3e4e70dd8a6e0090f8582ee2a8b 1657897 |
|
06-Feb-2015 |
ylavic |
mod_proxy(es): Avoid error response/document handling by the core if some
input filter already did it while reading client's payload.
When an input filter returns AP_FILTER_ERROR, it has already called ap_die()
or at least already responded to the client.
Here we don't want to lose AP_FILTER_ERROR when returning from proxy handlers,
so we use ap_map_http_request_error() to forward any AP_FILTER_ERROR to
ap_die() which knows whether a response needs to be completed or not.
Before this commit, returning an HTTP error code in this case caused a double
response to be generated.
Depends on r1657881 to preserve r->status (for logging) when nothing is to be
done by ap_die() when handling AP_FILTER_ERROR. |
caad2986f81ab263f7af41467dd622dc9add17f3 1650028 |
|
07-Jan-2015 |
ylavic |
mod_proxy: Don't put non balancer-member workers in error state by
default for connection or 500/503 errors, and honor status=+I for
any error. PR 48388. |
8ef23ef065afb74b96b94ad7d58212bce634e7ce 1647334 |
|
22-Dec-2014 |
covener |
Change the return value to const, so the const non-matching input can just be
returned. |
44b664206cee887b8b69862def5dd1832afc97dd 1647009 |
|
20-Dec-2014 |
covener |
Allow SetHandler+UDS+fcgi to take advantage of dedicated workers including
opting in to connection reuse and other proxy options (max=, etc).
adds 'enablereuse' proxyoption and a minor MMN bump to share
proxy_desocketfy outside of mod_proxy.c, which is required to
match workers to URLs. |
fd6b36f31f155a2a1de18c1ad403fc983b20532c 1609688 |
|
11-Jul-2014 |
jkaluza |
mod_proxy: better check for worker->s->is_name_matchable |
8598609b666f19b7948b3f1ef24fe9ddc504ce72 1609680 |
|
11-Jul-2014 |
jkaluza |
mod_proxy: add ap_proxy_define_match_worker() and use it for ProxyPassMatch
and ProxyMatch section to distinguish between normal workers and workers
with regex substitutions in the name. Implement handling of such workers
in ap_proxy_get_worker(). PR 43513 |
13fd8ef492c6bf438c0d29aaf42d5d596405e23c 1608999 |
|
09-Jul-2014 |
jailletc36 |
s/apr_pstrndup/apr_pstrmemdup/ to save a few cycles |
ea8e3350cface61eda0d549bfba28755e09fc322 1602697 |
|
15-Jun-2014 |
jim |
revert 1602523, until there is understanding
about what the actual issue and "requirement" are. |
b31b927418ad68f34377604d65e0d960ad4a5fe3 1602523 |
|
13-Jun-2014 |
jim |
Allow for "magic" scheme "auto" which makes the scheme of
the backend worker match whatever the scheme of the
incoming request was...
For example:
ProxyPass / auto://foo.example.com/
If the incoming request is http:.../lala then
the resultant will be http://foo.example.com/lala
If it's wws:.../lolo then we'd send
wws://foo.example.com/lolo |
0823a3f8e3ca10d08d036739d1c0c67aaf31255d 1597352 |
|
24-May-2014 |
rpluem |
* Give ap_proxy_post_request as chance to act correctly on the status code
by setting r->status temporarily to access_status. r->status might be
different than access_status e.g. r->status could be HTTP_OK if e.g. we
override the error page on the proxy or if the error was not generated
by the backend itself but by the proxy e.g. a bad gateway. |
a792dc2db8e08bd65be6ac844a1fdb001a456b1a 1588544 |
|
18-Apr-2014 |
jim |
strncmp(r->filename, "proxy:", 6) is faster than a
note. Plus, allows for checking even if not due to
rewrite. |
5f066f496cd9f20a2a701255bc67d44e7cb46dae 1586719 |
|
11-Apr-2014 |
trawick |
mod_proxy_http: Add detach_backend hook.
The immediate use is for a SSL-related module which works
on the backend proxy connection to be able to "leak" information
into the client r for logging.
This could be useful with other proxy scheme handlers. |
3f4de7a5b5425a595380c867e08ac8bc8f97cec3 1573626 |
|
03-Mar-2014 |
jim |
Allow reverse-proxy to be set via explicit handler |
e1f43cac62f6960a6945e1fb6e3288ef7082ac53 1564437 |
|
04-Feb-2014 |
rpluem |
* Do not parse URL in case of regular expression as they likely do not follow
the URL syntax.
PR: 56074 |
4ff6259a3db2f4e365f3681df5145dc46d071e6f 1560367 |
|
22-Jan-2014 |
jim |
make mod_rewrite and mod_proxy UDS work together... |
c9606e488d7576c86010e607a7b2d8fd1526930e 1556937 |
|
09-Jan-2014 |
jailletc36 |
Oops (fix r1556912) |
5e61924579cd46039f24cad3071e22fc9d07bac7 1556912 |
|
09-Jan-2014 |
jailletc36 |
Add missing break. |
eab364dc817e6d2f9179d0ecbd269d02df6f383c 1555266 |
|
03-Jan-2014 |
minfrin |
Add a "MATCH_" prefix to variables set within
LocationMatch/DirectoryMatch/FilesMatch. |
f596c8b1c00a251b54cff654fda122cfe815d536 1554994 |
|
03-Jan-2014 |
covener |
c89 fix |
a370a774825bc89fc6b0d8e45035a590e39b0bd6 1554300 |
|
30-Dec-2013 |
minfrin |
core: Support named groups and backreferences within the LocationMatch,
DirectoryMatch, FilesMatch and ProxyMatch directives. |
b14cb517c0eb99b7c2bb8c3d40cc2bc85c277903 1552227 |
|
19-Dec-2013 |
jailletc36 |
Remove <Proxy ~ wildcard-url> syntax which:
- is equivalent to <ProxyMatch wildcard-url>
- has never been documented
- incorrectly checks parameters (!cmd->path should be !cmd->path[0])
- is buggy (! is missing in front of strncasecmp) |
38161f83959979bc9916ece8ab84410ca72a9230 1540052 |
|
08-Nov-2013 |
jim |
UDS urls need to be desockified when configuring... |
d44a0e0ff00d4ae73375aae8ac80a4873ceacf6e 1533065 |
|
17-Oct-2013 |
jim |
Eclipse code analysis warning |
3a3a90e05e4cab7e0507557f197c60f4532fe6d5 1532746 |
|
16-Oct-2013 |
jim |
No more magic numbers. |
9acdc6e89570bd3d79206c6d2ca2b5ccf85b20c7 1531962 |
|
14-Oct-2013 |
jim |
Ensure that userland format of UDS is the same as how it is
configured, no matter how we store and use it internally. |
5772afb03a895afcebaf30a107c44022fc9b5224 1531370 |
|
11-Oct-2013 |
jim |
syntax sugar... if the worker is associated w/ a UDS,
then make sure the log reporting has a visual clue. |
647a99e0e82160a0dc53368c898e3d4744145f17 1531340 |
|
11-Oct-2013 |
jim |
Reformat the UDS support inline with a new naming structure.
Use a flag for speed for testing. |
56c721887b9c93721a7fe3afc45c89a94e3f07c1 1516930 |
|
23-Aug-2013 |
jim |
Allow for a simple socket check in addition to the
higher level protocol-level checks for backends...
Not sure if it makes sense to do both or not... Comments? |
8441484e251cc256d4cef5ff4ba88c37aaa3dde6 1484343 |
|
19-May-2013 |
jim |
Add in logno's |
c3ffef98b00967c14c55056152a9411314b6f4bb 1483190 |
|
16-May-2013 |
jim |
add in child_init which is needed |
afbccb5d9eef1a37d07bff56872d3da17c41a275 1483188 |
|
16-May-2013 |
jim |
revert... we are good |
3fe8723c0123edad6b0c98d68b0ebc20bd6db7be 1483176 |
|
16-May-2013 |
jim |
force subpool |
c9147f126b25a20d45e5b39ea14efe6191628c41 1482859 |
|
15-May-2013 |
minfrin |
mod_proxy: Use a global mutex for handling workers. |
fc3150b2b0146214a5005f730efef09448dd043c 1481397 |
|
11-May-2013 |
sf |
Adjust format string
type was changed by r1481302 |
4860eae0821bbdf3e0da78be7b4057ebed5d86e4 1481302 |
|
11-May-2013 |
minfrin |
mod_proxy: Reject invalid values for Max-Forwards. |
2344a0c1817b88b6df61fc4ed0c6af66bb93ee6b 1480627 |
|
09-May-2013 |
jim |
Mod_proxy used the global pool w/o mutex. fix. |
72162c602ff8e9a1aa9f40aa59db8d1237fc30d4 1476680 |
|
27-Apr-2013 |
minfrin |
mod_proxy: Clarify the usage suggestion for BalancerInherit and ProxyPassInherit. |
fb5e4869b57545ff534add0a4b0ded84cc68212b 1465839 |
|
09-Apr-2013 |
druggeri |
Add failontimeout to allow server admin to mark balancer member in err if IO timeout occurs. |
2ee708a3c186643c065c486f851e1dd78f0a4ada 1452195 |
|
04-Mar-2013 |
jailletc36 |
Fix indent |
48b5093323ff20ad74f6fd198e2fa7528d162663 1448630 |
|
21-Feb-2013 |
jim |
realign and fix logic |
8ad2333769563eadfe4944407c32666160b641a0 1439404 |
|
28-Jan-2013 |
jim |
ProxyPassInherit directive |
44da11d42e24f54f41ce6ebb6ab6ee1dfdf36171 1422980 |
|
17-Dec-2012 |
jim |
Redfine - we are just worried about balancers and workers, so have the directive clear about that. |
a0c045dd686938d2d95b31b0bad3911a6ada611d 1422943 |
|
17-Dec-2012 |
jim |
restrict inherit control to those fields that "require" it... |
f4c820be3237778985b10dabd420c6301f65ee04 1421912 |
|
14-Dec-2012 |
rjung |
Use inherit_set to let the global server set
the default for all vhosts.
Otherwise inherit would need to be disabled
redundantly in each vhost. |
2a7a5a65e98aeab2554992a0ca3303a322d016ee 1421882 |
|
14-Dec-2012 |
jim |
be consistent |
78a042a9bbd7dd7fe34e9a8cfa91d59fe035367a 1421288 |
|
13-Dec-2012 |
jim |
inherit inherit |
64e4059542fdf5ae9096d5485d3405b3bc98a82e 1420124 |
|
11-Dec-2012 |
jim |
rjung's suggestions... |
20eead0b01d51fce0cc17d04b8f98ec38eac68ae 1404653 |
|
01-Nov-2012 |
jim |
Allow for setting of sticky session split char...
Bugz 53893 |
779f4feeb8179ddc6160712c5f4407af05bbee24 1388603 |
|
21-Sep-2012 |
jim |
force these |
1dc8fa9c1a71bbbbd54d8dce850eedeaafdd6450 1388444 |
|
21-Sep-2012 |
trawick |
fix BalancerInherit command processing from r1388029
(still not tested) |
1e9c19df8bde7cbced53210a99eb0216ce79e1fb 1388029 |
|
20-Sep-2012 |
jim |
OK, enable/allow previous broken, bad behavior iff the user
really, really wants it. And warn that b-m isn't recommended
in those cases. |
c5f0334e27d00897c1842cf05e5b2dbf056a8bcb 1387693 |
|
19-Sep-2012 |
jim |
and this one as well... persist isn't inherited |
8bba6f411959a1111d1d2a0266e22a621bbfe818 1387691 |
|
19-Sep-2012 |
jim |
Oops... didn't mean to commit that. |
6dc105fdb660c38bd9adc04c39a3b58c5be14b29 1387684 |
|
19-Sep-2012 |
jim |
Re-instate balancer merge (for the time being) but force
persistence if the top-level server has it defined.... |
8e8919218cf86fa017a500e2632c7adc2a12c032 1387603 |
|
19-Sep-2012 |
jim |
wtf are we doing merging in these from the parent??
These are server specific! |
1b0760b10f93eb1e0f52e28aa20cd821c68ac217 1387444 |
|
19-Sep-2012 |
jim |
Use identifying server_rec info when we know we have
unique and useful data :) |
9f547d2f9b4e83cd5a5d3ce49bb3fbdbe6977997 1387287 |
|
18-Sep-2012 |
jim |
By using a consistent naming structure, we can persist
across stop/starts (assuming people don't change
such basics as scheme, hostname, etc...) |
57db302f0875a6c93a79333b8941cea4c1827272 1387110 |
|
18-Sep-2012 |
jim |
Persist local balancer-manager changes across restart/graceful. |
4bfff3ecfdfd7509c172339d258ab87aa1ae82bc 1345329 |
|
01-Jun-2012 |
sf |
remove obsolete comment (PROXY_MAGIC_TYPE is not used anywhere anymore) |
0361488d59792d052a9f8024c0e5a1ef909252e6 1306409 |
|
28-Mar-2012 |
rpluem |
* Add the forcerecovery balancer parameter that determines if recovery for
balancer workers without considering the retry value of workers is enforced.
There might be cases where an already overloaded backend can get into deeper
trouble if the recovery of all workers is enforced without considering the
retry parameter of each worker |
b24f2f0c00ea55efd834ea4a704f788d78fe7877 1302483 |
|
19-Mar-2012 |
rpluem |
* Readd the reverse assignment to avoid segfaults in ap_proxy_initialize_worker
PR: 52935
Obtained from: Petter Berntsen <petterb gmail.com> |
6135cc8178d75a52828ad225b1d568cd1e97799e 1302444 |
|
19-Mar-2012 |
rpluem |
* Correctly save the reverse proxy worker in all virtual host proxy configs.
PR: 52935
Obtained from: Petter Berntsen <petterb gmail.com> |
63f0a4cce2c24181e97940eb9d61b75591ee6ed8 1242351 |
|
09-Feb-2012 |
jim |
Handle cases, esp when using mod_proxy_fcgi, when we do not
want SCRIPT_FILENAME to include the query string. |
6be38922add55325d9acadb2406a4072cb8865de 1233604 |
|
19-Jan-2012 |
trawick |
Adjust CVE-2011-3368/CVE-2011-4317 fixes to rely solely on
core's translate-name to fail unsupported URIs.
Rewrite and proxy now decline what they don't support rather
than fail the request.
Suggested by: trawick
Implemented by: jorton
Tweaked by: wrowe |
5c24acdc757b7557d33c389fafdb7cc455ce3740 1227637 |
|
05-Jan-2012 |
covener |
restore the generic proxy workers to not being address-reusable.
The guts of mod_proxy is not really ready for the addr and host on a
proxy_conn_rec to change over time and differ from the 1 cached in the worker.
* proxy_worker->cp->addr needs to know what host/port it cached
* conn->addr and conn->hostname need to be allocated from their own subpool
so they can be cleared as they change
* ap_proxy_determine_connection needs to be more careful about which
addr is the TCP endpoint and what we have in either cache.
* may need to avoid updating the proxy_worker addr cache if we know
the value is flipping. |
185aa71728867671e105178b4c66fbc22b65ae26 1209766 |
|
03-Dec-2011 |
sf |
Add lots of unique tags to error log messages |
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6 1209754 |
|
02-Dec-2011 |
minfrin |
mod_proxy: Make ap_proxy_retry_worker() into an optional function. Allows
mod_lbmethod_bybusyness, mod_lbmethod_byrequests, mod_lbmethod_bytraffic
and mod_lbmethod_heartbeat to be loaded without mod_proxy yet being present,
which happens when modules are loaded in alphabetical order. |
8ff777ad06909c2e06d7b5ba2142195ddfae22a9 1209432 |
|
02-Dec-2011 |
jorton |
Fix for additional cases of URL rewriting with ProxyPassMatch or
RewriteRule, where particular request-URIs could result in undesired
backend network exposure in some configurations. (CVE-2011-4317)
Thanks to Prutha Parikh from Qualys for reporting this issue.
* modules/proxy/mod_proxy.c (proxy_trans): Decline to handle the "*"
request-URI. Fail for cases where r->uri does not begin with a "/".
* modules/mappers/mod_rewrite.c (hook_uri2file): Likewise. |
14ce718783c7835d3bc89f3bb99ccb02dfb4058a 1208897 |
|
01-Dec-2011 |
jim |
Use 2 sep hashing functions to account for collisions...
Safe enough |
f405815d4da148cdd3608dc2f46eed6000161663 1208068 |
|
29-Nov-2011 |
jim |
Some optimization... we have a hash, use it. Quicker than all
these string comparisons. |
25524fd4a888fd31598556d9c323de90e431e237 1208067 |
|
29-Nov-2011 |
jim |
whitespace |
f66d52ac5f701eed7986e23d12960344f8bf6b61 1207926 |
|
29-Nov-2011 |
jim |
Logic which makes the balancer "active" or not... so we can turn them
off and on as needed. |
eb4a5f5f8aa7d48b2a2f24498e4886fc8ce28f4b 1207582 |
|
28-Nov-2011 |
jim |
Expose the path that the balancer handles... |
e32a2e2ca90ae7e7f1195d1e275f9ad6a581ffc6 1207282 |
|
28-Nov-2011 |
jim |
Error-check. |
aee938da5530729ca29b60015120c487d5e1bcac 1206286 |
|
25-Nov-2011 |
jim |
Move useful and shared balancer stuff to the shm slot...
Provide hooks for post-config/runtime addition of
balancers. |
994ced9dca1b824d03a44187f09d264215cd490c 1203859 |
|
18-Nov-2011 |
sf |
great proxy logging cleanup:
* remove "proxy:", "FCGI", etc. prefixes and pid which are now
included in the error log format
* propagate frontend request's logconfig to backend request
* use ap_log_rerror where possible
* remove obsolete APLOG_NOERRNO |
4c138e467a7d384582aa6f8c9809af589e572fee 1198988 |
|
07-Nov-2011 |
sf |
More error checking for ap_pregsub |
ac527defc56193af96fcb7ceffbda0e41bdb2d7c 1183475 |
|
14-Oct-2011 |
sf |
There is absolutely no reason to have two 4k-sized constant strmatch patterns
in each per-dir config. |
a41735e84d5aa22d04556c481929addf28c8f052 1180689 |
|
09-Oct-2011 |
sf |
Force base 10 when parsing the Content-Length. It doesn't matter in this
case, but in general using strto*(..., 0) for parsing HTTP headers is a bug. |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
7c2df38555e33d4c30de9973722128cc9646a1b3 1153687 |
|
04-Aug-2011 |
sf |
Forbid some directives in .htaccess because of AllowOverrideList:
core: AllowOverride, AllowOverrideList
mod_authn_dbd: AuthDBDUserPWQuery, AuthDBDUserRealmQuery
mod_authz_dbd: AuthzDBDQuery, AuthzDBDRedirectQuery
mod_proxy: BalancerMember, ProxySet
Adjust for use in .htaccess:
mod_actions: Script |
e2de0e939faab767454a164c7d2e8ea710fd1a26 1137413 |
|
19-Jun-2011 |
sf |
Code cleanup: replace apr_table_set with non-copying apr_table_setn
in a few places
Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr> |
04d6458a2cd3b44376f00a56804bb6bf6bc46865 1135084 |
|
13-Jun-2011 |
sf |
Avoid some memory allocations by using apr_table_setn where the string arguments
are allocated from the request pool and not modified later on.
Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>
PR: 51358 |
7184de27ec1d62a83c41cdeac0953ca9fd661e8c 1132781 |
|
06-Jun-2011 |
sf |
Introduce ap_(get|set)_core_module_config() functions/macros and use them
everywhere.
We know that the core module has module_index 0. Therefore we can save
some pointer operations in ap_get_module_config(cv, &core_module) and
ap_set_module_config(cv, &core_module, val). As these are called rather often,
this may actually have some (small) measurable effect. |
7ce40500bfead8781bab964eb6e01944acbf3915 1125451 |
|
20-May-2011 |
jim |
Add in BalancerGrowth and its functionality... this lays
the framework for adding additional Balancers: post-config
by allowing for shm growth. |
7af19efc4667363f74d332a8d010b49e88d56fd5 1080821 |
|
12-Mar-2011 |
trawick |
fix some grammar mistakes, mostly in comments |
5b439d3976ab9363288cf5132902fad230777523 1072098 |
|
18-Feb-2011 |
jim |
No longer depend on how fork() works when laying out segments...
function pointers in shm are... nasty ;) |
e8ecc839fc57f2157ff10eba188d7aa3c0244174 1068400 |
|
08-Feb-2011 |
jim |
Expose this as part of the API. That way, other code/modules
which want to overload mod_proxy's trans phase can use it to
handle ProxyPass as well, without requiring monkeying
with conf->aliases... |
908ecf69cda35db1070860f5921bb73a5a571751 1067269 |
|
04-Feb-2011 |
jim |
Here we go... we can now, via balancer-manager, add new
workers to existing balancers. Still work to be done,
like error checking that we aren't trying to add more
than we can (right now, it fails, but it would be nice
to handle it nicer), disabling and *deleting* workers
we don't want anymore, the actual drain method, etc...
but this is some major goodness. |
d20993e12a1caa8952c6d964ed0fbb92b7f97d79 1067205 |
|
04-Feb-2011 |
jim |
Oops.... we need to adjust sticky, which is an array now |
48939aa0cd38f4f4f88e74ff696c77b52176ba1d 1066482 |
|
02-Feb-2011 |
jim |
Instead of just enabling/disabling, we can now adjust
more useful worker status bits, such as whether hot stby, etc... |
e2b702094817c78498e6de567b9548ef794c33d3 1066138 |
|
01-Feb-2011 |
jim |
Again, abstract out the worker status magic to it's handled
by funcs... |
4e0b7720fce1e872ea6afd2421b8b6addacf9bd0 1066110 |
|
01-Feb-2011 |
jim |
Move the setting of flags into a func... that way there is
one place to maintain as the number of flags grow...
Since we are using just the bits, make unsigned. |
d993198d8a18c11aa4e80bc647587df10e663f88 1066076 |
|
01-Feb-2011 |
jim |
We can now change lbmethod at runtime.
Provide a stub for other balancer-related params to
be adjusted as well, like timeout, sticky, etc... |
596716fb99c98e83ff7c2c3d78f9fc55ea116be6 1065750 |
|
31-Jan-2011 |
jim |
Move the lbmethod to also allow it to be adjusted runtime |
fd61dbd57eb4ee63c3c647c178979ed817d13be3 1065749 |
|
31-Jan-2011 |
jim |
tuck away code that lets us ensure that the id is always
"unique" |
cb7cf74a315df272e2ec329ce2ef1d50b82b8384 1065748 |
|
31-Jan-2011 |
jim |
Move some "nice to be able to change" balancer stuff to shm |
93cf7fc650197b941ae31a7c7e51e901b129e954 1060795 |
|
19-Jan-2011 |
igalic |
Add a patch from Vincent Deffontaines to make the adding of X-forwarded-*
headers configurable: ProxyAddHeaders, defaulting to 'On'.
http://www.mail-archive.com/dev@httpd.apache.org/msg49971.html |
4b155326ef6781820619c10e518dce1a44df7f91 1060109 |
|
17-Jan-2011 |
rjung |
mod_slotmem_shm is a predecessor of
mod_proxy_balancer, not mod_proxy. |
a652b68dea502131f70084ead7981d5fc754cd34 1058629 |
|
13-Jan-2011 |
jim |
Move nonce to balancer struct and add logic for nonce and growth.
Adjust mmn and update doccos |
14c8c18e6caab1bdeb0f26b2b031e000fef58ef9 1058626 |
|
13-Jan-2011 |
jim |
whitespace |
748859d4eeb90f2a64b8b8318bc45c3a61dcd968 1058625 |
|
13-Jan-2011 |
jim |
Builds and passes tests as prefork... good save state |
0c4b0ffd3db7ae8e34662826098b5e46dadc1e88 1058624 |
|
13-Jan-2011 |
jim |
Adjust for conf->workers being *proxy_worker and balancer->workers being **proxy_worker |
23a31b10f869a72c9197b5f153f4f3e1a4c68f28 1058623 |
|
13-Jan-2011 |
jim |
More movement to shared stuff... |
2f1146e06a1bfa371573a3f3fb0379448e18aaed 1058622 |
|
13-Jan-2011 |
jim |
OK... a good commit point (we don't quite compile yet though...)
Pull out the worker scoreboard cruft and start moving most
worker stuff to shm. Use slotmem for workers and provide
space for growth.
Redo logic:
ap_proxy_define_*
ap_proxy_create_*
ap_proxy_initialize_*
Right now just for workers, but lay framework for balancers
as well. The idea is to break out the functional parts
to make it easy for dynamics. Defining is simply describing
the worker, and tucking that info away. When we create, we
go ahead and create the shared memory, etc... Initialize
is simply to allow child process to access the shm... |
88e81478416b0eedec4cf1d17b1c637315887bce 1058621 |
|
13-Jan-2011 |
jim |
Use branch now |
ffaab406bd590cecb5a049d22778c078268ec885 1051628 |
|
21-Dec-2010 |
minfrin |
The alias_set variable is set when a parent location contains a ProxyPass,
so this check catches valid ProxyPasses. Remove the check. |
b0ac1e83f8582a9b5a72bff798ffb31a419c8ade 1036602 |
|
18-Nov-2010 |
sf |
mod_proxy: Fix ProxyPassInterpolateEnv directive.
PR: 50292 |
b2b9b7f0644773b50aee41956a841ac884086250 1034916 |
|
14-Nov-2010 |
niq |
Fix mod_proxy to support setting source address.
PR 29404
Seems lots of users want this, and a couple of them have recenly asked nicely |
b588214d6e6fe09abe709e83e894921fbc7e25c8 1031758 |
|
05-Nov-2010 |
covener |
PR47765: ProxyPass and ProxyPassReverse should not be accepted in
Directory or Files sections. |
df419be6d7d4b68823efa05722375552af49c2b6 1026184 |
|
22-Oct-2010 |
minfrin |
mod_proxy: Optimise ProxyPass within a Location so that it is stored
per-directory, and chosen during the location walk. Make ProxyPass
work correctly from within a LocationMatch. |
40b22d3b20454959fe51fdc89907908d77701078 1025666 |
|
20-Oct-2010 |
minfrin |
mod_proxy: Move the ProxyErrorOverride directive to have per directory scope. |
06cdc8d205f0982074ab9b032d0b6d74c58f54ca 987854 |
|
22-Aug-2010 |
rjung |
Change behaviour of worker sharing.
A proxy worker is shared, if its URL is a leading substring
of the URL of another worker defined later in the configuration.
Before this change this
- triggered the "worker ... already used by another worker" message
- resulted in a hard to understand configuration for this worker
- Attributes explicitely given in the later worker overwrote
attributes in the worker which was defined first
- General proxy attributes (e.g. ProxyTimeout ) overwrote
attributes in the worker which was defined first
New behaviour:
- Talk about "sharing" of workers and log both worker URLs
in the info log message instead of the "already used" message
- Do not overwrite attributes. If attributes were explicitely
given in the later worker, log a warning that those are ignored
because of sharing. |
35630e8756729a29273ef1a5c879b90df3594d66 987853 |
|
22-Aug-2010 |
rjung |
Minor style nits. |
b92a868b537899a51efd8c200c396fa51c63839d 987359 |
|
20-Aug-2010 |
trawick |
mod_proxy: Rename erroronstatus to failonstatus...
... by popular demand, and add documentation.
Submitted by: Daniel Ruggeri <DRuggeri primary.net> |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
9f22e9ea026e74271ddced44f6d54fa846ddc9bc 931432 |
|
07-Apr-2010 |
wrowe |
Correct bogus code; stack alloc of variable length is not portable from C++.
And look, there's an apr for that. |
3a49a6c98ef80c71830e66e7f8f46083001b494c 930254 |
|
02-Apr-2010 |
trawick |
small style tweaks to r930125 |
d46dfdce9351f52a971777948d9b02f8fc668ff8 930125 |
|
02-Apr-2010 |
niq |
Proxy balancer: support setting error status according to
HTTP response code from a backend.
PR 48939 [Daniel Ruggeri <DRuggeri primary.net>] |
acfed915e00d4d0ca436b388b93610ceccd58a64 925850 |
|
21-Mar-2010 |
minfrin |
mod_proxy: Tone down a warning message that appears when the same backend
website is reverse proxied two or more times into the frontend URL space.
PR: 48947 |
47ff2654d827dd3596ce2e4099d69cec0f1009b9 894526 |
|
30-Dec-2009 |
takashi |
Move ProxyFtpDirCharset from mod_proxy to mod_proxy_ftp. |
6999392397afe570edd74d91583a4df1822baa39 894425 |
|
29-Dec-2009 |
takashi |
Move AllowCONNECT from mod_proxy to mod_proxy_connect. |
3709b26f3370ae89c5324a3c03fab56a93b09ecd 824072 |
|
11-Oct-2009 |
sf |
Allow ProxyPreserveHost to work in <Proxy> sections
PR: 34901 |
6a4043fd04bbd44ca0d084c096318df035abc46d 774400 |
|
13-May-2009 |
jfclere |
Allow the load balancing method to "create" workers. |
3aef0c9757e0c2cf1c8c13267907bbb7424735ec 771976 |
|
05-May-2009 |
jim |
optimize.... rp! :) |
834fc281be8e0f7f2614961f12d8bbf603382a17 771940 |
|
05-May-2009 |
jfclere |
Change the order of mod_proxy and mod_proxy_balancer child_init().
Change the balancer workers area to the address of workers instead copying the workers.
Arrange lbmethod accordingly.
Move the creation of conf->forward worker to mod_proxy child_init(). |
8a9301474ae4293187d7b18b47a38e280b635c1f 771390 |
|
04-May-2009 |
wrowe |
Simple style fix, this message still is nonsensical |
a2d1780b346e147ca4d5c1cdeb0fd8a57fd93899 770293 |
|
30-Apr-2009 |
jfclere |
Prevent key=value being accepted as url. |
12d1342bd29aa7b15080f28cd8ed65d33ce00328 734703 |
|
15-Jan-2009 |
rpluem |
* Set the error time if we set a worker in error mode. |
bf3f3b52289ee37f40842fc836ff92dd202742af 725946 |
|
12-Dec-2008 |
pquerna |
Add configuration of the Flush provider for mod_proxy_fdpass. |
a42b70fa75429d73ef00d6ae212676f8a652f51c 723565 |
|
05-Dec-2008 |
pquerna |
Import the core parts of the DTrace patch. This is a modified and updated
version of what was submited by Theo before:
<http://mail-archives.apache.org/mod_mbox/httpd-dev/200805.mbox/%3C6AFBCFE8-4CCA-4A02-8A43-F9170689695D@omniti.com%3E>
Note, this does not hook it up into the build system at this time, because
the original patch was a little too creative there.
Submitted By: Theo Schlossnagle <jesus omniti.com> |
ea64665b1de60d55641104e018f696c4a310d2f1 710218 |
|
04-Nov-2008 |
jim |
Ummm why bother setting vars if we are bailing? |
5eb56df4054a0bca4d740eedd7ef277355a2c0ad 707357 |
|
23-Oct-2008 |
jim |
Fix the io buffersize code. Have the docs match the code
and allow more flexibility in settings. Also, document
the ProxyPass/worker options of io and rec buffersize. |
9257af3c6aaeaf201fccb3e3c87cf8c41783fdb7 707022 |
|
22-Oct-2008 |
rpluem |
* Move ap_timeout_parameter_parse from mod_proxy.c to server/util.c and thus
make it part of the public API. |
90f18725dbb9bdfba94da22aa60f94dfb759a8fe 705005 |
|
15-Oct-2008 |
rpluem |
* Add the possibility to set the worker parameters connectiontimeout and ping
in milliseconds and the parameter acquire in seconds.
Add the new currently static function ap_timeout_parameter_parse that
should become a general utility function once its API is hammered out. |
0c888b8088644f3a39dcf1998e0304c289532057 697093 |
|
19-Sep-2008 |
jim |
Allow for the smax param to be 0, so that all connections
are available to be dropped, should they be idle long
enough.
PR 43371 |
ff4ec92f5bb8d43b3ba1979ccda94f07961bf323 687754 |
|
21-Aug-2008 |
jim |
Allow determination of whether to use ';' as
a sticky session path delim/sep (ala mod_jk) to
be runtime (and balancer-wise) configurable. |
61d82a1991928d3fa5ee50dc57f2ae3f4b5c781a 686779 |
|
18-Aug-2008 |
jim |
typo |
f921cd430a2ea23fcaedfdfc7439163f63c8472a 684341 |
|
09-Aug-2008 |
rpluem |
* Add the possibility to set a separate connection timeout for backend
workers.
PR: 45445
Submitted by: rahul <rahul sun.com>
Reviewed by: rpluem |
d9efe39afed3db4bbdc32e40ddb67075c56e689d 645807 |
|
08-Apr-2008 |
jim |
Use what we have. This logic belongs here anyway... |
d6e81217d873dc3b87fc4ffa5fbac2fad4191a15 645455 |
|
07-Apr-2008 |
pquerna |
Remove all references to CORE_PRIVATE. |
bdf8801c51d958b1d3ff40f60ab16ccfd999b0fa 645189 |
|
06-Apr-2008 |
wrowe |
If you study all of the directive implementations, you'll note
that we get less than 20% of the NOT_IN_LIMIT rules correct.
<Limit > works in about 4 directive contexts and yet, we ignore
this fact for 100's of directives. Simply eliminate this
nonsense in anticipation of a 100% solution. |
d4a7ca64aa12da0c1b44b0281e93973a89cefeed 632304 |
|
29-Feb-2008 |
martin |
When sending a proxy request of the form
GET http://[3ffe:1:1001:3000:230:5ff:fe05:3c3c]/server-status HTTP/1.0
through the httpd-2.x mod_proxy.c code, while a directive
ProxyDomain .my.dom.ain
is in effect, the request is redirected to
Location: http://[3ffe:1:1001:3000:230:5ff:fe05:3c3c.my.dom.ain]/server-status
The patch fixes this bug, by testing whether the hostname part of the
unparsed_uri contains colon characters (which is the case only for
IPv6 literals).
This patch is also a candidate for httpd-2.0 and httpd-2.2 |
5fbd1e97905738791e7359ccbc9b02e913948d2e 631735 |
|
27-Feb-2008 |
rpluem |
* Do not retry a direct connection if the request has a request body |
b842b65e0618c5535233b197f03dc917d184adb3 627728 |
|
14-Feb-2008 |
jim |
Add in mod_jk's disablereuse analog for mod_proxy. |
e0f03f54bf8a0ef210bceb74ab08364c17ac350f 608189 |
|
02-Jan-2008 |
jim |
style check |
9f2bf8ffc5b94f213da70d7b1defbaf51a5973e1 607638 |
|
31-Dec-2007 |
wrowe |
Introduce the ProxyFtpDirCharset directive, allowing the administrator
to identify a default, or specific servers or paths which list their
contents in other-than ISO-8859-1 charset (e.g. utf-8).
Submitted by: Ruediger Pluem |
997023faa943892aae20d092044aa983c2936982 589371 |
|
28-Oct-2007 |
niq |
Update the patch for environment variable interpolation in
ProxyPass/Reverse/etc directives: r421686, r422178, r421686, r421725
That patch stalled on wrowe's veto. This update introduces a new
"interpolate" keyword to all directives affected, so should meet
his concerns by adding explicit per-directive control (disabled
by default). |
28fe44817329b1183f64e878c258962f90423a8d 588791 |
|
27-Oct-2007 |
niq |
mod_proxy: add "nocanon" keyword to ProxyPass, to suppress
URI-canonicalisation in a reverse proxy.
PR 41798 |
3d81c6f18deabacd15101eda69f7d16bf466d22d 581117 |
|
02-Oct-2007 |
niq |
Default to NOT setting Max-Forwards in violation of RFC2616
Leave old behaviour as a configuration option (ProxyMaxForwards)
PR 16137 |
0280926d9c3e5deb48961117a60a817d6905dd3d 575996 |
|
16-Sep-2007 |
niq |
Failing to load a protocol handler is a server error, not a forbidden. |
2dbd6146bf47e7eafb45bf3b79b242aa45f6f8ca 574877 |
|
12-Sep-2007 |
jfclere |
Remove useless variable. |
7a3f81622e6b6995e0e879b1c0279ba68130b4b1 574843 |
|
12-Sep-2007 |
jfclere |
lb_score is bigger proxy_worker_stat. Prevent wasting space. |
b635005244526aa1031cbb2f374ef536aebcbbab 574269 |
|
10-Sep-2007 |
jim |
Maintain the illusion. It's not worth my time or
energy to care about this anymore. |
50a524c3834c0abefd325e0e3852e5c262446768 574052 |
|
09-Sep-2007 |
jim |
Reinsert extern int PROXY_DECLARE_DATA proxy_lb_workers
into the Proxy API. |
2a0232732978734e07c225f65742a36392ca208f 573569 |
|
07-Sep-2007 |
jim |
Reinstate the lb_score patch, but, protect against
conflicting leakage as per jfc proposal. |
c64fb33e0c4634fd352c4a6c143cd1a087c09b13 572832 |
|
05-Sep-2007 |
nd |
as not everyone needs sticky sessions - avoid segfault in balancer manager and
mod_status |
e5d6ce6a451d52167bf2f12401aa756460cbeb69 571338 |
|
31-Aug-2007 |
niq |
mod_proxy: Add Proxypass status option to ignore errors
PR 43167. Patch by Francisco Gimeno |
a0e9ad7cadf9447bb07e20fbc6693e7a9bcc2f3a 551935 |
|
29-Jun-2007 |
jfclere |
Fix the warning:
mod_proxy.c:284: warning: passing argument 1 of 'ap_strchr' discards qualifiers from pointer target type
Thanks Joe for catch it. |
cd42921af450e87bc797da0ff899348b75732645 551126 |
|
27-Jun-2007 |
jfclere |
Don't display "PHPSESSIONID | PHPSESSIONID" but only
"PHPSESSIONID". |
4da4d66ac76add5394890c909f024e8ea72c8308 551099 |
|
27-Jun-2007 |
jfclere |
Remove the balancer modification logic of balancer-manager
because it can't work. And add the sticky_path to the
sticky display. |
c3dc78855363fa6e8ecfc2bb8e2927efcd31d31d 550519 |
|
25-Jun-2007 |
jfclere |
Add sticky_path to solve PR41897. |
d27b1ee5dae8f52cdde42e0ac1939cc2397c1be5 537599 |
|
13-May-2007 |
jim |
Fold in ProxyPassMatch directive with docs. Support
full regex substitution but also allow for "simple"
cases (ala JkMount) to work as well. |
dcda744296f197717c5105fd197e94ceba7880d7 537429 |
|
12-May-2007 |
jim |
Add regex pattern matching to ProxyPass, allowing,
for example:
ProxyPass ~ \.gif balancer://imagecluster |
b5983a3623a081981a69c201fb66f765586aaa9e 507526 |
|
14-Feb-2007 |
niq |
Return METHOD_NOT_ALLOWED, not FORBIDDEN, to a TRACE request when
TraceEnable is Off. This agrees with our documentation, and with
our Allow: header in response to OPTIONS. |
82b8e88fd2a266002f6504d8fc4313ec7b5630c0 507516 |
|
14-Feb-2007 |
niq |
Patch for PR#11540 (submitted by Stuart Children) |
f251b576aa9caeb8876ce9f78fb10bf65eddc97e 451575 |
|
30-Sep-2006 |
mturk |
Enable retry=0 for the worker.
This allows to have an option to always retry
the workers in error state instead using a
specified time. |
c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3 441947 |
|
10-Sep-2006 |
rpluem |
* Print the correct error message for erroneous configured ProxyPass directives.
PR: 40439
Submitted by: serai lans-tv.com
Reviewed by: rpluem |
7033ee56ea894e9b3fdf573ab9960149a4e88a11 428291 |
|
03-Aug-2006 |
jorton |
* modules/proxy/mod_proxy.c (proxysection): Fix another strchr() warning. |
144f8db798e3b92e4e4a3f51904e8f21ad160680 427928 |
|
02-Aug-2006 |
mturk |
Allow optional name=value options within <Proxy
section line. Additional arguments are allowed
only for 'standard' url's, meaning that the wildchar
urls will return error like before.
This allow to specify the worker/balancer parameters
on the definition line, without the need for extra
ProxySet options. |
fef95ce9cdb638443693c21f181dd2494b467469 427920 |
|
02-Aug-2006 |
mturk |
Enable ProxySet inside <Proxy> section to
create balancer or worker if they were not
already created.
This allows to have ProxySet directive before
BalancerMember directives inside Proxy section. |
f185ce14f5dd540ae54659f764989c017c619485 427172 |
|
31-Jul-2006 |
jim |
Add in a very simple balancer "set" concept, which allows
for members to be assigned to a particular cluster set
such that members in lower-numbered sets are checked/used
before those in higher ones.
Also bundled in this are some HTML cleanups for the balancer
manager UI. Sorry for the mixins :)
Compiles/builds clean: passes test framework as well
as more normal usage tests ;) |
188befd3a49e3a126bd801d7dc5a7f6e63ad4332 425454 |
|
25-Jul-2006 |
mturk |
Added cping/cpong support for the AJP protocol. |
9df9016759ec9327e256d7fff1af56ddfadb721c 422178 |
|
15-Jul-2006 |
niq |
Use <string.h>-compatible versions of ap_str* functions. |
5d9ddda0d9e297f8d6746eb23ea6498c7739ce0b 421959 |
|
14-Jul-2006 |
jim |
Don't down cast |
e99dfd55d29a7b4209b814efc7270d0b74ccee74 421686 |
|
13-Jul-2006 |
niq |
Support environment variable interpolation in reverse proxy configuration |
7ba381d8371d632d25ba1256a9047fe601cb984d 421252 |
|
12-Jul-2006 |
jfclere |
Issue a warning when the same worker name is reused. |
7ce17736e4802a923eed275812647a7c3e9ad76e 420986 |
|
11-Jul-2006 |
jim |
Add in hot-standby balancer member. If all other members
are disabled or not-usable, ONLY THEN will the hot
standby's be used. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
07ac837c886b356dc96e83cf82fb348eb56406d9 390210 |
|
30-Mar-2006 |
jim |
Document the removal of the flushing bandaid to a
runtime param. Since other protocols might benefit
from this, remove the ajp_ prefixes, to make it
more generic looking. |
5d392744e2077f71f34ce098ab49d2c0ddcf4ea3 384580 |
|
09-Mar-2006 |
jim |
Make AJP flushing admin configurable. |
62c48ce0fc62af721a6ee30a74cfc664c9714583 355853 |
|
11-Dec-2005 |
rpluem |
* revert r355823 and r355837 |
5c7ac1d1917c534320143462fe68624af7af0c66 355823 |
|
11-Dec-2005 |
rpluem |
* Move handling of backends that broke after the headers have been sent
into the proxy handler of mod_proxy.
This patch still sets r->connection->aborted to 1 which is currently
vetoed by Roy. Moving it from the scheme handler to the proxy handler
should ease the reimplementation of this, as the scheme handlers only
needs to return PROXY_BACKEND_BROKEN to signal the above situation to
the proxy handler.
mod_proxy.h: Add define for PROXY_BACKEND_BROKEN
mod_proxy.c: Handle PROXY_BACKEND_BROKEN in proxy handler
mod_proxy_http.c: Sent back PROXY_BACKEND_BROKEN if backend broke
after we sent the headers. |
6c05afd314b4ddd545d63b4ff5de822cc30eec79 344491 |
|
16-Nov-2005 |
trawick |
Fix typo in ProxyStatus syntax error message.
Submitted by: Christophe Jaillet <christophe.jaillet wanadoo.fr>
Reviewed by: trawick |
e8f95a682820a599fe41b22977010636be5c2717 332306 |
|
10-Nov-2005 |
jim |
No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines |
06eb85bfb9e99bcf9c38c07c2434850543354d94 328463 |
|
25-Oct-2005 |
rpluem |
* Fix PR36906 by not lower caseing the whole worker name. Only lower case the
schema when storing the worker url. Thus preventing case sensitive URI's in
BalancerMembers to get broken. |
8cdc2e8b6f46a3f239a70184e9f785fc25463487 293123 |
|
02-Oct-2005 |
rpluem |
* run the request_status hook in proxy_handler if HTTP_SERVICE_UNAVAILABLE
is returned by ap_proxy_pre_request.
Suggested by: Brian Akins <brian.akins turner.com>, Mladen Turk
Reviewed by: Jim Jagielski |
361051c5d96d51ff2f707777b8f629a56799ef02 279973 |
|
10-Sep-2005 |
jorton |
* modules/proxy/mod_proxy_balancer.c (balancer_handler): Fix gcc
warning; no functional change.
* modules/proxy/mod_proxy.c (set_balancer_param): Likewise. |
c332befc1519a1016d8de07608f0b859e6fab580 279752 |
|
09-Sep-2005 |
jim |
Proxy balancer lbmethods are now registered as providers and not
via hooks. Move various find() functions back to mod_proxy_balancer
where they belong :) |
00b38a2bcc263953c446802dad4e35b4d00a635f 279319 |
|
07-Sep-2005 |
jim |
Minor nit. Methods are server-wide, so simply use the base version table. |
50ebf0554e0878bf4e9ee9a3cb574f29323e9692 279305 |
|
07-Sep-2005 |
jim |
Restruct of lbmethod find-best algo's, bypassing hook mechanism.
Looking into provider method, but until then... Prevent core dump
when balancer not in vhosts |
1febae173a82bc2a71c3c0ba4105cf674000791b 232282 |
|
12-Aug-2005 |
jim |
simple, functional interface to add additional balancer lb selection methods
without requiring code changes to mod_proxy/mod_proxy_balancer;
these can be implemented via sub-modules now.
Let the games begin... |
0b4d5285b176f443fd6c0fb07bef76f6b5eb81c7 231501 |
|
11-Aug-2005 |
niq |
Fix build error from cut&paste |
f86b4df17588d404f3da535a8054f43b0642f92a 231355 |
|
11-Aug-2005 |
niq |
Fix ProxyPassReverse & family to work correctly in <Location> |
f73a8fabbdc4ec11c8b475e9f48539de0c4f82eb 225751 |
|
28-Jul-2005 |
mturk |
Add status param option so that current worker
status can be changed via editing httpd.conf instead
just using web page. Seems the ApacheCon is paying of.
Thanks to Sander for pointing that out. |
bda7a7d57377f45932c237d5aba00b189d85c2a9 219372 |
|
17-Jul-2005 |
ianh |
This patch adds a new hook (request_status) that gets ran in proxy_handler
just before the final return. This gives modules an opportunity to do
something based on the proxy status.
A couple of examples where this is useful:
-You are using a caching module and would rather return stale content rather
than an error to the client if the origin is down.
-you proxy some subrequests (using SSI - mod_include) and do not want SSI
errors when the backend is down. If you would normally return
HTTP_BAD_GATEWAY, you may have a module that serves some other content.
new hook -- so mmn bump.. i made it a major one, hope thats ok
Patch From Brian Akins <Brian.Akins turner.com> |
edc346c3223efd41e6a2057c37cea69744b73dcc 216111 |
|
13-Jul-2005 |
wrowe |
End abuse of apr_strnat[case]cmp - it isn't str[case]cmp.
Unsure if apr_strnatcasecmp(conf_ip, uri_ip) was intentional, on the
off chance that the left or right hand ip string happens to contain
leading zeros. |
d1b3d9a6f29078146ee970791123a8720bf38c39 209406 |
|
06-Jul-2005 |
wrowe |
This test for TraceEnable cases cannot be buried within the max-forwards
logic cases. |
50ca3aac0dda24e741761d5d23387b6ab293d4fe 208787 |
|
01-Jul-2005 |
wrowe |
Plug AllowTrace extended|on|off into proxy and http core.
It still is not 'correct' until REQUEST_CHUNKED_PASS is reimplemented
and passes some chunk headers, since we aren't echoing the entire
request. But it gets me further on testing 1.3 -> 2.0 -> 2.1 -> 2.0 -> 1.3
proxy behaviors. |
e5882a36d7756850cc829f5f2286120b877458b1 169692 |
|
11-May-2005 |
pquerna |
Make sure mod_rewrite always runs before mod_proxy in the translate_name hook. This makes doing RewriteRules on a Reverse Proxy.. Slightly more predictable than the order of LoadModules.
Reported By: David D. Miller <justdave bugzilla.org> |
a8523e2451f03f4a30030b7bda643a23a75d91de 160848 |
|
11-Apr-2005 |
mturk |
Add failover to mod proxy. If the service is unavailable,
check another worker in case this is balancer request.
In case the error in unrecoverable, fail with returned
status code. |
e2458a81ee951feeff648c2ca5cad2c5a744d8e5 160705 |
|
09-Apr-2005 |
mturk |
Move direct_connect out of attempt loop. No need to
calculate that value on each attempt, because it's always
the same. |
79d97c2c5e2d3f8bb2a92cd21b3b4900d7bf04d6 160690 |
|
09-Apr-2005 |
mturk |
Use two optional functions from mod_ssl so that we
can receive both is_ssl and ssl_var for ajp protocol.
This is combined work based on patch from Brad Boyer and
Joe Orton's suggestion to use ssl_var_lookup. |
ef5650b61a8e35f3cc93ec07e73efc17ea329894 153384 |
|
11-Feb-2005 |
jorton |
Move the POSIX reg* implementations into the ap_* namespace;
internalise the ap_reg*<->PCRE wrapper:
* configure.in: Add srclib/pcre to the include path.
* include/ap_regex.h: Renamed from include/pcreposix.h. Prefix all
constants with AP_; prefix all functions and types with ap_. Define
AP_DECLARE to nothing if necessary. Remove regcomp error codes.
* include/httpd.h: Include ap_regex.h not pcreposix.h.
(ap_pregcomp, ap_regexec, ap_regfree): s/regex_t/ap_regex_t/.
(ap_regexec, ap_regerror): Prototypes moved to ap_regex.h.
* server/util.c (regex_cleanup, ap_pregcomp, ap_pregsub, ap_pregfree):
Adjust for ap_ prefixed types. (ap_regexec, ap_regerror): Removed.
* server/Makefile.in: Build util_pcre.c.
* server/util_pcre.c: Copied from srclib/pcre/pcreposix.c; remove use
of PCRE-internals to do error mapping; rename types to add AP_/ap_
prefixes as above. Use APR includes. (ap_regerror): Use apr_snprintf.
* srclib/pcre/Makefile.in: Don't build pcreposix.c into libpcre.la.
* modules/*: Update to use new type and constant names.
PR: 27750 (part one)
Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
b1306729566b49fb30aed5c46adaf07a637115af 151248 |
|
04-Feb-2005 |
jerenkrantz |
mod_proxy: Fix ProxyRemoteMatch directive.
PR: 33170
Submitted by: Rici Lake <rici ricilake.net>
Reviewed by: Justin Erenkrantz |
5458a5207509284d3e399f8ad7d5ed5cdbd09732 151241 |
|
03-Feb-2005 |
striker |
Clean up some crumbs... The sandwich is next.
* modules\proxy\mod_proxy.c
(alias_match): Removed unused variables. |
570b38449923bb707bdfb043e6eed2303edd6030 151212 |
|
03-Feb-2005 |
jim |
Remove old FIX_15207 snippets |
418ee053321d0ee451bb482a9becdfcd3344201f 151153 |
|
03-Feb-2005 |
jim |
Close PR 32459, 15207. API change for PROXY_DECLARE ap_proxy_canonenc() |
efddae96ddb58b8604704137a9221d7dc61868b0 149420 |
|
01-Feb-2005 |
mturk |
Fix #32367 support for ProxyPass /foo ! |
9e3209bc06ddf32f23e4b254faa45914bc323cc9 126304 |
|
24-Jan-2005 |
jim |
Add in a weighted byte count of all traffic (in and out) as
an alternative balancing method. We do not "adjust" the
byte count wrt scheme or method, simply by factoring
in the lbfactor value. |
7b6ba9c468f26bdb3492d5e8cb79628a3b04e8c8 123882 |
|
02-Jan-2005 |
wrowe |
FINALLY Correct ap_http_method()! It is NOT a method, it's a SCHEME!
Bumped mmn, and ap module cookie, for this function rename.
It's not a deprecation, as ap_http_method would be a lovely function
name sometime in the future: to determine what the function name implies. |
9f1a88897168c3f1e5009acb585daf01e38a0299 122551 |
|
16-Dec-2004 |
jim |
simplify the BalancerMember load factor weighting. Instead of
being percentages (and adjusting when the number don't add
up), loadfactors/lbfactors are now normalized values, so
values like:
worker a b c
lbfactor 1 1 2
work as expected (ie: a gets 25%, b gets 25% and c gets 50%).
So we could also have the above as:
worker a b c
lbfactor 25 25 50
or even
worker a b c
lbfactor 15 15 30 |
b6832863054a2d09233ce92945e0faceb932a620 111858 |
|
14-Dec-2004 |
jwoolley |
"transfered" is not a word.
s/transfered/transferred/g; |
92e22cf3d516024d3ed9c6a85610e927e9b3b32d 111830 |
|
14-Dec-2004 |
jim |
grammatical parameter change... "readed" -> "read" |
081acc071cb29d1264c46684b0c608901f34eb91 111827 |
|
14-Dec-2004 |
mturk |
Make proxy address cache thread safe and available only
to pooled workers. |
a865e849a3b00dc8524ecdda09a1699452876219 109316 |
|
01-Dec-2004 |
mturk |
Add generic reverse proxy worker so that module-driven reverse proxying works. It is enabled by default, but IMO it should be configurable like any other worker so we can limit the number of outgoing connections. |
00dd9a5a2b0c1f507c332b918ea390f9c1fa991c 105457 |
|
14-Oct-2004 |
mturk |
Merge the proxy_status too. Thanks to Christian von Rouques for the patch. |
166a9c7964cffc8193764d877edce5bb9b509551 105346 |
|
29-Sep-2004 |
mturk |
Use apr_strftime instead our own format_byte_out function. |
559db7681c06b49d8b57de9edb97b430c3b4d676 105318 |
|
28-Sep-2004 |
mturk |
Make sure that we don't increase balancer worker count on
gracefull restart. Thanks to Christian...again. |
888c31d26ec2735b6e744697dcaec1ab12877b01 105298 |
|
26-Sep-2004 |
mturk |
Initialize workers for every virtual server not just for default one. |
1d2ff7570139286b0f0d16f92187a16ed5932291 105293 |
|
26-Sep-2004 |
mturk |
Remove proxy_runtime_worker and make the things simpler by
sharing runtime status accross child processes. Also make sure
that shared data is initialized after the scoreboard is created. |
67d13599fd4a5f73a2d3fc2b566a9aad60b1c892 105172 |
|
16-Sep-2004 |
mturk |
Display worker status under server-status |
00b70ae978854b5eb51722cbeda99c9067b5faf2 105171 |
|
16-Sep-2004 |
mturk |
Add maximum nuber of attempts for failover and run scheme handler
if worker is in error state up to that number.
Another great idea from Christian von Roques. |
59b96ad34c087942eea06884c97d12c2796a977a 105132 |
|
15-Sep-2004 |
mturk |
Register output function so that core can retrieve it and set
scoreboard accordingly |
01261c7d9578aadd1891f94c8ee03f32ba51db3d 105077 |
|
11-Sep-2004 |
mturk |
Add more comments to the code -- No functional change. |
858fe5d4c5e660cdc7b3b48c0ff16eede8ec7675 105070 |
|
11-Sep-2004 |
mturk |
Do not add forward proxy to other proxies. Use new function to
create the worker that isn't by default added to the list of other workers.
This enalbles mixing forward and reverse proxy functionality on the same box. |
d404460fd2291ecb675aaf01593c7ce02d2f728e 105065 |
|
10-Sep-2004 |
mturk |
Initialize the forward proxy worker too. |
655b45ecbcfe204749cddff73f149dc0ec278905 105064 |
|
10-Sep-2004 |
mturk |
Just like for balancers initialize the workers on post_config
instead on first request to skip the race condition. |
244687c788398ac85ce5766058f03a29d387aa66 105047 |
|
09-Sep-2004 |
mturk |
Add PROXY_WORKER_IGNORE_ERRORS flags that
disables puting the entire worker in retry mode, cause
for forward workers the remote is not fixed. |
609ecc54ccbd06a9286e1aaf891f80f62450b1aa 105044 |
|
09-Sep-2004 |
mturk |
Add 'default' foward proxy worker to the proxy_server_conf.
Forward worker is constructed on ProxyRequests directive
with sceme and host equals '*', meaning all. |
9738b63e3d24b2856b1b6a12fcddcbf325f26d4b 104838 |
|
26-Aug-2004 |
nd |
remove unused variables and fix some compiler warnings about const
qualifiers |
c4d7b5c09544149ad4585a13b7e6a4b943d135c8 104811 |
|
26-Aug-2004 |
mturk |
Add pool used for allocating proxy_server_conf to that struct.
It will be used for dynamic configuration, to ensure that dynamic
params has the same lifetime as the config has. |
b9b3cd7661ec354e0eee71116faa1e4afdf3fcdc 104795 |
|
25-Aug-2004 |
mturk |
Untabify the code. Have no idea who put all those tabs in sources. |
65efbf0826de766a90d745cc44427bfa4e2447b6 104794 |
|
25-Aug-2004 |
mturk |
Added ProxySet directive (can be rename to something else).
The purpose is to be able to set the worker/balancer params
withouth the need for very long config lines :
<Proxy balancer://cluster>
ProxySet stickysession=JSESSIONID
</Proxy>
Or...
ProxySet balancer://cluser nofaiover=On timeout=2 |
4fe331bfd4f1ea4cc8404ad8acdbd93a50f9988c 104793 |
|
25-Aug-2004 |
mturk |
Remove BalancerStickySession directive.
This directive was leftover from the initial implementation.
The stickysession is set using 'name=val' like any other option. |
433dc2d5dae74ed067db6175010ff973d02511e9 104784 |
|
24-Aug-2004 |
jerenkrantz |
Clean up some bogus error messages.
(I'll note that the code style in this file borders on unreadable.) |
50b2d068ddf98cf75622a0020cd143d379d1b235 104714 |
|
18-Aug-2004 |
jfclere |
Prevent / beeing accepted wrongly by the proxy when having for example:
<Location /examples/>
ProxyPass ajp://localhost:8009/examples/
</Location> |
3023f2a9f3a1a71eebbc208c54b917e1d5e986cf 104643 |
|
13-Aug-2004 |
trawick |
fix format string mismatch (int vs. apr_time_t) |
cd35eed2f309b3c0b1443c641be0c9c0212e19a6 104629 |
|
12-Aug-2004 |
wrowe |
Small status displaying fix.
Submitted by: mturk |
c0a549c3f6e8edc87e921cf76fac95d04feba72b 104627 |
|
12-Aug-2004 |
wrowe |
Added proxy status for conf, and elected member to runtime worker
Added mod_status extension for displaying runtime
status informations for load balancer.
Submitted by: mturk |
c1c0628ca9788908a5fc7502d04a89c348b75ee6 104620 |
|
12-Aug-2004 |
wrowe |
Make sure that if the pre_request was called that the post_request
gets called too, no mather what the error code is.
Submitted by: mturk |
4cc02d7521758b07c7cd240e8ea32fb7a20909cf 104616 |
|
12-Aug-2004 |
wrowe |
Use the pool for add_worker call.
Submitted by: mturk |
eee895b02dd7867622afd0a8a94f2efc7de9c618 104615 |
|
12-Aug-2004 |
wrowe |
Add pool to functions for setting worker and balancer parameters.
Still have no idea why that doesn't work without duping as JeanFrederic reported.
Submitted by: mturk |
de274dca1be855ebb66bb7857951aae26fcb54c7 104606 |
|
12-Aug-2004 |
wrowe |
Fix some config checking params.
Added route and route redirect to the runtime worker.
Submitted by: mturk |
446c6a9a1e1073798258f1237f8c848b5f917b66 104600 |
|
12-Aug-2004 |
wrowe |
Change the scheme handler hook to include worker.
We will probably need the balancer too, but that can wait for now.
Other undocumented changes (shame,shame) in proxy_util.c
Submitted by: mturk |
41c38e78e8e5dc73544571cc2b749d40869e84fa 104596 |
|
12-Aug-2004 |
wrowe |
Added KeepAlive worker option.
The scheme handler will override this setting if required, depending on the
protocol itself and keepalive_set flag.
Submitted by: mturk |
1dac466bcc84f8ebf410016dcf2a4cd4312e8611 104594 |
|
12-Aug-2004 |
wrowe |
Added iobuffersize and receivebuffersize to be worker specific.
As for timeout their default value is from proxy_conf.
Submitted by: mturk |
4c67ef499845a08771e81254ce6eb2324a160bc7 104592 |
|
12-Aug-2004 |
wrowe |
Added timeout_set for worker. Each worker can have a different timeout
the ProxyTimout sets. Also changed proxy_conf's timeout_set to int.
Use timeout_set for worker inherited from ProxyTimeout but overridable
using timout=xxx
Submitted by: mturk |
9621e4c4056383e4a2b844b14687bae500b33a82 104591 |
|
12-Aug-2004 |
wrowe |
Added acquire timeout for obtaining resources from reslist.
The timeout is in milliseconds to enable quick return in case the
reslist is exceded the maximum number of connections.
Submitted by: mturk |
97e6385784e04f68e54477610f3339fc0e2dcd86 104590 |
|
12-Aug-2004 |
wrowe |
Remove proxy_mdule_conf.
We will change the scheme hook api to include the worker.
Submitted by: mturk |
5a5a6c22260854843c973e2ea9a14bec64362ab5 104589 |
|
12-Aug-2004 |
wrowe |
Remove proxy_conn struct and add it's params to proxy_conn_rec.
Use named structure type declarations.
Submitted by: mturk |
7bcd3f64532e7da74ad6bd4a9b1cbdf52bdee068 104588 |
|
12-Aug-2004 |
wrowe |
Add worker timeout inherited from ProxyTimeout.
Submitted by: mturk |
409f0f53a83313c59f1b227ed0a340adc1081e88 104583 |
|
12-Aug-2004 |
wrowe |
Remove unusable code. The constructor and destructor will
be in proxy_util. Add a trace.
Submitted by: mturk, jfclere |
002bcf949b064d7c042465d1095cafcfc6c9b701 104579 |
|
12-Aug-2004 |
wrowe |
Use pre_pequest function and set proxy_module_conf bound to client
connection so it cen be obtained inside scheme handlers.
Submitted by: mturk |
75b0a6a06ca1f4de80e3dd2a09c9f0c7d0a56089 104577 |
|
11-Aug-2004 |
wrowe |
dup real and fake
Submitted by: jfclere |
d75bc22ab2702fa770f6935f07107efff16a76f0 104576 |
|
11-Aug-2004 |
wrowe |
Add pre_request and post_request proxy hooks.
They will be mainly used for loadbalancers for finding and maintaining workers.
Submitted by: mturk |
f215b3408281917c9d2d76699209ac11481521ba 104574 |
|
11-Aug-2004 |
wrowe |
Remove all worker/balancer API's to proxy_util.
Submitted by: mturk |
4415d997ac73262e513c0a571bd5be4f609040ba 104572 |
|
11-Aug-2004 |
wrowe |
Added API for creating balancers.
Added property setter for balancers.
Submitted by: mturk |
5d5c9e862c3d4e7f15c12d293de4111f52404760 104571 |
|
11-Aug-2004 |
wrowe |
Use RAW_ARGS instead ITERATE.
Add options for connection pool when using ProxyPass
Submitted by: mturk |
38fd849bd99e2765ee633b6dc576b5f17acdc455 104570 |
|
11-Aug-2004 |
wrowe |
Move worker params parsing to a separate function.
The same will be used for creating ProxyPass connection pools.
Added ttl param to worker for maintaining reslist.
Submitted by: mturk |
97a3bd1b38a6d33222045b3c460a7f36378110a1 104569 |
|
11-Aug-2004 |
wrowe |
Move min,smax and hmax params to worker, so they can be set
before the connection pool is created
Added init_conn_pool to worker.
Connection pool will either use reslist (if thread number > 1) or single connection.
Submitted by: mturk |
ac0ec0b79e23806b8010b721ad7f1a89070f994a 104568 |
|
11-Aug-2004 |
wrowe |
Obtain balancer using API.
Submitted by: mturk |
d52b01101efdd3a37493d1090f20eb23c4dd1521 104567 |
|
11-Aug-2004 |
wrowe |
Use API instead directly obtaining worker and balancer.
Add BalancerStickySession and BalanceMember directives.
Add workers and balancers to create and merge config.
Submitted by: mturk |
2555a6b5da21d61804f47084d8fcc98eb4acbc42 104565 |
|
11-Aug-2004 |
wrowe |
Enable backwards compatibility with 2.0-HEAD, define ajp module base,
and note CHANGES so far to proxy
Submitted by: mturk |
00211b036b78699ace57a6d800a52e6c2d57652f 104168 |
|
05-Jul-2004 |
nd |
badly encoded urls could cause a null byte skipping (read buffer overflow).
(e.g. % as last character).
avoid that. |
a812b025d139f465a31c76fc02ed162ed5271b03 104167 |
|
05-Jul-2004 |
nd |
style |
134330b92fbc39045b7e56654f4c252fb7c53803 104153 |
|
03-Jul-2004 |
nd |
fix a bunch of compiler warnings |
33cb45dc8c5106018b7c2f6ae42478b109423e0e 104070 |
|
29-Jun-2004 |
niq |
Fix for multiple proxy bugs - review please:
#10722 Reverse proxying cookies
#15207 Proxy passing canonicalised URIs to backend
#16812 Case-insensitivity of proxypassreverse
#19317 Canonicalised URI causing infinite loop
#20372 AllowEncodedSlashes
May also fix 13577 (untested)
This is really two fixes: 10722 and 15207; the others are trivial consequences.
To make review easier, the simpler fix (#15207) is entirely contained in
#ifdef FIX_15207 (new code) and
#ifndef FIX_15207 (removed code) |
e6c244ee56578707b20a86e0e938498299a93b6c 103328 |
|
10-Apr-2004 |
nd |
Fix a bunch of cases where the return code of the regex compiler
was not checked properly. This affects: mod_setenvif, mod_usertrack,
mod_proxy, mod_proxy_ftp and core.
PR: 28218 |
70535d6421eb979ac79d8f49d31cd94d75dd8b2f 102803 |
|
28-Feb-2004 |
jorton |
Move mod_ssl-internal interfaces into ssl_private.h; allow mod_ssl.h
to be included even when mod_ssl is not enabled.
* Makefile.in (install-include): Only install mod_ssl.h.
* modules/ssl/ssl_private.h: New file.
* modules/ssl/mod_ssl.h: Move everything apart from than the optional
hook definitions into ssl_private.h.
* modules/ssl/*.c: Include ssl_private.h not mod_ssl.h
* modules/ssl/config.m4: Always add the mod_ssl directory to the
include path so other modules can find mod_ssl.h.
* modules/proxy/mod_proxy.c: Include mod_ssl.h to pick up the optional
hook definitions rather than copy'n'pasting them. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
52f13df58bab77959915d669d156f89c3f1aa7ed 102572 |
|
08-Feb-2004 |
nd |
fix copyright dates according to the first check in |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
45dac0729754e413ff7c673481b219e9ab1a11f1 101361 |
|
01-Oct-2003 |
bnicholes |
Check to make sure that the file name is not NULL before passing it to the
strncmp() function. At least on NetWare this prevents the strncmp() function
from faulting and also brings the code into sync with similar checks for a NULL
file name before calling strncmp() in other areas of this file. |
65aeb4185d6a108b19c27b89f311dc57dab62239 98707 |
|
18-Feb-2003 |
nd |
Hook mod_proxy's fixup before mod_rewrite's fixup, so that by
mod_rewrite proxied URLs will not be escaped accidentally by
mod_proxy's fixup.
PR: 16368 |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
db8ac7cbb1fa6cdd6abcc4bb797d4deed32dd269 97202 |
|
14-Oct-2002 |
jim |
Haven't heard any vetoes regarding this, so might as well fold it
in. Not too happy about cluttering up the list of directives either.
But, at least, it allows 2.0 to proxy stupid IIS as much as 1.3.
Docs to come soon.
PR:
Obtained from:
Submitted by:
Reviewed by: |
8632261c895a84c88ae6ade6ea4c62b27bd22b3e 96715 |
|
08-Sep-2002 |
brianp |
Check that r->filename is non-null before trying to use
it in proxy_map_location()
PR: 12340 |
9a806b671337b22acf6418e60a83f6bbeabdf771 95976 |
|
08-Jul-2002 |
wrowe |
Changes for deprecated apr_is_fnmatch |
24efed0910118b762a4eb84830875d4714b8d315 95966 |
|
06-Jul-2002 |
ianh |
Renames Pending:
This clears the list of renames pending in apr-util.
Parts of this list was alreadu done, but the pending list hadn't been updated.
apr_hook_debug_current from apr_current_hooking_module
apr_hook_debug_show from apr_show_hook
apr_hook_global_pool from apr_global_hook_pool
apr_hook_sort_all from apr_sort_hooks
apr_uri_port_of_scheme from apr_uri_default_port_for_scheme
apr_uri_unparse from apr_uri_unparse_components
apr_uri_parse from apr_uri_parse_components
apr_uri_parse_hostinfo from apr_uri_parse_hostinfo_components
apr_uri_t from apr_uri_components
All APR_URI_* from all APU_URI_* symbols
All APR_UNP_* from all UNP_* symbols
PR:
Obtained from:
Submitted by: Thom May
Reviewed by: |
9b4c60b689b8a3f2d48d19c55d857b276d405f85 95854 |
|
23-Jun-2002 |
wrowe |
No crutches, people! |
fa861fc5a880d2c3a5ecc0ec71fa7da556adf5c1 95623 |
|
13-Jun-2002 |
wrowe |
Solve the 80/20 by initializing and storing server_rec->timeout and
server_rec->keep_alive_timeout in apr_time_interval_t format (in apr
units, whatever they be), as both values exist to pass into APR, and
all APR timeouts are in apr_time_t.
Reviewed by: Cliff Woolley |
4a98c07ecf4f27a9b18963bbe85260857664d03b 95394 |
|
30-May-2002 |
jerenkrantz |
Switch mod_proxy to using the brigade/filter calls directly rather than
the *_client_block calls. |
1cde33c7e2019830f8fb3224e01649305583916e 95150 |
|
17-May-2002 |
trawick |
stop using APLOG_NOERRNO in calls to ap_log_[pr]error() |
6bdb2c094666367615890147775bb18761216c8d 94785 |
|
24-Apr-2002 |
minfrin |
Add an intelligent error message should no proxy submodules be
valid to handle a request.
PR: 8407
Obtained from:
Submitted by:
Reviewed by: |
67f62b7a48ff9eb8d9f31898dceaf9f89280a723 94544 |
|
08-Apr-2002 |
dougm |
PR:
Obtained from:
Submitted by: Daniel Lopez <daniel@covalent.net>
Reviewed by: dougm, rbb
add optional fixup hook to proxy |
621bd763d2e4d32f19013ac8b76b375b5a01851f 94515 |
|
07-Apr-2002 |
dougm |
fix ProxyPass when frontend is https and backend is http |
de8799b6a9e8221681873ab5a81b6af6596faaaf 94350 |
|
01-Apr-2002 |
wrowe |
Fix another linkage error for 2.0.34 and cvs head |
e1d00c81dc34e2c644cc936b9dea75ec9ccfca2a 94303 |
|
29-Mar-2002 |
dougm |
import ssl_proxy_enable in the post config phase, otherwise LoadModule
order may leave us without the function. |
1723d9ccdd3b647f5b7bae44cab9ab3eca7a4874 94300 |
|
29-Mar-2002 |
dougm |
hook into mod_ssl for https support |
10306ac2c175f420e6989568f4c8535a5dbc1349 94083 |
|
21-Mar-2002 |
minfrin |
Change the header merging behaviour in proxy, as some headers
(like Set-Cookie) cannot be unmerged due to stray commas in
dates.
PR:
Obtained from:
Submitted by:
Reviewed by: |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
e9501b71b8a1e76384cb010b1e41e76a1e47aacc 93812 |
|
09-Mar-2002 |
trawick |
provide missing MAX() macro so that proxy can compile again |
afef080e47ef499a5cbceb7ad7fadbb3abca0b48 93811 |
|
09-Mar-2002 |
minfrin |
New directive ProxyIOBufferSize. Sets the size of the buffer used
when reading from a remote HTTP server in proxy.
Modify receive/send loop in proxy_http and proxy_ftp so that
should it be necessary, the remote server socket is closed before
transmitting the last buffer (set by ProxyIOBufferSize) to the
client. This prevents the backend server from being forced to hang
around while the last few bytes are transmitted to a slow client.
Fix the case where no error checking was performed on the final
brigade in the loop.
PR:
Obtained from:
Submitted by:
Reviewed by: |
9379749d811388a7d0e3410940ddd6743a33d330 93597 |
|
27-Feb-2002 |
jim |
Add the ProxyRemoteMatch directive to the mod_proxy
code. Doccos to be done soon |
e6366481b8fe06a24337f0b30b7da66cf64d6062 93375 |
|
12-Feb-2002 |
stoddard |
Out foul tabs. No function change. |
9e2bc52b9409a8d92ce1acd4f6127159a16cbff2 93147 |
|
01-Feb-2002 |
ianh |
missed a '&' |
4224d5789080ea5586d49420da1e1996f5653bb5 93117 |
|
30-Jan-2002 |
ianh |
add a ProxyTimeout directive |
4ecd546edd89824908c2a9ad2e07339d89368f9c 93111 |
|
30-Jan-2002 |
martin |
Minor tipos |
fd3fa792f04fc9c4e8f5f83dceb0fc34e71f8570 93089 |
|
29-Jan-2002 |
ianh |
new directive 'ProxyPreserveHost' which allows the incoming host line to
be sent to the proxied server.
Submitted by: g.russell@ieee.org (1.3 version)
Reviewed by: Ian Holsman/Graham Legget/Chuck Murcko |
22d348febc3c258df246ac93e37945398dbf0348 93086 |
|
29-Jan-2002 |
ianh |
configuration change.
allow a '!' directive to stop proxying these requests
eg.
ProxyPass /services/images/ !
ProxyPass /services/ http://service-machine/services/
which will stop requests to /services/images/ from being proxied
Submitted by: Jukka Pihl <jukka.pihl@entirem.com>
Reviewed by: Ian Holsman, Graham Legget, Chuck Murcko |
52489511342e4ff3fe399e57f29d38e5c4227bc8 92882 |
|
17-Jan-2002 |
trawick |
Fix a problem in the parsing of the <Proxy foo> directive. |
3d350b6e1cb11fa790a6adb428856b5dd9857fec 92253 |
|
29-Nov-2001 |
ianh |
r->headers_in is shared by original requests and components (make no sense
copy them for components), but each component has its own r->pool.
So once the first component set "Max-Forwards", it is in headers_in
but the value could get lost with the first component's r->pool.
Hence I sometimes see "Max-Forwards" has value like letter "l".
Change it to use apr_table_set() fixed the problem.
Submitted by: Jin Hong <jinh@cnet.com> |
759554f16128a82e3781510c480784b227843b46 92021 |
|
17-Nov-2001 |
ianh |
ProxyPass wasn't sending the right URL through to the backend server |
36a72c96fc2dda27eadbae8a108fa428cc1419c1 91561 |
|
19-Oct-2001 |
wrowe |
And where, praytell, should mod_proxy.c find ap_send_http_options
and ap_send_http_trace? |
16d38ac65d7e54cd44eeda7b23f84ee68b35094e 91544 |
|
18-Oct-2001 |
wrowe |
As GStein points out... comment here would be helpful |
d1fa75d2a79fc98b5e14f80a00526fdaca8973e6 91424 |
|
11-Oct-2001 |
wrowe |
Aye, it's bogus. Something very odd about short terniary results on
this C[++] compiler here, wants to promote to the conditition's type :-/ |
dcc56911d2b95e73554ff8ced9f72fd456d73881 91172 |
|
28-Sep-2001 |
minfrin |
Fix the "merge" behaviour of the ProxyErrorOverride directive.
PR:
Obtained from:
Submitted by:
Reviewed by: |
4a7df15077ff65dbf3b2cf68fa3063273ac0a547 91171 |
|
28-Sep-2001 |
minfrin |
Some style cleanups related to the ProxyErrorOverride function.
PR:
Obtained from:
Submitted by:
Reviewed by: |
bba9699051a8131161e072fa8f232dcf36bf0b1a 91165 |
|
27-Sep-2001 |
orlikowski |
Change ProxyHTTPOverrideReturnedErrors command to ProxyErrorOverride
Docs update to follow.
Submitted by: Ian Holsman <ianh@cnet.com> |
f35bb5c747e17634154fb4f8e0ca48afc5940ee4 91155 |
|
26-Sep-2001 |
ianh |
change command name so that it starts with 'Proxy'
fix the command so that it returns 'OK' instead of 'HTTP_OK'
PR:
Obtained from:
Submitted by:
Reviewed by: |
ff1234e45aca1b8171d711ecb87f58b9d9100a99 91092 |
|
20-Sep-2001 |
ianh |
Added New Option 'HTTPProxyOverrideReturnedErrors' which lets the server override
the error pages returned from the proxied server and replace them with the standard
server error handling on the main server.
Reviewed by: Graham, Chuck |
9b3001f2097437c3c605d29e353fda5131b9952b 90777 |
|
29-Aug-2001 |
minfrin |
Fix some warnings...
PR:
Obtained from:
Submitted by:
Reviewed by: |
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cb 90678 |
|
26-Aug-2001 |
wrowe |
Split proxy: space using <Proxy[Match] > directive blocks from
the <Directory[Match] > and <Files[Match] > blocks. Mod_proxy
now bypasses the directory and files testing phase (and skips
the http TRACE default handler on it's own, as well). Note that
<Location > blocks continue to be processed for proxy: requests.
Remaining questions include canonicalization and case folding
of proxied uri space, prior to the proxy_walk testing and the
second <Location > walk. |
b999f6ba2a266bf9a92687f31bb7e76021ac5891 90402 |
|
20-Aug-2001 |
ianh |
adjust to apr_uri_ rename
Submitted by: dougm@apache.org
Reviewed by: ianh@apache.org |
2e7198b49257c8221f16c2b5db657ae6897b0992 90176 |
|
15-Aug-2001 |
orlikowski |
Fix an off-by-one error in an argument to apr_pstrcat.
Submitted by: barbee@veribox.net |
acb685561ae13c9216c96383ce260ed88ea663b2 89829 |
|
31-Jul-2001 |
orlikowski |
Nobody screamed. ;)
This gets rid of ap_proxy_host2addr, and a few other useless functions,
and allows us to be threadsafe when doing DNS resolution. |
9453de6a918fa711e99072b0e7b7c72ef39ef457 89520 |
|
09-Jul-2001 |
chuck |
fix params for logging call |
529005244758297d4415aa912c67a67f805349bc 89425 |
|
27-Jun-2001 |
ianh |
Fixed up formatting (removed tabs) |
93aa7afe1af831ee8b23aa0d97323c388e3fb8d3 89424 |
|
27-Jun-2001 |
ianh |
ProxyPass & ProxyPass Reverse now can be specified in <Location> directives |
dc341925f8f289b12112314d102139725a917464 89210 |
|
23-May-2001 |
orlikowski |
Bletch. The Proxy Janitor botches the job again.
Thanks to Ian Holsman for the catch. |
9c70fe7952482a4b0bae89806525243c63a28212 89204 |
|
22-May-2001 |
orlikowski |
Fixes to proxy, after util-uri move, plus fixes to the .mak file. |
effec4f1cfb63d440447b9869712e45e7a25c91a 88867 |
|
15-Apr-2001 |
minfrin |
Oops - the proxy host and port were left off when the proxy tries to
run the handler to connect to a proxy server.
PR:
Obtained from:
Reviewed by: |
2e41eca72bcc4167d1871b0941ee79845540d58e 88866 |
|
15-Apr-2001 |
minfrin |
Split each individual proxy protocol into separate modules.
PR:
Obtained from:
Reviewed by: |
68ce856106f153813339db8670f6cd0ab8dea484 88854 |
|
14-Apr-2001 |
minfrin |
Make hooks work for the *_canon() functions. Work continues.
PR:
Obtained from:
Reviewed by: |
6335eb31f0f0ed54628a04ed32946360b8b77684 88853 |
|
14-Apr-2001 |
minfrin |
Initial support for proxy protocol handler sub-modules. Work continues.
PR:
Obtained from:
Reviewed by: |
35c9e4d2c0a6465746a98958ef756114834461e6 88848 |
|
13-Apr-2001 |
minfrin |
Added Max-Forwards support for all request types so as to prevent
loops.
PR: 1085
Obtained from:
Reviewed by: |
05b232c7bd0b185d329bab8a30eefe1ca38bd6b8 88817 |
|
12-Apr-2001 |
minfrin |
FTP directory filter works now.
Many FIXME notes added.
Much overhauling of proxy_ftp.c
PR:
Obtained from:
Reviewed by: |
995a11def54f1eb5a39099594d0d8bee4dbb33f4 88793 |
|
10-Apr-2001 |
minfrin |
We now keep the entire conn_rec across downstream keepalives, not
just the socket.
Made the "keepalive mismatch" message more accurate.
PR:
Obtained from:
Reviewed by: |
7aeac3e3e334cb421641c1a317b5d926e9dbd44c 88780 |
|
10-Apr-2001 |
minfrin |
More fixes...
PR:
Obtained from:
Reviewed by: |
7708bd70088b64148d7d78fd84ede43ced63c713 88770 |
|
09-Apr-2001 |
minfrin |
Stopped the CORE filter from sending off an HTTP response when a
CONNECT tunnel was closed. Fixed some filter definition madness that
proves that I need some sleep.
PR:
Obtained from:
Reviewed by: |
a6fc1f3e5f9a478080cea4715aba49d17a7ccbf8 88740 |
|
06-Apr-2001 |
minfrin |
Bugfixes to proxy_ftp.c -> in some places uri_addr was used instead
of connect_addr - all hail cut and paste!
PR:
Obtained from:
Submitted by:
Reviewed by: |
3c59b18ce62f97468aaa5951d4e21a5478ef36ec 88739 |
|
06-Apr-2001 |
minfrin |
Converted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
Fixed up the header files
PR:
Obtained from:
Submitted by:
Reviewed by: |
92fb544f5122af848244a48acda27efb7759c9cb 88732 |
|
05-Apr-2001 |
minfrin |
Cleanup of dead functions within proxy_util.c.
PR:
Obtained from:
Reviewed by: |
9865751743e928ea0a9ad83faa04a738001932de 88730 |
|
05-Apr-2001 |
minfrin |
Reworked the storage of the client socket between keepalive connections
to fix some nasty problems with the socket lasting longer than the
memory pool it was allocated from.
PR:
Obtained from:
Reviewed by: |
dd30db1d9a88526ceda100b61aad90168a2cb98c 88721 |
|
04-Apr-2001 |
minfrin |
Some code rewriting in ap_proxy_connect_handler():
*) Fixed bug where a hostname without a "." in it (such as "localhost")
would not trigger an IP address check with ProxyBlock.
*) Fixed ProxyBlock bugs with ap_proxy_http_handler() and
ap_proxy_connect_handler().
*) Updated ap_proxy_connect_handler() to support APR, while
moving some common code between http_handler and connect_handler
to proxy_util.c.
PR:
Obtained from:
Reviewed by: |
f22051090565b48d837694b9bd5b742c4c65caaf 88659 |
|
02-Apr-2001 |
minfrin |
Fixing a few compiler warnings with mod_proxy
PR:
Obtained from:
Reviewed by: |
a6314dfa8dd8a0d69db16288581e4950a2dd3955 88648 |
|
02-Apr-2001 |
minfrin |
*) Added support for downstream keepalives in mod_proxy.
*) Changed mod_proxy ap_proxy_http_handler() to support APR properly.
PR:
Obtained from:
Reviewed by: |
e2b2e15108eb7cb566b1d70ce4e479276d951de5 88579 |
|
25-Mar-2001 |
minfrin |
Header Bugfix / General Cleanups in ap_proxy_http_handler / X-Forwarded-* headers
PR:
Obtained from:
Reviewed by: Chuck Murcko |
cb3cb4d60ac28163d3159c7b26593413fad6cd3e 88534 |
|
19-Mar-2001 |
chuck |
reorganize STATUS; update copyright |
1d7f1b96b49dafbd6cb414fb709cb85de2686a72 88533 |
|
18-Mar-2001 |
chuck |
The mod_proxy side of Graham's Auth patch
Obtained from: Graham Leggett
Reviewed by: Chuck Murcko |
5d51484b9894f7be457804197ebb1e5e32664790 88488 |
|
11-Mar-2001 |
chuck |
remove ProxyNoCache and ProxyCacheForceCompletion config directives,
since we no longer directly cache from this module
PR:
Obtained from:
Submitted by:
Reviewed by: |
d5ea44510f258c84b08a9cecd1804cc41fabfc45 88487 |
|
11-Mar-2001 |
chuck |
Cache removed, with other spooge
PR:
Obtained from:
Submitted by:
Reviewed by: |
af952917c05e56874069e1e5f64e6473bb478b68 88485 |
|
10-Mar-2001 |
minfrin |
Virtual host config file fix backported from v1.3
PR:
Obtained from:
Reviewed by: |
066877f1a045103acfdd376d48cdd473c33f409b 88019 |
|
08-Feb-2001 |
dougm |
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by: |
fdacf528f0125e0165de42b7783b1dcbf961a189 88004 |
|
07-Feb-2001 |
chuck |
Changes to get running on the current codebase
PR:
Obtained from:
Submitted by:
Reviewed by: |
b980ad7fdc218b4855cde9f75a747527f50c554d 87731 |
|
19-Jan-2001 |
wrowe |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed. |
73e8b26287de5c06fa470d36162e103dbac9c7e5 87697 |
|
17-Jan-2001 |
wrowe |
Provide apr_pool_t arg to register_hooks, since anything they do in that
step -must- be done with a pool that will not outlive the cmd pool, from
which they may have been dynamically loaded. |
dec91c8938ddfd2904d4c1c2f382e8eb50da54b8 87013 |
|
18-Nov-2000 |
rbb |
Begin to remove some of the cache-ing logic from the http proxy. |
d7387fcd4969206172e3a2a8bbcd25a3d7011ac5 86966 |
|
14-Nov-2000 |
rbb |
Get the proxy to look at requests that are being proxied again. In the
big commit of the other day, a few !r->proxyreq's were changed to
r->proxyreq, which made the proxy decline requests when it shouldn't
have.
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
Reviewed by: Ryan Bloom |
8a1e3e302a46f468054887a62abdbd9c98f3daa5 86962 |
|
14-Nov-2000 |
rbb |
Get the proxy working again. With this change in, I have successfully
proxied a page from perl.apache.org. |
11c3b5180e1de6776035320b012a28bb146e7b46 86921 |
|
11-Nov-2000 |
chuck |
This is the 1.3.x current proxy code into 2.0.
PR:
Obtained from: Sam Magnuson
Submitted by: Chuck Murcko
Reviewed by: |
3d96ee83babeec32482c9082c9426340cee8c44d 86609 |
|
16-Oct-2000 |
wrowe |
Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion. |
a2f9f38db0931e6edf7b71378dd680c3c5fa5841 86440 |
|
08-Oct-2000 |
rbb |
Remove all compiler warnings from the proxy code. There are no garauntees
that this still works, but most of the changes were just const-safeness
changes.
PR: 6631 |
10a4cdd68ef1ca0e54af296fe1d08ac00150c90b 86008 |
|
06-Aug-2000 |
wrowe |
Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
see src/lib/apr/apr_compat.h for most details.
Also a few minor nits to get Win32 to build.
PR:
Obtained from:
Submitted by:
Reviewed by: |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
9cb787a8a3d06704ab9c51ffd51525b364151182 85860 |
|
18-Jul-2000 |
trawick |
Fix some bad ap_log_error() invocations. Comment on a bad
ap_log_rerror() invocation.
Almost all of this is in code never compiled. |
5babe00918c88eda487771fa6d6d4a1a19c0ced0 85552 |
|
12-Jun-2000 |
chuck |
New mod_proxy/mod_cache (file cache) for 2.0. This uses a caching API so
that shared mem, LDAP servers, DBs, etc. can also be used for proxy
caching. The caching API is very young, and subject to change as APR changes.
proxy_cache.c from the proxy subdir is no longer used.
Build with --enable-modules=proxy,cache
Lightly tested on Linux, no warranties expressed or implied yet.
Still to do:
strerror(), waitpid(), stat() cleanups
address issues marked by @@@FIXME
add HTTP/1.1
This should be considered a *reference* proxy implementation for 2.0. What
actually ends up shipping with 2.0 is likely going to be rather different as
the redesign evolves. This may end up being the 2.0 backwards compatibility
workalike.
Modified to work with today's conf/build/layout scheme
PR:
Obtained from:
Submitted by: Sam Magnuson
Reviewed by: Chuck Murcko |
e68becff3c3ddc18723c9799b8cc2e6e9c3dbd66 85318 |
|
28-May-2000 |
wrowe |
PR:
Obtained from:
Submitted by:
Reviewed by:
Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT
names for linkage (API_, CORE_, and MODULE_). |
30c289e6bc6d28d210b21edd800ab2cfc78a8381 85309 |
|
27-May-2000 |
wrowe |
This patch corrects the issues from the AP_EXPORT and linkage
specification arguments to the ap_hooks.h declarations. As with
the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR,
and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR.
I will be happy to revert the inclusion of ap_config.h from
httpd.h if this bothers anyone. More individual modules need
to be patched if we do so.
The API_EXPORTs all moved into central storage in the ap_config.h
header. Without WIN32 or API_STATIC compile time declarations,
these macros remain no-ops.
This patch also moves the following data from http_main to http_config:
const char *ap_server_argv0;
const char *ap_server_root;
ap_array_header_t *ap_server_pre_read_config;
ap_array_header_t *ap_server_post_read_config;
ap_array_header_t *ap_server_config_defines;
And the following variables had already moved into ap_hooks.c:
ap_pool_t *g_pHookPool; (initialized now in http_config)
int g_bDebugHooks; (out of http_config)
const char *g_szCurrentHookName; (out of http_config)
The changes to http_main.c are in preparation for that module to
move out to a seperate .exe for win32. Other platforms will be
unaffected, outside of these changes. |
404e2e1f8ad30c2d996f5fb6b3a9a4a4a14a004b 84963 |
|
14-Apr-2000 |
rbb |
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages
on Linux, but probably breaks somewhere. |
ab2c1c1c83ec91415565da5a71fbc15d9685caa6 84879 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
64185f9824e42f21ca7b9ae6c004484215c031a7 84725 |
|
10-Mar-2000 |
rbb |
Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license |
407cde44becba3694e7c3d81ac99b5d86f4b03a9 84135 |
|
19-Nov-1999 |
rbb |
Finish the conversion from fprintf(stderr -> ap_log_err. |
b4c8a80f7dbfc9b56dbe03bdc28f0b5eb5f23697 83852 |
|
31-Aug-1999 |
rbb |
Changed pools to contexts. Tested with prefork and pthread mpm's. I'll
check this out tomorrow and make sure everything was checked in correctly. |
0f081398cf0eef8cc7c66a535d450110a92dc8ae 83751 |
|
24-Aug-1999 |
fielding |
Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group |