333de7164943715537e494f70860df3c6e7ff9e6 1664356 |
|
05-Mar-2015 |
jim |
Fresheh html
BUGZ:55466 |
87018794c456a232364f933043fa42670377c755 1664133 |
|
04-Mar-2015 |
rpluem |
* Fix typo in error message |
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. |
bb8b22a3708a815a8fcd0c8d5c8de46c25240cc1 1626050 |
|
18-Sep-2014 |
jailletc36 |
Concat string at compile time when possible.
Doing so, sometimes also give the opportunity to turn a 'ap_fputstrs' into a 'ap_fputs'.
PR 53741 |
15890c9306ba98f6fc243e15a3c4778ddc7d773e 1595305 |
|
16-May-2014 |
rpluem |
* Correctly escape user provided data.
PR: 56532
Submitted by: Maksymilian <max cert.cx>
Reviewed by: rpluem |
345d7aac2f2b8a58744624cc5dff2d44c84cfa14 1533087 |
|
17-Oct-2013 |
jim |
Put the uds path in its own field, and adjust the logic
to look for an empty string rather than a flag. |
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. |
6cc00463b0a1424a918847cfed61c10b44b60e06 1524158 |
|
17-Sep-2013 |
jim |
More cool info ;) |
a8ff930dad82ee1c0ddbd9fd4e39015ba1038ad8 1524101 |
|
17-Sep-2013 |
druggeri |
Add note to balancer manager whether changes will/will not survive a restart |
5e0bd1053b190adf7a6ba777fd76eeab2a8af121 1501399 |
|
09-Jul-2013 |
jim |
We are no longer pre-grabbing. |
4ba028cce00a9243dae232c0c37cb8245f31e148 1501369 |
|
09-Jul-2013 |
jim |
Ensure balancer runs after proxy for mutex creation |
2344a0c1817b88b6df61fc4ed0c6af66bb93ee6b 1480627 |
|
09-May-2013 |
jim |
Mod_proxy used the global pool w/o mutex. fix. |
fb5e4869b57545ff534add0a4b0ded84cc68212b 1465839 |
|
09-Apr-2013 |
druggeri |
Add failontimeout to allow server admin to mark balancer member in err if IO timeout occurs. |
6fb984bb49f217c3b76cdbe864f105d2e74e52ed 1421953 |
|
14-Dec-2012 |
jim |
Allow for searching w/i shm slots for a specific worker and balancer |
c896413ef7cc4cf8cea20c6783d0a93a9d77dc21 1419796 |
|
10-Dec-2012 |
jailletc36 |
mod_proxy_balancer: It's totally unclear what Drn, Dis, Ign, Stby means.
PR 52478 |
9130b21055b5a10441c608b3219484757d459be4 1418524 |
|
07-Dec-2012 |
jailletc36 |
Use ap_rputs instead of ap_rvputs where applicable. |
dcd19776e8e3d73519ffb0201d6dfea67f0aeb3e 1413732 |
|
26-Nov-2012 |
jim |
CVE-2012-3499 and CVE-2012-4558
Be sure to escape potential troubled strings |
20eead0b01d51fce0cc17d04b8f98ec38eac68ae 1404653 |
|
01-Nov-2012 |
jim |
Allow for setting of sticky session split char...
Bugz 53893 |
0f4884c0912437b5f768f167c2d97b9a6168d463 1392346 |
|
01-Oct-2012 |
jim |
and allow the xml param |
3ec4794d367a5cfceef9ae66928dcfcb600850ae 1392345 |
|
01-Oct-2012 |
jim |
Bring XML output up to snuff for balancer-manager |
fc744cfec2673a606b773e26045684049941c2bb 1387979 |
|
20-Sep-2012 |
jim |
fix clang warning (dead initialization) |
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.... |
1b0760b10f93eb1e0f52e28aa20cd821c68ac217 1387444 |
|
19-Sep-2012 |
jim |
Use identifying server_rec info when we know we have
unique and useful data :) |
57db302f0875a6c93a79333b8941cea4c1827272 1387110 |
|
18-Sep-2012 |
jim |
Persist local balancer-manager changes across restart/graceful. |
043b89ed49aa19df2894bc4d4953eb03f0c1e042 1374157 |
|
17-Aug-2012 |
rjung |
No rv here. |
ecd29be3e73a1fc5c79d90d2c972520c381f534d 1366344 |
|
27-Jul-2012 |
trawick |
mod_proxy_balancer: Restore balancing after a failed worker has
recovered when using lbmethod_bybusyness.
PR: 48735
Markus Stoll and Adam C both submitted patches against 2.2.x
to bug 48735. Compared with those two, this solution
1. resets the busy field in the error-ed worker at the end of
the request instead of at recovery time
2. leaves the lbstatus field alone
3. covers all possible scenarios where the busy field in the
error-ed worker needs to be adjusted, since a cleanup to
perform the decrement is registered at the point of the
increment |
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 |
62111b57f5415db6dab1b9463cab92bdff750d37 1299738 |
|
12-Mar-2012 |
covener |
Stray/confusing "recovery" in this failonstatus=XXX error message seems
to be a copy/paste error. |
3f6d1832bb3a0ac60601b841c358197be4c81a13 1240181 |
|
03-Feb-2012 |
mturk |
Fix PR52402. Check if the shared memory was already created for this proxy_server_conf |
56cb0c7af1012aa5946c78c52a9473b7042c8f2e 1240171 |
|
03-Feb-2012 |
mturk |
oops, this got forgotten when copy/paste from dev branch |
6689154276f7ed62013ccf095d7855cf9451ebcd 1240164 |
|
03-Feb-2012 |
mturk |
C/C++ 101 on how to traverse the array of pointers ;). Fix core |
723f28377d133603c20f4986d98992a9c43366ab 1220493 |
|
18-Dec-2011 |
sf |
Various code cleanup to avoid compiler, cppcheck, or clang warnings:
modules/debugging/mod_firehose.c: Make some internal functions static
(to do: logs_cleanup() is unused)
modules/filters/mod_charset_lite.c: Remove dead assignments
modules/filters/mod_include.c: likewise
modules/metadata/mod_usertrack.c: likewise
modules/proxy/mod_proxy_ftp.c: likewise
modules/ssl/ssl_engine_pphrase.c: likewise
modules/proxy/mod_proxy_balancer.c: likewise;
Remove NULL check that can never happen
modules/proxy/proxy_util.c: Axe NULL-check that can never happen and if it
would, it would just mask another bug
os/unix/unixd.c: likewise
modules/http/http_filters.c: Remove sub-condition that is always true
modules/lua/mod_lua.c: Add default cases to switch statements
modules/generators/mod_autoindex.c: Unsigned value can never be < 0
server/util_expr_eval.c: Fix compiler warnings with VC and on OS2 |
59bdac473e4f8e7b7aa2548947722c278289ed26 1210252 |
|
04-Dec-2011 |
sf |
Add some more log message tags
Remove some log message tags from ap_log_* calls that log lots of
different error messages, in particular the config parsing errors.
Not sure how we should handle those.
ssl_util.c: Downgrade some dynamic locking messages from level DEBUG
to TRACE1-3 |
e8a023c6d3ea9f0faa895cbc7bdd649efb8a01d6 1210221 |
|
04-Dec-2011 |
sf |
Change the provider names to match the module names:
mod_slotmem_shm: shared -> shm
mod_socache_memcache: mc -> memcache |
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. |
fb537a723eaa3c518cadab36c25583bc8470d7df 1208411 |
|
30-Nov-2011 |
jim |
use a style sheet... ideally we would pull one off the filesystem,
but for now... |
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... |
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. |
69fadabda5eb26368d8dced4708bf488ca7a2fe5 1206268 |
|
25-Nov-2011 |
jim |
Allow compile time changes of field sizes and be more
"clear" regarding the diff between balancer and worker slots... |
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 |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
714a36287cb6cc92748d7e87bbe549d660acae1c 1146737 |
|
14-Jul-2011 |
trawick |
fix def'n of AP_SLOTMEM_PROVIDER_VERSION, use it |
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. |
12b170a812f740fafc96da32a188a8b2761a3d5c 1101067 |
|
09-May-2011 |
jim |
Cleanup... most don't need apr_hooks.h at all... |
3c930bff0b0aef67a73de31db28e897323d31344 1088620 |
|
04-Apr-2011 |
jim |
better error message |
7b84b0b2e9e712334b3c095e86cb720666a73945 1087415 |
|
31-Mar-2011 |
jim |
Make the 'need to reset' more generic by extending its reach |
0cebbbe2b9b7f92eeadf2fbf83432e4a47f8d41c 1087413 |
|
31-Mar-2011 |
jim |
Better knowledge of when to adjust.
More info from b-m |
fc72c3c272c85ce40db4115c071b37828535b499 1087371 |
|
31-Mar-2011 |
jim |
If we change the LB method, or we take add in a new
balancermember ("enable" her), then we need to have the
LBmethod reset its params as required... |
7af19efc4667363f74d332a8d010b49e88d56fd5 1080821 |
|
12-Mar-2011 |
trawick |
fix some grammar mistakes, mostly in comments |
de446ce1c5cc5df1bb4e530c7e4495b56c7572fc 1073728 |
|
23-Feb-2011 |
jim |
protect one-off boundary |
f3c2d9440805fc587c903789cfe29b5c19ea7779 1073520 |
|
22-Feb-2011 |
jim |
Be at least somewhat more RESTful... Use POST for changing stuff. |
5b439d3976ab9363288cf5132902fad230777523 1072098 |
|
18-Feb-2011 |
jim |
No longer depend on how fork() works when laying out segments...
function pointers in shm are... nasty ;) |
59d316b83d42d2a07e25c20d8c35a07b369618bd 1070153 |
|
12-Feb-2011 |
sf |
Use ap_state_query() to fix many modules that were not correctly initializing
if they were not active during server startup but got enabled later during a
graceful restart (in which case they need to do all work during a single
config run). |
8ae2b553788d7f2c14ad6b9222ff76226886fe66 1069381 |
|
10-Feb-2011 |
jim |
move function... |
7f6d37edb476fa67c2839e24027fd320ff99eb91 1068879 |
|
09-Feb-2011 |
jim |
Ugg... unbalanced workers *do* need a mutex as well (good catch Rüdiger!) |
c4fc131bf9bdc9c57de349331dc4db2cb55b2b7e 1068873 |
|
09-Feb-2011 |
jim |
typo |
09d4614c5f2744b6d79076f48ecf4e8f1e6eb2d0 1068871 |
|
09-Feb-2011 |
jim |
Squash error/warning about signed/unsigned comparison |
4952d93743af3632518d1c925fac5227720cf64a 1068581 |
|
08-Feb-2011 |
jim |
Remove the thread mutex from the worker... it really should be
in the balancer. Thus we have global and thread for the balancer.
Use global when updating the full, shm list of workers; use
thread when being local. |
18e0d22e6c738e3acf7b833e7f99c3e878c98bbe 1068020 |
|
07-Feb-2011 |
jim |
Keep track of how many workers we've used so far... no need
to provide field to add another if no slots exist. |
63a4bfebeb4879f64f5d6b7682fa09f80326a1b2 1067965 |
|
07-Feb-2011 |
jim |
Mutex around adding a new worker... |
0f833b82e9d9a9e500b5cddb5be9c7db1d620106 1067276 |
|
04-Feb-2011 |
jim |
Lock around the time when we're mucking w/ balancers... |
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. |
8623259b1148b6aed977eb25528c2f42e83b42a8 1067206 |
|
04-Feb-2011 |
jim |
might as well allow for the sticky session to be adjusted as well... |
0133557092c33c98d6fb78bee48f319ab31a0147 1067178 |
|
04-Feb-2011 |
jim |
And yet more balancer params that can be changed at runtime via
the b-m application...
next up, of course, is adding new workers ;) |
77ec6a0f4c4458e17ced7f83ac1217d7b757bc81 1066607 |
|
02-Feb-2011 |
jim |
Optimize... create a struct to hold the worker status info
(need to align w/ set_params later on) and note when we
update timestamps |
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... |
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 |
cb7cf74a315df272e2ec329ce2ef1d50b82b8384 1065748 |
|
31-Jan-2011 |
jim |
Move some "nice to be able to change" balancer stuff to shm |
dac0f846350698d2a3e65c814daf82721bafc502 1060802 |
|
19-Jan-2011 |
jim |
Make it clear that '_' is a possible char and accepted |
b8055f3cb7e560830169cd1117a47b86abae41b4 1060657 |
|
19-Jan-2011 |
jim |
Make the balancer shared memory slot more human readable. But we need
to make it a "safe" filename, so create 2 funcs which do that. |
06192ac64ddfc7a5f9be5057b1d291fbf8db9c94 1060112 |
|
17-Jan-2011 |
rjung |
Align proxy_worker_shared in slotmem shm
using default APR alignment. |
4b155326ef6781820619c10e518dce1a44df7f91 1060109 |
|
17-Jan-2011 |
rjung |
mod_slotmem_shm is a predecessor of
mod_proxy_balancer, not mod_proxy. |
772a15262a38c87094e98ab2b6bc63d9c14b78a4 1058795 |
|
14-Jan-2011 |
jim |
Display number of members possible per balancer |
1e01c503e61405fc6c031f626a7d2698999858ff 1058630 |
|
13-Jan-2011 |
jim |
And check the nonce, taking care to ensure that the
form actually specified a balancer. |
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 |
02b4bc3a47e19851407c48ed56883f06b32ada02 1031798 |
|
05-Nov-2010 |
jim |
a pointer optim. |
c90ad9c12e80d8b33b830525eb42e58580eac5da 1024449 |
|
20-Oct-2010 |
minfrin |
Avoid unnecessariy initialisation before we test handler name. |
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> |
25332c5e47c170ce24decd245ff37b36ec7499da 984188 |
|
10-Aug-2010 |
jim |
Fold in some stuff to allow for matching of workers
to their actual scoreboard slots, independent of slot
ID. |
ab364c14d11072380abeab42015e19c3db3336c1 982046 |
|
04-Aug-2010 |
sf |
remove more useless use of strlen |
dbd56281c9ed4c1827e312f18e48253592bd100b 962972 |
|
11-Jul-2010 |
trawick |
follow up to r930125
change log message when forcing worker into error state:
* APLOG_ERR instead of unsuppressible APLOG_NOTICE
* follow formatting of existing proxy messages more closely |
c6cf638d68b4cfff4f74ebc360abca97ad38cd71 951900 |
|
06-Jun-2010 |
sf |
- Be less verbose at levels INFO and DEBUG in mod_proxy* and mod_ssl
- Add some trace logging to core and http |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
841c7d1d531421352f484df81fae8778f4c38a0d 936880 |
|
22-Apr-2010 |
jim |
Move back to a post_config hook... |
64b2129ad3f3ec6a1dc9c4e9219e13babd9c801b 936828 |
|
22-Apr-2010 |
jfclere |
Add updatelbstatus to allow to have all the LB logic in the balancers. |
c6124d7fde07b58d51785d0f1cb509026eeaa138 936407 |
|
21-Apr-2010 |
jim |
Add in BalancerNonce directive... useful for shared-secrets. |
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>] |
b9a830d395feaa66ab621841a5cd86e1fa2d184b 891230 |
|
16-Dec-2009 |
rjung |
Fix crash in balancer-manager.
This was due to an incomplete refactoring in
r771940 (switching balancer->workers to an
array of pointers).
It's likely that other balancer functionality
was broken too. |
e1480e6c25fb7caba87a9b2629f8371dea7ad9cf 795954 |
|
20-Jul-2009 |
jim |
In the case where we have no members, they aren't in error
states :) |
9da7dc7436f9393cb1631eddd6749039b0361bcc 774774 |
|
14-May-2009 |
jim |
unused var |
8bdc4cb75d3c80f41f63ef78ef0ab476fb4554d9 774428 |
|
13-May-2009 |
jim |
standard method |
6a4043fd04bbd44ca0d084c096318df035abc46d 774400 |
|
13-May-2009 |
jfclere |
Allow the load balancing method to "create" workers. |
9a0e1ad272fdbe3fee989e93bdae8253418429ed 773929 |
|
12-May-2009 |
jfclere |
Arrange the proxy_balancer_method:
- Put context back after the finder().
- Use server_rec as second parameter for reset() and age().
- Add the call for reset(). |
cb87bd3d86e01c8d044b218a34043f335861d817 772279 |
|
06-May-2009 |
jim |
update comment |
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(). |
e843663ff0e47a688707643651139a9e88756449 734710 |
|
15-Jan-2009 |
rpluem |
* Try first if we find any "recoverable" workers before we force them to
recover. |
c91ce4e93e51611eb5e85cb73a1980ac98152030 722952 |
|
03-Dec-2008 |
jim |
All lbmethods are now ind submodules... |
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. |
b895159ae6b8bd86985bb8b6907e761db4be4fad 687099 |
|
19-Aug-2008 |
jim |
Add in additional logging and use correct formats |
f5611e0f3ffc2166961ec49e0273f5a5df667442 686809 |
|
18-Aug-2008 |
jim |
Remove trailing path element, ala ./jk/native/common/jk_lb_worker.c,
but use apr_strtok niceness. PR: 45158 |
ad9438d62e51f5785e0175c2d3e5308df5968a6c 686805 |
|
18-Aug-2008 |
jim |
Add in bybusyness LB method, via Joel Gluth in
https://issues.apache.org/bugzilla/show_bug.cgi?id=45501
NOTE: Name changed and added in to ease enhancement/bugfixes |
2d5c22504b2589afac7c93c9530b31aa07532c45 683373 |
|
06-Aug-2008 |
rpluem |
* Move nonce field inside the html form.
PR: 45578 |
07eda588cfcf419ad1d8541ca78254755535d95d 663967 |
|
06-Jun-2008 |
jorton |
No functional change; simplify the CVE-2007-6420 fix slightly, as
suggested by rpluem:
* modules/proxy/mod_proxy_balancer.c (balancer_init): Serialize the
UUID to a string here...
(balancer_handler): ...rather than here. |
7a56c2ffe7c5df81f2c623da2e7343adaa669e8a 661666 |
|
30-May-2008 |
jorton |
Prevent CSRF attacks against the balancer-manager (CVE-2007-6420)
* modules/proxy/mod_proxy_balancer.c (balancer_init): New function.
(balancer_handler): Place a nonce in the form output, and check that
the submitted form data includes that nonce.
(ap_proxy_balancer_register_hook): Register the new post_config hook. |
5dab3ba6afc9bfa8bb7776e3a3d72544960e3244 661459 |
|
29-May-2008 |
rpluem |
* Set at init time and combine comments. |
1567f1976ffd1574b2c2a3010bfc95dda18bfb0e 661452 |
|
29-May-2008 |
rpluem |
* Do not add the query string again in the case that we are using the
unparsed uri.
PR: 44803 |
d6e81217d873dc3b87fc4ffa5fbac2fad4191a15 645455 |
|
07-Apr-2008 |
pquerna |
Remove all references to CORE_PRIVATE. |
ac1df18dac383d0596ba2a6c7dc4ca9c8722a1da 607275 |
|
28-Dec-2007 |
rpluem |
* Correctly escape the worker route and the worker redirect string in the HTML
output of the balancer manager.
Reported by SecurityReason. |
c4bc51d91a4e728cdd779291f24886c60e7a492b 607273 |
|
28-Dec-2007 |
rpluem |
* Prevent crash in balancer manager if invalid balancer name is passed as
parameter. |
a1790fb35c4b352dab721370985c623a9f8f5062 606693 |
|
24-Dec-2007 |
rpluem |
* Set character set for HTML outputs generated by mod_ldap,
mod_proxy_balancer, mod_proxy_ftp, mod_info, mod_dav without a character
set to ISO-8859-1.
Submitted by: jorton |
ac5ee7fd91d06ac37bfb8a47013d6a3b4ddca2d9 599326 |
|
29-Nov-2007 |
rpluem |
* Remove unneeded include of unistd.h. getpid is not used any longer since
r394065. |
0bd04b102658fe45b29d31567aab091cb4fdfc68 575712 |
|
14-Sep-2007 |
jim |
These really are block specific, so why not
make them as such :) |
b4b5a4ea602dc495247816333a80c70b2db28a82 574485 |
|
11-Sep-2007 |
rpluem |
* Do not reset lbstatus, lbfactor and lbset if the shared proxy_worker_stat
structure for a worker is already initialized by the same or another
process. |
c64fb33e0c4634fd352c4a6c143cd1a087c09b13 572832 |
|
05-Sep-2007 |
nd |
as not everyone needs sticky sessions - avoid segfault in balancer manager and
mod_status |
c50da67b68f85827b6c461c93f097b810dcbbd8b 556931 |
|
17-Jul-2007 |
mturk |
Return 503 only if the route matches some of the balancer members and nofailover=On is specified. |
8dd9815e741c5d3cb3d2efe7309175326b22b21f 554892 |
|
10-Jul-2007 |
jfclere |
Fill notes "session-sticky" and subprocess_env "BALANCER_SESSION_STICKY"
correctly. |
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. |
e84602eb0d9430bb6a157a2e9dcca2f98517528e 544930 |
|
06-Jun-2007 |
rpluem |
* Preset the form fields for route and redirect with the values of the active
configuration in the scoreboard and not with the ones loaded from the
configuration files. |
9056fdeb30584edd8495a254901a50f62bc81979 484794 |
|
08-Dec-2006 |
jim |
Fix compile warning:
mod_proxy_balancer.c:537: warning: unused variable 'rv' |
0e43ad0d6c23825c2c37e67087471e361347ee41 484792 |
|
08-Dec-2006 |
jim |
Failure to unlock is very nasty, so log it to help
with troubleshooting. |
3e214d24aa5cc0a24a8989815b97c2a1e144630c 484789 |
|
08-Dec-2006 |
jim |
We are doing nothing here... but keep the stubs
in case we ever do. |
c3be2abfc9aaeb8eb0ec83179f08f424fcd80c44 484787 |
|
08-Dec-2006 |
jim |
Log when the lock fails. |
69b5bf2c12f9dd83915760a83bd70228e37527de 484783 |
|
08-Dec-2006 |
jim |
No need for each ind lb method to increment the elected
element. Do so from the main calling func. |
ef52f247559779a8b27b3c38abbaa5e610e8e969 451572 |
|
30-Sep-2006 |
mturk |
Add force recovery for balancer.
In case all balancer members were in error state 503
was returned until the recovery timeout expired.
The patch forces recovery in case all balancer members
are in error state regardless of recovery timeout
directive.
This fixes the time gap when 503 was returned and
backend was already up and running. |
ce26c909953968ede7c5097e508d37b2fa91ea3a 446929 |
|
16-Sep-2006 |
rpluem |
* Set the new environment variable BALANCER_ROUTE_CHANGED if a worker with a
route different from the one supplied by the client had been chosen or if
the client supplied no routing information for a balancer with sticky
sessions. |
1ce78cf71b5baaf2c1ab48e818cb1f2397df5010 440337 |
|
05-Sep-2006 |
trawick |
Replace ap_get_server_version with ap_get_server_banner() and
ap_get_server_description().
High-level summary:
The full server version information is now included in the error log at
startup as well as server status reports, irrespective of the setting
of the ServerTokens directive.
Third-party modules must now use ap_get_server_banner() or
ap_get_server_description() in place of ap_get_server_version(). |
886f0852a0b7e9f0b6414b157ea9dc403d282e3e 440160 |
|
04-Sep-2006 |
rpluem |
* Extract stickysession information correctly in the case that it is given
as parameter like in the following example:
www.someplace.com/somewhere/?jsessionid=gggfgdufdfoef.server¶meter=value
So far we were only able to handle stickysession information encoded in the
following form:
www.someplace.com/somewhere/;jsessionid=gggfgdufdfoef.server?parameter=value
PR: 40400 |
bc8b3a7a2daae2a379ed6544822fa34a77c260fc 428361 |
|
03-Aug-2006 |
jim |
Initialization change. Move to a different format
to force resets as well as a common technique, in case
_route is updated at some point. |
7247aa3c6554a928446e2ef66846836dafb74262 428352 |
|
03-Aug-2006 |
jim |
Reset standby flags for each loop through the cluster sets |
26c0460c769a73a01802eca58dd1a8d73c07b4ea 427368 |
|
01-Aug-2006 |
jim |
Good catch by Ruediger |
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 ;) |
842ecd514118c56a88f0b969840775dba2cbc720 421287 |
|
12-Jul-2006 |
jim |
The number of times elected as well as the i/o
of the workers is useful info to show in the
manager. |
0bc5a8d43e83402a63eefe5002b06549df2dec80 421283 |
|
12-Jul-2006 |
jim |
It never fails. I sit on a patch for awhile and
it's not until almost right after I commit it that
I think "hey, there's a better way to do that."
Anyway, I was never happy about the code
duplication of the primary/standby checks...
This fixes that. |
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 |
8e2da1ab8eeee4620c249be40ac1ac9df81bbceb 420936 |
|
11-Jul-2006 |
jim |
Restructure the find_route_worker() function. Basically,
it should take care of knowing about usable and unusable
workers. By centralizing this logic, it will make it
easier and more streamlined to add in the forthcoming
hot-standby status workers. |
75dd7bfd71e6d1b7f2dd29efb41b0aed5c46a51c 417443 |
|
27-Jun-2006 |
rpluem |
* Retry worker chosen by client supplied route / redirect worker if it
is in error state before sending "Service Temporarily Unavailable".
PR: 38962
Submitted by: Christian Boitel <cboitel lfdj.com>
Reviewed by: rpluem |
62a2cea4c337100e330fd31c786c5323de2ff1a2 417238 |
|
26-Jun-2006 |
rpluem |
* Add the following environment variables to expose the information
* about
the route, the sticky session and the worker used during a request to
other modules:
BALANCER_SESSION_STICKY
BALANCER_SESSION_ROUTE
BALANCER_NAME
BALANCER_WORKER_NAME
BALANCER_WORKER_ROUTE
PR: 39806
Submitted by: Brian <brectanu gmail.com>
Reviewed by: rpluem |
05aeb72ad4d3487297de9b6a27e9d61cbd7672a8 396063 |
|
22-Apr-2006 |
rooneg |
Merge the fcgi-proxy-dev branch to trunk, adding a FastCGI back end for
mod_proxy. This log message is just a summary of the changes, for the
full original log messages see r357431:393955 in branches/fcgi-proxy-dev.
* modules/proxy/mod_proxy_fcgi.c: New file, holds the impementation of
our new fcgi backend for mod_proxy.
* modules/proxy/fcgi_protocol.h: New file, holds constants and structures
for the fcgi protocol.
* modules/proxy/mod_proxy_balancer.c
(proxy_balancer_canon): Set up r->path_info, so the PATH_INFO env
variable is correctly passed on to balancer workers.
* modules/proxy/config.m4: Build the new mod_proxy_fcgi module.
* support: Add fcgistarter to svn:ignore.
* support/Makefile.in: Build the new fcgistarter program.
* support/fcgistarter.c: New program, a helper for starting fcgi worker
processes. |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
aa50ea5f14daee6307cb6c24346be796e2047217 394446 |
|
16-Apr-2006 |
rpluem |
* Also initialize local data structures for workers of a balancer.
PR: 38227, 39267
Submitted by: James A. Robinson <jim.robinson stanford.edu>
Reviewed by: rpluem |
0a08ad394c0fe161da92f96cf4817ed7ee8f2019 394065 |
|
14-Apr-2006 |
rpluem |
* After r377780 the condition in the if clause never becomes true, because
ap_proxy_initialize_worker_share is always left with PROXY_WORKER_INITIALIZED
set in workers->s->status. So remove this code to save cycles and avoid
confusion. |
05959579e612eb4ba7489be56001ed2d33ebc1a2 375310 |
|
06-Feb-2006 |
jorton |
* modules/proxy/mod_proxy_balancer.c: Include unistd.h to pick up
getpid() prototype. |
53412cc2f0c1676b1df5cc65f54e1784e0dc42ca 374929 |
|
04-Feb-2006 |
rpluem |
* Do not overwrite the status of initialized workers and respect the configured
status of uninitilized workers when creating a new child process. |
d9c7f36e09991871495800e59ba4273f30e80fdb 352010 |
|
03-Dec-2005 |
rpluem |
* Fix PR37753. Off by one bug in get_path_param eats up too much of the string
such that session identifier for sticky sessions is never found in URL.
Submitted by: Kazuhiro Osawa <ko yappo.ne.jp>
Reviewed by: Ruediger Pluem |
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 |
1daaf34b49f332c314fc4b180c115c85d6db0e82 312963 |
|
11-Oct-2005 |
jim |
mod_proxy_balancer: BalancerManager and proxies correctly handle
member workers with paths. PR36816. [Ruediger Pluem, Jim Jagielski] |
92c216c10301791c4b35df6adb2bd84eac560e42 307389 |
|
09-Oct-2005 |
rpluem |
* Fix a declaration problem introduced in r195013 that is C99 but not ANSI C
compatible. Thus move declaration of *worker to the top of find_session_route
to make it ANSI C compatible again.
Submitted by: NormW <normw bocnet.com.au>
Reviewed by: Ruediger Pluem |
8ee2b1c8ac0ded9fe8a019c9c65c40fad2b3cb32 295013 |
|
05-Oct-2005 |
rpluem |
* Fix PR36507 (mod_proxy_balancer does not handle sticky sessions with
tomcat correctly). |
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 :) |
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 |
6386ea44270d79a37e1610b8e1f056caf9e607ae 265505 |
|
31-Aug-2005 |
jim |
Some simple debugging log entries |
7a070fd785b8d81afe42d8087e97d657c3015e17 233516 |
|
19-Aug-2005 |
mturk |
Arghhh.... missed the version. Sorry for the noise.
Revert the hack for setting the lbmethod.
The problem is deeper inside caused by the
new hook to the balancer module that is never
called on WIN32.
Although the hack fixed core dump, the proxy is
still unusable because the configuration is failing
due to the empty lbmethod names array. |
813df5e678b2fc138a1c6cfeea19a5ed4cd51b4e 233514 |
|
19-Aug-2005 |
mturk |
Revert the hack for setting the lbmethod.
The problem is deeper inside caused by the
new hook to the balancer module that is never
called on WIN32.
Although the hack fixed core dump, the proxy is
still unusable because the configuration is failing
due to the empty lbmethod names array. |
4f3ea5b1abb3594121d331a02572e2206c965c5b 233468 |
|
19-Aug-2005 |
mturk |
Temporary make balancer working.
What is needed is a setup for the finder function
introduced, but never implemented. |
04a7b8a37f0694858e5c992e4c3b6a53ff50e334 232314 |
|
12-Aug-2005 |
jim |
When using the LB Balancer manager, if you disabled
a member, then clicked on another member and/or
itself again, the member would be re-enabled. This
was due to the form being "submitted" and
'dw' being null (observed with Safari). Anyway,
moving to a radio makes it explicit. |
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... |
52a832cf24e3e114e3579710278f790e7501e4ca 193117 |
|
23-Jun-2005 |
jorton |
* modules/proxy/mod_proxy_balancer.c (proxy_balancer_pre_request): Fix
another valid variable-may-be-used-uninitialized warning from GCC 4
(in the !balancer->sticky case, find_session_route returns NULL
without setting route). |
1d8166f7f2cdf6bb54e23350bf058679d980ee64 160847 |
|
11-Apr-2005 |
mturk |
Set default number of maxattempts to the number of
balancer members. |
76a3763a1bcf8f7a75292565ced38b41f1e2d26c 160692 |
|
09-Apr-2005 |
mturk |
Simplify canon_handler. Blancer can have only a single
scheme. |
2d2a0929e8cab918950d3f58b92d7b3a57714162 160675 |
|
09-Apr-2005 |
mturk |
Add canon_handler for load balancer so that we have
query string passed to remote. |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
bf1e7c075ccc3e6597d17de7641332ff6ff92e8a 151238 |
|
03-Feb-2005 |
striker |
Rename proxy modules.
* modules\proxy\mod_proxy_ajp.c
* modules\proxy\mod_proxy_balancer.c
* modules\proxy\mod_proxy_connect.c
* modules\proxy\mod_proxy_ftp.c
* modules\proxy\mod_proxy_http.c
Renamed from proxy_{ajp,balancer,connect,ftp,http}.c
* modules\proxy\mod_proxy_ajp.dsp
* modules\proxy\mod_proxy_balancer.dsp
* modules\proxy\mod_proxy_connect.dsp
* modules\proxy\mod_proxy_ftp.dsp
* modules\proxy\mod_proxy_http.dsp
Update references to renamed files.
* modules\proxy\NWGNUproxyajp
* modules\proxy\NWGNUproxybalancer
* modules\proxy\NWGNUproxycon
* modules\proxy\NWGNUproxyftp
* modules\proxy\NWGNUproxyhtp
Update references to renamed files. |