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. |
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. |
f188e8400ecd949c51831903cbc8306c108db6ae 1621382 |
|
29-Aug-2014 |
jim |
Might as well make it 256 and be done w/ it. The extra bytes are
moot nowaways. |
457468b82e59d01eba00dd9d0817309c8f5e414e 1621367 |
|
29-Aug-2014 |
jim |
PR53218
Allow for longer worker names and make truncation a non-fatal
error... |
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 |
983528026996668ea295be95aedb9c7a346af470 1602989 |
|
16-Jun-2014 |
ylavic |
mod_proxy: Don't limit the size of the connectable Unix Domain Socket paths.
Since connect() to UDS path is used at several places, introduce
ap_proxy_connect_uds() in proxy_util. |
d03a8ea4d65f0cab5ea978f5c1e4865e60b620c8 1592514 |
|
05-May-2014 |
trawick |
Clarify an existing requirement of the server_portstr parameter
to ap_proxy_determine_connection(): it must be a buffer of at
least one byte in size.
(And don't bother with using strcpy in order to zap a string.) |
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. |
1bd77c095db05595db951b8e45619270d356a3cb 1572630 |
|
27-Feb-2014 |
ylavic |
Redo what was reverted in r1572627.
Don't reuse a SSL backend connection whose SNI differs. PR 55782.
This may happen when ProxyPreserveHost is on and the proxy-worker
handles connections to different Hosts. |
b3a4226e34a6cad5f92d3aac5264e0fbf8eada28 1572628 |
|
27-Feb-2014 |
ylavic |
Move newly added proxy_conn_rec's uds_path field to the end of the struct like in 2.4.x. |
a25139a3cea752311a32b30b9b406fee8b87042e 1572627 |
|
27-Feb-2014 |
ylavic |
Revert r1572606 for the time being since backport would conflict with 2.4.x's proxy_conn_rec.
The uds_path field is at the end of the struct in 2.4.x but not in trunk.
Fix that first, then recommit. |
6180b276a391d729e53f62fd8ad303d8db0dff9d 1572606 |
|
27-Feb-2014 |
ylavic |
Don't reuse a SSL backend connection whose SNI differs. PR 55782.
This may happen when ProxyPreserveHost is on and the proxy-worker
handles connections to different Hosts. |
4ff6259a3db2f4e365f3681df5145dc46d071e6f 1560367 |
|
22-Jan-2014 |
jim |
make mod_rewrite and mod_proxy UDS work together... |
a370a774825bc89fc6b0d8e45035a590e39b0bd6 1554300 |
|
30-Dec-2013 |
minfrin |
core: Support named groups and backreferences within the LocationMatch,
DirectoryMatch, FilesMatch and ProxyMatch directives. |
63b4d380728397be955beae19d9ecccf00d438a8 1542562 |
|
16-Nov-2013 |
jim |
We were not being consistent between http and others
if we added the default port or not during the canonizing
phase... Baseline the http method (don't add unless the
port provided isn't the default). |
a58224238a201a1bf870103178abc8e5e5714964 1540318 |
|
09-Nov-2013 |
jim |
Expand some of these fields... mostlt it's the workers that we
need to expand due to them mapping to actual hostnames
NOTE: 96 enough? |
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. |
647a99e0e82160a0dc53368c898e3d4744145f17 1531340 |
|
11-Oct-2013 |
jim |
Reformat the UDS support inline with a new naming structure.
Use a flag for speed for testing. |
33124689065ade0dfc8c54d8ebb734f9439cb89b 1526189 |
|
25-Sep-2013 |
trawick |
mod_proxy: Add ap_connection_reusable() for checking if a connection
is reusable as of this point in processing.
mod_proxy_fcgi uses the new API to determine if FCGI_CONN_CLOSE
should be enabled, but that doesn't change existing behavior
since the connection is currently marked for closure elsewhere
in the module. |
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? |
c511db6ff14282bc663fa517e2216826d3dd5cd3 1513458 |
|
13-Aug-2013 |
trawick |
fix Doxygen warnings/comments |
d8efd66f672146c3a0313aded1aef426849ee525 1483178 |
|
16-May-2013 |
jim |
update comments |
a511a29faf2ff7ead3b67680154a624effb31aaf 1482522 |
|
14-May-2013 |
minfrin |
core: Stop the HTTP_IN filter from attempting to write error buckets
to the output filters, which is bogus in the proxy case. Create a
clean mapping from APR codes to HTTP status codes, and use it where
needed. |
114d793b37bb653798329f814912f6cad74fc9a5 1482075 |
|
13-May-2013 |
minfrin |
mod_proxy, mod_proxy_http: Connection headers must be stripped on the way
in and out, support an optional function to handle this. |
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. |
27774671fd435737640c3631e23db369500ca66a 1453875 |
|
07-Mar-2013 |
jim |
Pull out duplicated code to proxy_util... |
f44b11a78fa86b71aaedff800e83c1a02f748807 1451633 |
|
01-Mar-2013 |
jim |
Add in rough uds support (Bugx 54101) from Blaise Tarr <blaise.tarr@gmail.com> |
48b5093323ff20ad74f6fd198e2fa7528d162663 1448630 |
|
21-Feb-2013 |
jim |
realign and fix logic |
8ad2333769563eadfe4944407c32666160b641a0 1439404 |
|
28-Jan-2013 |
jim |
ProxyPassInherit directive |
6fb984bb49f217c3b76cdbe864f105d2e74e52ed 1421953 |
|
14-Dec-2012 |
jim |
Allow for searching w/i shm slots for a specific worker and balancer |
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. |
57d841b2d05998f65c3dce6618e9975f42061c7c 1421852 |
|
14-Dec-2012 |
jim |
Anticipate ordering for 2.4 backport |
7e40343e8c6d4ec4feffde17807cbba3caf869f6 1418049 |
|
06-Dec-2012 |
jim |
API sync... not crucial for trunk |
20eead0b01d51fce0cc17d04b8f98ec38eac68ae 1404653 |
|
01-Nov-2012 |
jim |
Allow for setting of sticky session split char...
Bugz 53893 |
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. |
57db302f0875a6c93a79333b8941cea4c1827272 1387110 |
|
18-Sep-2012 |
jim |
Persist local balancer-manager changes across restart/graceful. |
174b19659bdfe1b63e7154ef1af796612985c7db 1365001 |
|
24-Jul-2012 |
jorton |
Fix handling of ProxyBlock if a forward proxy is configured, and fix
mod_proxy_connect to avoid an inappropriate DNS lookup:
* modules/proxy/proxy_util.c (ap_proxy_checkproxyblock): Take hostname
argument, make address argument optional. Check names against
hostname arg, omit if addr not given.
(ap_proxy_determine_connection): Adjust for the above; pass hostname
from URI not the next hop.
* modules/proxy/mod_proxy_ftp.c (proxy_ftp_handler): Adjust for
ap_proxy_checkproxyblock change.
* modules/proxy/mod_proxy_connect.c (proxy_connect_handler): Adjust
similarly, and avoid the DNS lookup on the request-URI hostname if a
proxy is used.
* include/ap_mmn.h: Bump MMN.
PR: 43697 |
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 |
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. |
cfc1ba216dbcc0af93b427d41e16717a772f09be 1227856 |
|
05-Jan-2012 |
wrowe |
Cure size_t abuse, curse some recent code [recommit good bits from r1227852] |
4772145ced1391b7fc8aee0df304982815aab6eb 1227855 |
|
05-Jan-2012 |
wrowe |
Revert a whole mess that was not ment to be committed |
c30d52559f5ffd4b8639d97066719f1de9176c98 1227852 |
|
05-Jan-2012 |
wrowe |
Cure size_t abuse, curse some recent code |
2e959821a135b8f1528e404b2275423ccca1ceb3 1209952 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Remove dead code ap_proxy_table_unmerge(). |
3a34ab5010a01b252aabb50b5b7a77469a4e45ef 1209947 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Move ap_proxy_strmatch_path and ap_proxy_strmatch_domain out of
the public API. |
1dedd9cb0ea0fcf2e6d8bb8a4f0893bf3c799368 1209917 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Remove ap_proxy_make_fake_req() from the public API. |
49cc4918278b812ec0fd3c4e97901f718a238e49 1209913 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Remove dead PROXY_OPTIONAL_HOOK macro. |
5f51bc2d5034dfbd779f20bc8d21d1521a80f295 1209910 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Remove dead code. |
8c69d8fdde8db830bfbfbb1b381f6e54d20b71d9 1209908 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Make the ap_proxy_is* functions private. |
0ad70f568b434ff0d849a00d017751fd3db9b28b 1209812 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Remove ap_proxy_date_canon() from the public API. |
ad9cfddd1aee083a1b147fca1539a8c10ccec1fc 1209811 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Remove ap_proxy_buckets_lifetime_transform() from the public API. |
92924cfd7baf709bba85edf3039a76a10207400e 1209797 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Remove ap_proxy_liststr(), it duplicates ap_find_token(). |
8bc77d0a7253172eba58438560681fd90737256c 1209776 |
|
03-Dec-2011 |
minfrin |
mod_proxy: Move ap_proxy_string_read() out of the public API into
mod_proxy_ftp. |
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. |
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. |
f66d52ac5f701eed7986e23d12960344f8bf6b61 1207926 |
|
29-Nov-2011 |
jim |
Logic which makes the balancer "active" or not... so we can turn them
off and on as needed. |
be689a22d2e8ccd9f521ab65ddcb5b5b36b7b673 1207863 |
|
29-Nov-2011 |
jim |
Instead of running thru all kinds of logic paths, just add in
a on/off bit... No need for other balancer statuses(sp)? |
a7ffe6ca490cd4620c388e26090f5d08024be119 1207562 |
|
28-Nov-2011 |
jim |
Pull this out as a sep function to allow for full vhosting
adjustment between get and define balancers... |
f1657d3c568280b03d07d2ea82b4374cb2ed74eb 1207467 |
|
28-Nov-2011 |
jim |
"Final" (I hope) proxy struct/API changes in order to support
dynamic balancer allocation AND dynamic vhost-balancers |
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. |
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... |
6e203a70d48358282aaac8de02fc415d0258b5ae 1196946 |
|
03-Nov-2011 |
sf |
Modify placement of PROXY_DECLARE_DATA to fix build problems with MSVC,
reported by Gregg L. Smith |
c25759e134284fdccb807eee023991aa115ba512 1194940 |
|
29-Oct-2011 |
fuankg |
Removed prototype which had no implementation. |
ac527defc56193af96fcb7ceffbda0e41bdb2d7c 1183475 |
|
14-Oct-2011 |
sf |
There is absolutely no reason to have two 4k-sized constant strmatch patterns
in each per-dir config. |
c67d53e3785af31ad3592ca128d78c23aeed8cf9 1180654 |
|
09-Oct-2011 |
sf |
Remove ap_proxy_removestr(). It has been unused for a decade and has quadratic
memory usage. |
4efeaf392b8e7584b7fe240e8c6116837c3f54ba 1170256 |
|
13-Sep-2011 |
jim |
Implement draining capability for proxy workers... only accept
sticky on these puppies. |
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. |
d2cc8f1a060fa04373718826af986c49de3bff4b 1088421 |
|
03-Apr-2011 |
fuankg |
Fixed only some proxy prototype formats.
Function names must follow the *_DECLARE() in the same
line regardless how long the function names are! |
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... |
5447b616f660d11019afc5230ef34ca34d2d8fc7 1086662 |
|
29-Mar-2011 |
trawick |
change signed single-bit fields to unsigned
some of these were exposed to mods so the mmn is bumped, without
regard to whether any compiler will have to generate different
code |
5b439d3976ab9363288cf5132902fad230777523 1072098 |
|
18-Feb-2011 |
jim |
No longer depend on how fork() works when laying out segments...
function pointers in shm are... nasty ;) |
7f6d37edb476fa67c2839e24027fd320ff99eb91 1068879 |
|
09-Feb-2011 |
jim |
Ugg... unbalanced workers *do* need a mutex as well (good catch Rüdiger!) |
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. |
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. |
ac7de32d845d22f83ce5b6a4c584110772fe1c1b 1066631 |
|
02-Feb-2011 |
jim |
No need to pollute the whole namespace... |
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 |
e2b702094817c78498e6de567b9548ef794c33d3 1066138 |
|
01-Feb-2011 |
jim |
Again, abstract out the worker status magic to it's handled
by funcs... |
e8c1556efd14854cd79874941e76b4093f65aefa 1066112 |
|
01-Feb-2011 |
jim |
bitfields should be unsigned |
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. |
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 |
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. |
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 |
908de8a31dadf48ff127e293ded0b92c92b8f864 1055367 |
|
05-Jan-2011 |
minfrin |
Update the comment to indicate what the backend request is really used for. |
71f17ea73e42279193c077e6a42d0e4112ee4b2a 1052314 |
|
23-Dec-2010 |
rpluem |
* The concept of the cleaned flag is flawed: Once we returned the connection
to the pool we cannot longer rely on it as another thread could have leased
the connection in the meantime and might have modified it.
BUT: We only use this flag once we returned the connection to the pool.
So signal that we returned the connection to the pool by something that is
local to the thread, in this case set backend to NULL if we already have
returende the connection. |
1d492700aafec672c1363b7694fc3b9007270641 1035576 |
|
16-Nov-2010 |
minfrin |
Revert r1035504, this was the wrong way to do it. |
dbf39e55f7360fb7250cf2438dd93c637dedfcf1 1035504 |
|
16-Nov-2010 |
minfrin |
Fix pool lifetime issues when the proxy backend connection is terminated
early by forcing a setaside on transient buckets placed in the brigade
by mod_ssl. This has the effect of extending the lifetime of buckets until
the end of the request. This is a variation on the original fix for this
problem, which added transient buckets to be setaside later in the process. |
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 |
b740df967cd3c7e70baad477a544651a91bcf73d 1032286 |
|
07-Nov-2010 |
trawick |
improve wording of some function descriptions
add explicit "FIXME" to an ancient issue
remove implicit fixme wording related to mutex use |
dd15ff15a509015a55eebc10ad9f2f4f11ad3c6c 1032271 |
|
07-Nov-2010 |
trawick |
axe outdated comment about FIXMEs/CHECKMEs |
b76a31daaa6e83bb0fd627a04f20e82bffcf1df4 1029134 |
|
30-Oct-2010 |
poirier |
Fix a number of typos and misspellings. Reported by Ville Skytta.
PR48496. |
96a068a3b179bd57a0935ea50384756845b8b271 1026668 |
|
23-Oct-2010 |
minfrin |
Optimise more of the flags within proxy structures. |
5e6cf205d2b0c848e15c65dab9711805395a5108 1026665 |
|
23-Oct-2010 |
minfrin |
mod_proxy: Release the backend connection as soon as EOS is detected,
so the backend isn't forced to wait for the client to eventually
acknowledge the data. |
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. |
792aac1c8464bece8d11bf4807972d5fbd071730 1025699 |
|
20-Oct-2010 |
minfrin |
Optimise the set flags in the mod_proxy structures. |
40b22d3b20454959fe51fdc89907908d77701078 1025666 |
|
20-Oct-2010 |
minfrin |
mod_proxy: Move the ProxyErrorOverride directive to have per directory scope. |
4fd1e0d1b4fb57fe14e5a14b93359b71501812b5 998949 |
|
20-Sep-2010 |
jim |
Fold in possible use of FNV if desired |
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. |
8ff95421282306dba6b2a261def741fadc87ef20 964089 |
|
14-Jul-2010 |
jim |
Allow for modules to keep track of worker slot
numbers themselves if they want, by allowing for
worker create/alloc functions to take a slot number id.
Done via _wid() variants of 3 proxy funcs. |
78b8e4dd910f03af0a602bc4b63ad7bc69868ee3 959464 |
|
01-Jul-2010 |
sf |
re-order many struct members for better alignment on 64bit |
ae63925c109885723dae01150216cc3a91eaa758 951189 |
|
04-Jun-2010 |
sf |
log issues with CONNECT at request scope instead of server scope |
64b2129ad3f3ec6a1dc9c4e9219e13babd9c801b 936828 |
|
22-Apr-2010 |
jfclere |
Add updatelbstatus to allow to have all the LB logic in the balancers. |
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>] |
4ea8055e720d18f386b8026b546e5836ecccba4a 909323 |
|
12-Feb-2010 |
rjung |
Support remote https proxies by using HTTP CONNECT.
PR: 19188
Submitted by: Philippe Dutrueux <lilas evidian.com>
Reviewed by: rjung |
ccc522c90310b0dea82f04b45b2a4a479ea7109f 909290 |
|
12-Feb-2010 |
rjung |
Fix typo in comment. |
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. |
c779aea0c9b7c47c2e4fd258e3f54835a849625d 830527 |
|
28-Oct-2009 |
poirier |
Fix a lot of doxygen warnings. Thanks to Brad Hards for the patch.
I added a few more fixes, and there are still more that might
need a doxygen expert.
PR: 48061
Submitted by: Brad Hards
Reviewed by: poirier |
3709b26f3370ae89c5324a3c03fab56a93b09ecd 824072 |
|
11-Oct-2009 |
sf |
Allow ProxyPreserveHost to work in <Proxy> sections
PR: 34901 |
6d246eda8bccf9670f003c798353b616937cffc4 816203 |
|
17-Sep-2009 |
jim |
kinda old |
6a4043fd04bbd44ca0d084c096318df035abc46d 774400 |
|
13-May-2009 |
jfclere |
Allow the load balancing method to "create" workers. |
6bed231822ad2aaba16de74c4c01023e5982a5e2 774239 |
|
13-May-2009 |
jfclere |
server_rec *r... Oops should be server_rec *s. |
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(). |
20cc8fa5a09322d2937de90c8b4c65dfe5826856 771981 |
|
05-May-2009 |
jim |
fix docco |
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(). |
b1e3273c2e70ad5ac64feef979b2ed1d98c09963 769020 |
|
27-Apr-2009 |
jim |
Fold in initial template for methods to be able to
reset (initialize) and "age" their data, useful when
adding new workers, or when workers come back into
the fold....
Logic and code to come in a bit :) |
bf3f3b52289ee37f40842fc836ff92dd202742af 725946 |
|
12-Dec-2008 |
pquerna |
Add configuration of the Flush provider for mod_proxy_fdpass. |
2e6f0dfb107ab0072192fb8232770652c6b21fcb 712375 |
|
08-Nov-2008 |
rpluem |
* Rip out the old flushing approach for solving lifetime issues between the
backend connection bucket allocator and front end connection bucket allocator.
Instead copy the buckets from the backend over to ones that have been created
using the front end bucket allocator. For metabucket this is done by recreating
them, for data buckets this is done by reading them and putting the read data
in a transient bucket.
PR: 45792 |
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. |
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 |
6428447d92427373f04e2285573fcb8c3a6c5c1f 661079 |
|
28-May-2008 |
niq |
Switch ftp_directory_charset and interpolate_env in proxy_dir_conf,
with a major MMN bump. As suggested by rpluem in r661069 to enable
backport *without* a major bump (ABI breakage) in 2.2.x. |
d6e81217d873dc3b87fc4ffa5fbac2fad4191a15 645455 |
|
07-Apr-2008 |
pquerna |
Remove all references to CORE_PRIVATE. |
b842b65e0618c5535233b197f03dc917d184adb3 627728 |
|
14-Feb-2008 |
jim |
Add in mod_jk's disablereuse analog for mod_proxy. |
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 |
6f4dadd94220f9bdfe34fc4530527e4482319541 604447 |
|
15-Dec-2007 |
rpluem |
* Fix a SEGFAULT by ensuring that buckets that may have been buffered in the
network filters get flushed to the network. This is needed since
these buckets have been created with the bucket allocator of the
backend connection. This allocator either gets destroyed if
conn->close is set or the worker address is not reusable which
causes the connection to the backend to be closed or it will be used
again by another frontend connection that wants to recycle the
backend connection.
In this case we could run into nasty race conditions (e.g. if the
next user of the backend connection destroys the allocator before we
sent the buckets to the network).
Remark 1: Doing a setaside does not help here as the buckets remain
created by the wrong allocator in this case.
Remark 2: Yes, this creates a possible performance penalty in the case
of pipelined requests as we may send only a small amount of data over
the wire. |
475311484e1d0f01d41e0f48bfecf1f4bca2ff07 603237 |
|
11-Dec-2007 |
rpluem |
* Use a separate subpool to manage the data for the socket and the connection
member of the proxy_conn_rec struct as we destroy this data more frequently
than other data in the proxy_conn_rec struct like hostname and addr (at least
in the case where we have keepalive connections that timed out and were
closed by the backend).
This fixes a memory leak with short lived and broken connections.
PR: 44026 |
ef79eba84348e4f8c99402de06afa2237a856049 602542 |
|
08-Dec-2007 |
rpluem |
* Enable the proxy to keep connections persistent in the HTTPS case.
Basicly the persistence is created by keeping the conn_rec structure
created for our backend connection (whether http or https) in the connection
pool. This required to adjust scoreboard.c in a way that its functions can
properly deal with a NULL scoreboard handle by ignoring the call or returning
an error code. |
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 |
145c5beb31c8b8027abb03cfde5f16d93d198753 583802 |
|
11-Oct-2007 |
jim |
Semi-revert 583466; just remove the ap_proxy_isvalidenc()
function until we canonically set the "allowed" list. |
c1e779271d23e48fc3726c2473ccb3cdef79c449 583466 |
|
10-Oct-2007 |
jim |
Abstract out "verification of valid encoding" via
ap_proxy_isvalidenc(). Now we can use it in other
proxy protocols. |
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 |
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. |
3db97385f1149668d06b8587a61f4a3ffe9eee70 572937 |
|
05-Sep-2007 |
jim |
Be proactively safe. A cheap check, but helps prevents badness :) |
c3dc78855363fa6e8ecfc2bb8e2927efcd31d31d 550519 |
|
25-Jun-2007 |
jfclere |
Add sticky_path to solve PR41897. |
dcda744296f197717c5105fd197e94ceba7880d7 537429 |
|
12-May-2007 |
jim |
Add regex pattern matching to ProxyPass, allowing,
for example:
ProxyPass ~ \.gif balancer://imagecluster |
f23f4de4c164980ff577d99bbcbd5eea9dbb9cf2 452405 |
|
03-Oct-2006 |
trawick |
spellcheck |
41727a53c70d500138e14af00afc3d49455ecced 451582 |
|
30-Sep-2006 |
mturk |
Move new struct member to the end of the struct,
so we can keep the compatibility. |
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. |
c1b34185c08311a96e54251f7d9a2df1009e3dc6 427959 |
|
02-Aug-2006 |
mturk |
Cleanup: Remove close_on_recycle from proxy_conn_rec.
It behaves the same as close. |
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 ;) |
83f6213c2d98d708be5d5624b9cbe82551ca1c82 427055 |
|
31-Jul-2006 |
mturk |
Cleanup: Remove checking for pre 2.0.46 MMN. It is
obvious that the new mod_proxy will never be
backported to the 2.0 branch. |
188befd3a49e3a126bd801d7dc5a7f6e63ad4332 425454 |
|
25-Jul-2006 |
mturk |
Added cping/cpong support for the AJP protocol. |
e99dfd55d29a7b4209b814efc7270d0b74ccee74 421686 |
|
13-Jul-2006 |
niq |
Support environment variable interpolation in reverse proxy configuration |
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. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
2df9fb666776a6f6c7a84391609c4e41d87c350b 420954 |
|
11-Jul-2006 |
jim |
Clean up some proxy macros. Avoid the use of magic
numbers, and instead use pre-defined defines. Also,
ensure that usable workers have been initialized :)
Allocate a bit for hot standbys. Adjust so that
normal "usable" workers don't count these. |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
95aaebc2605a69993e61418bdfe88001c2b2a5a1 394088 |
|
14-Apr-2006 |
rpluem |
* Avoid calling ap_proxy_http_cleanup twice as this releases a connection
from the connection pool twice. This causes this connection to be present
in the connection pool twice. Thus it may be used by different threads
at the same time which causes many troubles (segfaults in this case).
Furthermore implement a logic to prevent double releases to the connection
pool if they are triggered by buggy code and log an error message in this
case.
- mod_proxy_http.c: remove double calls to ap_proxy_http_cleanup
- proxy_util.c: Add logic to prevent double releases of a
connection to the connection pool.
PR: 38793 |
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. |
cfaddd01e7b021261a1682d0265894b40834f4cb 365374 |
|
02-Jan-2006 |
rpluem |
* Correctly signal broken backend connections up the chain also for the ajp
backend (see also r357461). Furthermore move common code in mod_proxy_http.c
and mod_proxy_ajp.c into a new function (ap_proxy_backend_broke) in
proxy_util.c.
modules/proxy/mod_proxy_ajp.c : Signal broken backend connection for ajp backend
modules/proxy/proxy_util.c : Add ap_proxy_backend_broke
modules/proxy/mod_proxy_http.c: - Use ap_proxy_backend_broke
- Return DONE also if backend broke
modules/proxy/mod_proxy.h : Add declaration of ap_proxy_backend_broke |
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. |
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 |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8 263931 |
|
29-Aug-2005 |
ianh |
Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman |
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... |
5cd4f796d242bd32ff29a924cf0a608eea1e464f 232247 |
|
12-Aug-2005 |
niq |
Fix mess left by incompleteness of previous ProxyPassReverse fix |
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> |
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. |
418ee053321d0ee451bb482a9becdfcd3344201f 151153 |
|
03-Feb-2005 |
jim |
Close PR 32459, 15207. API change for PROXY_DECLARE ap_proxy_canonenc() |
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. |
870181b1a2eb47ba42f178a90a9ee1763e95b325 124901 |
|
11-Jan-2005 |
striker |
Rewrite Cookies and other headers in mod_proxy_ajp as configured with
ProxyPassReverse and ProxyPassReverseCookiePath.
* modules/proxy/proxy_ajp.c
(ap_proxy_ajp_request): Update call to ajp_parse_header().
* modules/proxy/ajp.h
(ajp_msg_get_string): constify argument.
(ajp_parse_header): Add conf argument.
* modules/proxy/proxy_util.c
(ap_proxy_location_reverse_map): Promoted from mod_proxy_http.
(ap_proxy_cookie_reverse_map): Promoted from mod_proxy_http;
renamed from proxy_cookie_reverse_map.
* modules/proxy/ajp_msg.c
(ajp_msg_get_string): constify argument.
* modules/proxy/proxy_http.c
(ap_proxy_location_reverse_map, proxy_cookie_reverse_map: Removed.
(process_proxy_header): Update header mapping table to reference the now
public functions.
* modules/proxy/ajp_header.c
(ajp_unmarshal_response): And conf argument. Reverse map cookies and
other headers.
(ajp_parse_header): Update call to ajp_unmarshal_response().
* modules/proxy/mod_proxy.h
(ap_proxy_location_reverse_map, ap_proxy_cookie_reverse_map): Declare
functions that have been promoted to be public.
(ap_proxy_header_reverse_map_fn): Typedef for the signature of the above
two functions (currently used in mod_proxy_http). |
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. |
908eb2ea826140b279ed8b7fcbbd83555adaf7b3 105345 |
|
29-Sep-2004 |
mturk |
Add server_rec to initialize_worker_share so that it get's
correctly. |
13852d30fd6e3ffee07702f9222a0dd5aeec75eb 105320 |
|
28-Sep-2004 |
mturk |
Reformat code to no tab and no CR-LF |
559db7681c06b49d8b57de9edb97b430c3b4d676 105318 |
|
28-Sep-2004 |
mturk |
Make sure that we don't increase balancer worker count on
gracefull restart. Thanks to Christian...again. |
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. |
97a5bc6357edb8fc5adc1b4caca85c271449c180 105177 |
|
17-Sep-2004 |
mturk |
Make worker retry algorithm much simpler removing incremental
timeout increase. |
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 |
87396d56ac610785156706de7f0d3009317d906c 105108 |
|
13-Sep-2004 |
mturk |
Always use prive connection pool for allocation, and call
apr_pool_clear when the connection is closed on recycle, so
that we don't leak on persistent connections. |
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. |
123393c7872c521019a40b9a31464632de36dcfe 105069 |
|
11-Sep-2004 |
mturk |
Remove the unused close_connection function. |
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. |
19bb1e938b464a3e961f346e9e1ed8ffa85d55b5 105057 |
|
10-Sep-2004 |
mturk |
Move the shared scoreboard data initization to the balancer module.
The initialization is done like for the worker, on first request.
This is done because during config phase we don't have a scoreboard
to allocate from. Thanks to Chritian von Roques for spotting that. |
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. |
0cc82bbdbb960dd56c3dfa49fb7a57ce2f98f1bf 105046 |
|
09-Sep-2004 |
mturk |
Add sockaddr to proxy_conn_rec. Using the workers address
is unsafe for forward proxy workers, cause unlike reverse
proxies the forward can have each connection with different
remote address. |
e7751de223035907c4a7bc73c0d53079b6d4c716 105043 |
|
09-Sep-2004 |
mturk |
Add 'default' foward proxy worker to the proxy_server_conf. |
e2aa4aed783072cc58f397c4ab4fc37da8786fb4 104813 |
|
26-Aug-2004 |
mturk |
Untabify the source. |
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. |
3ea86eb8dd940346366cda96784b077232cd065f 104798 |
|
25-Aug-2004 |
mturk |
Document new API functions. |
093f5acabcd77f91c2c2db9e65114323e05ab284 104797 |
|
25-Aug-2004 |
mturk |
Remove the tabs from code. |
ce8490f3812311582d1deee96b012c377311b317 104708 |
|
18-Aug-2004 |
minfrin |
Fix some compiler warnings in proxy
PR:
Obtained from:
Submitted by: Geoffrey Young <geoff@modperlcookbook.org>
Reviewed by: |
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 |
1af05d1df0489847d09bddbb8a548d96e8050a9f 104619 |
|
12-Aug-2004 |
wrowe |
Implement the worker retry functionality.
It uses either worker->retry option or default 60 second retry
that is on each revolution extended by another 60 seconds.
Submitted by: mturk |
22a19122bce8926e441c143d1b37c199cf7107da 104617 |
|
12-Aug-2004 |
wrowe |
Shared memory support. The shared memory is inside
apache scoreboard. If it ever gets back ported we could use it on 2.0
Submitted by: mturk |
a8e2723cc0f2000dcc6bb4b6e8ef4e569e9b6681 104611 |
|
12-Aug-2004 |
wrowe |
Add route and redirect to worker so they can be set trough configuration.
Add worker status flag definitions.
Submitted by: mturk |
2b755d0929db3b76d7347e6ad42ca2542713df6a 104609 |
|
12-Aug-2004 |
wrowe |
Fix structure element typo.
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 |
15c354f9cc840b6bc52dba511b403ad31749c06b 104599 |
|
12-Aug-2004 |
wrowe |
Added close_on_recycle flags for creatin connections.
This flag enables to distinguish between connection types.
Also added a pool cleanup bound to connection pool that recycles
the connection when client disconnects from server.
Submitted by: mturk |
ea23d5e06e1ed47ccdced2536db855cf0f3b88cf 104598 |
|
12-Aug-2004 |
wrowe |
Added acquire and release connection functions.
The acquire pulls the connection from the pool.
The release returns the connection to the pool.
Submitted by: mturk |
3acb36165f74f6764860f19a51b3471cc659eab7 104597 |
|
12-Aug-2004 |
wrowe |
Added ap_proxy_connection_create function that makes
conn_rec for opened connection. It is used bt http(s) and ftp for
bounding the backend connection to client connection with the same id's.
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 |
bb859fec493f440dde2259c20b002428fd0b8b55 104595 |
|
12-Aug-2004 |
wrowe |
Add ap_proxy_connect_backend that will replace
ap_proxy_connect_to_backend. It uses worker params for setting socket
options and checks for conection's connect status.
It works both on empty and acquired connections.
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 |
156a735168236d04cbb10eb2da3a7f3de72677cf 104585 |
|
12-Aug-2004 |
wrowe |
Make proxy_conn always accesible for preforked MPM and
APR_HAS_THREADS enabled.
Add init_conn_worker for creating apr_reslist that maintains connection
pool. For prefork mpm's use the single connection container.
Submitted by: mturk |
624108878bcc54aa868d741a0c398d893003095f 104582 |
|
12-Aug-2004 |
wrowe |
Added ap_proxy_determine_connection.
It will be used both for http and ajp handlers.
Started writing apr_reslist connection pool.
Submitted by: mturk |
ad5bac7451e5f2e47199c5bffe1fc43202b431a7 104578 |
|
12-Aug-2004 |
wrowe |
Add ap_proxy_pre_request API function.
It calls the actual module pre_request hook if present
Submitted by: mturk |
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 |
4415d997ac73262e513c0a571bd5be4f609040ba 104572 |
|
11-Aug-2004 |
wrowe |
Added API for creating balancers.
Added property setter for balancers.
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 |
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 |
2ac9643279a34ea4f4b022e8da9ca12a304ad731 104566 |
|
11-Aug-2004 |
wrowe |
Add initial structures for connection pool and load balancer.
Submitted by: mturk |
eb6e3a3e784021abc1e28247158db3a8b07186b9 104469 |
|
04-Aug-2004 |
minfrin |
Fixes the build of proxy on Windows. Since the proxy_module is declared
as extern using AP_MODULE_DECLARE_DATA that expands to dllexport, there
is a LNK2001 error when building proxy_http.
PR:
Obtained from: Mladen Turk <mturk@apache.org>
Submitted by:
Reviewed by: |
7f4a72152dcbb1b8fcedf85113ac18806a807627 104169 |
|
05-Jul-2004 |
nd |
style |
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) |
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. |
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: |
ea466400cbf06eeecab2b9ab316ead7115eeb74e 96013 |
|
11-Jul-2002 |
trawick |
add PROXY_OPTIONAL_HOOK() macro for modules that want to
optionally provide a mod_proxy hook |
9b4c60b689b8a3f2d48d19c55d857b276d405f85 95854 |
|
23-Jun-2002 |
wrowe |
No crutches, people! |
a1450072d5a8c5e16271465c40c92d04ea3a7494 95674 |
|
14-Jun-2002 |
wrowe |
Cleanup proxy timeouts a bit to remove emits and make consistent to
vhost timeout. |
b8a843847aae3d9a1838fb8f1de84cd66212f48a 94811 |
|
26-Apr-2002 |
trawick |
get basic HTTP proxy working on EBCDIC machines
(I would bet that there is more work to do throughout proxy, but at least
it can serve some pages now) |
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 |
623920970295ebdec1dc1c8bec1488b605a8aeab 94383 |
|
02-Apr-2002 |
dougm |
PR:
Obtained from:
Submitted by:
Reviewed by: Ryan Bloom
remove call to ap_proxy_reset_output_filters() and the function itself.
this call breaks ssl proxy when the client is using keepalives.
this function is also no longer needed with recent-ish filter changes. |
1723d9ccdd3b647f5b7bae44cab9ab3eca7a4874 94300 |
|
29-Mar-2002 |
dougm |
hook into mod_ssl for https support |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
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: |
92d311b27a6182c2eed67317990c8c168584ee75 93787 |
|
08-Mar-2002 |
trawick |
implement a common function for getting a socket and trying to connect
to the target host; use that common function for proxy HTTP and proxy
CONNECT
In that new function, fix this problem:
Proxy HTTP and CONNECT: Keep trying other addresses from the DNS
when we can't get a socket in the specified address family. We may
have gotten back an IPv6 address first and yet our system is not
configured to allow IPv6 sockets.
An example host is www.ipv6.org. The first address I get back is
an IPv6 address, but my machine may not be configured to allow an
AF_INET6 socket.
Before the fix: The apr_socket() failure was fatal.
After the fix: When apr_socket() fails, we go to the next address from
the resolver, successfully create a socket in the
specified family (AF_INET), and all is well.
(an unrelated fix in this commit was to pass a server_rec in a broken
ap_log_error() call) |
9379749d811388a7d0e3410940ddd6743a33d330 93597 |
|
27-Feb-2002 |
jim |
Add the ProxyRemoteMatch directive to the mod_proxy
code. Doccos to be done soon |
39d0fbe4ffd056efb30d2dd7eb08f7f49f34c1e5 93529 |
|
21-Feb-2002 |
trawick |
fix the linkage of and add a prototype for ap_proxy_table_unmerge() |
4224d5789080ea5586d49420da1e1996f5653bb5 93117 |
|
30-Jan-2002 |
ianh |
add a ProxyTimeout directive |
4ecd546edd89824908c2a9ad2e07339d89368f9c 93111 |
|
30-Jan-2002 |
martin |
Minor tipos |
b0974c82efee430dbcb479cbb7f93b96a78032a3 93093 |
|
30-Jan-2002 |
stoddard |
Cleanup some fallout from the recent install_transport_filters commit.
Deprecate ap_proxy_pre_http_connection. |
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 |
c6a03954a73606a1506a1e486c84d78d7f68e3ae 92724 |
|
03-Jan-2002 |
trawick |
get the declarations for strncasecmp() on AIX |
2f3894b2edb7f246e7f40af52a2012399b462af9 91549 |
|
18-Oct-2001 |
rbb |
The proxy does not actually need this header. |
b900452c9c36031434d318880f023c0fb9143325 91486 |
|
16-Oct-2001 |
rbb |
Cleanup the proxy code that creates a request to the origin
server. This change adds an optional hook, which allows modules
to gain control while the request is created if the proxy module
is loaded. The purpose of this hook is to allow modules to add
input and/or output filters to the request to the origin. While
I was at it, I made the core use this hook, so that proxy request
creation uses some of the code from the core. This can still be
greatly improved, but this is a good start. |
1abef4a5981408440a70f2c45016125d4c58e8de 91363 |
|
08-Oct-2001 |
ianh |
initial port of new Request-mode HTTP_IN filter to proxy.
Status: It serves a reverse-proxy page.. but SLOWLY.
VERY SLOWLY.
still looking at why, but now it serves pages instead of dumping core.
PR:
Obtained from:
Submitted by:
Reviewed by: |
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: |
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 |
b877d8e0f1768abe5389383f9e0ec2ed111270f7 90819 |
|
30-Aug-2001 |
wrowe |
Fix a broken declaration (supress type conversion warning on win32). |
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. |
9bbfaaac7be15cbf1f3957a6f227e1b03fe6926d 89854 |
|
01-Aug-2001 |
orlikowski |
Remove a no-longer-needed header. |
59022eba197a20e3d36d08a9c36b8e6a6e818b00 89838 |
|
31-Jul-2001 |
orlikowski |
After checking what this does with Bill Rowe, and discovering it to be dead
wood, I am tossing it. |
65e6d908dea547d371e7779d3c313c7ff1f02dc6 89837 |
|
31-Jul-2001 |
orlikowski |
Being slightly picky: properly namespace protect make_fake_req() |
90de6816a25f99140488258176bcecf40a50248f 89836 |
|
31-Jul-2001 |
orlikowski |
Oops. Include the right headers... |
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. |
54b5b46902bfe557e5391196d0975938b0a3ad08 89280 |
|
06-Jun-2001 |
chuck |
Use apr-util's date functions now |
9c70fe7952482a4b0bae89806525243c63a28212 89204 |
|
22-May-2001 |
orlikowski |
Fixes to proxy, after util-uri move, plus fixes to the .mak file. |
35eadbdd60c066cbb46974391bd71101f162209e 89085 |
|
11-May-2001 |
ianh |
Allows Mod_proxy to be dynamically loaded on win32 systems
PR:
Obtained from:
Submitted by: ianh
Reviewed by: Chuck Murcko, Graham |
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: |
14b8f6f1baf66a650ea4ac295622a9eede2eb519 88814 |
|
12-Apr-2001 |
minfrin |
Fixed some thread-safety issues with the HTTP proxy in mod_proxy.
PR:
Obtained from:
Reviewed by: |
90d46272b99904b3736bf25027021fcdcc23ee4c 88797 |
|
10-Apr-2001 |
minfrin |
Make sure the filter stack in a reused downstream connection is reset
so we don't get lots of DECHUNK filters when we don't want them.
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: |
88d088222c12b626d76069ecef91057b2a26122b 88777 |
|
10-Apr-2001 |
minfrin |
Compiler warnings - yuck!
Moved ap_proxy_string_read() to proxy_util.c so it can be used by
proxy_http.c
PR:
Obtained from:
Reviewed by: |
df0252d047422698076da7895a7099a071b315b1 88775 |
|
09-Apr-2001 |
minfrin |
*) PASV FTP works now.
*) Reworked the line-at-a-time read from the control connection to
workaround a stray empty bucket returned by the HTTP_IN filter.
PR:
Obtained from:
Reviewed by: |
d2ef3f355b19c376986775b7115f486619da37f2 88771 |
|
09-Apr-2001 |
minfrin |
Goodbye more dead code.
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: |
6d021072e1f2f62348bdf2ab683252ba17155dcc 88769 |
|
08-Apr-2001 |
minfrin |
HTTP_VERSION() is the correct way to do this...
PR:
Obtained from:
Reviewed by: |
5b06acd2d4ef317651a31ff355dbda35ef54a96a 88765 |
|
08-Apr-2001 |
minfrin |
Add #defines for protocol version checks...
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: |
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: |
cb3cb4d60ac28163d3159c7b26593413fad6cd3e 88534 |
|
19-Mar-2001 |
chuck |
reorganize STATUS; update copyright |
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: |
e64e6e5a05c47380678a0defb17000166ac24072 88110 |
|
12-Feb-2001 |
chuck |
Fix for moved macros
PR:
Obtained from:
Submitted by:
Reviewed by: |
024cd9589e52cf11ce765dfddb5b5f0c6e421a48 88061 |
|
10-Feb-2001 |
gstein |
*) continued header revamping
*) torch some headers (and some libs) from the autoconf stuff |
fdacf528f0125e0165de42b7783b1dcbf961a189 88004 |
|
07-Feb-2001 |
chuck |
Changes to get running on the current codebase
PR:
Obtained from:
Submitted by:
Reviewed by: |
db3fa7db7c7910f2f23c3e3ffe0cf9f41a1899b9 87460 |
|
20-Dec-2000 |
trawick |
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro. |
886cd69ebf69e990dbc365be87ff8ea7cd681904 87424 |
|
19-Dec-2000 |
rbb |
Force all Apache functions to be linked into the executable, whether they
are used or not. This uses the same mechanism that is used for APR
and APR-util. This may not be the correct solution, but it works, and that
is what I really care about. This also renames CHARSET_EBCDIC to
AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes
the exports script a bit easier. |
dec91c8938ddfd2904d4c1c2f382e8eb50da54b8 87013 |
|
18-Nov-2000 |
rbb |
Begin to remove some of the cache-ing logic from the http proxy. |
e351a4349a3dcc2e8d9c27bcdf72414bdde0942f 86988 |
|
17-Nov-2000 |
rbb |
This removes all BUFF's from the HTTP proxy. This code is relatively
ugly, but it does proxy pages. This even fixes the content-type bug
that I introduced yesterday sometime. As soon as BUFF is removed from
the FTP proxy, the buff.c and buff.h files need to go away. |
984519938db95cd681c159102a852e523da1d07e 86978 |
|
16-Nov-2000 |
rbb |
Make the proxy work with filters. We are still using BUFF for the
back-end communication, but BUFF has been removed from the communication
with the client. The headers are not working correctly yet, but we are
making progress. The most important part of this commit is that we are
able to actually filter data coming from the proxy. |
26720422632ac831c17501d36b4151598cfe3c90 86961 |
|
14-Nov-2000 |
chuck |
Simplify ap_proxy_doconnect(); now returns apr_status_t
PR:
Obtained from:
Submitted by:
Reviewed by: |
8b503609014fb840b3c0e3bc8444de27d3dc6711 86928 |
|
11-Nov-2000 |
rbb |
The whole proxy compiles cleanly now. Now we need to make it actually work
again, but at least we are making progress. |
8c265dec6a65774cea2ea7b1821d677c4411d9a3 86927 |
|
11-Nov-2000 |
rbb |
proxy_ftp and proxy_http both compile now. Not tested because the rest of
the proxy is still not compiling, but we are making progress. |
bd6531185103c1f05fc76359b642afb27c112687 86925 |
|
11-Nov-2000 |
chuck |
Pick up buff.h for the moment, now to get the conn_rec changes from the last
few days taken care of.
PR:
Obtained from: Chuck Murcko
Submitted by:
Reviewed by: |
a68f66e7af70075bf5dfc46cb835c72b21cb1638 86920 |
|
11-Nov-2000 |
chuck |
This is 1.3.x current proxy folded 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 |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
6a875743d0b73682a5cedf952b4016a3513dea87 85562 |
|
13-Jun-2000 |
chuck |
OK, this builds and is autoconf safe about system headers, until it starts
using APR
PR:
Obtained from:
Submitted by: Chuck Murcko
Reviewed by: |
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. |
54e94821097724bf413d2d4cc70711760f7494e1 84998 |
|
20-Apr-2000 |
trawick |
[EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3. This replaces most
of the \015, \012, and \015\012 constants with macros.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick |
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 |
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 |