]> granicus.if.org Git - apache/log
apache
19 years agoIn order for mod_expires to work with mod_cache, mod_expires has to go first.
Justin Erenkrantz [Tue, 21 Sep 2004 22:48:16 +0000 (22:48 +0000)]
In order for mod_expires to work with mod_cache, mod_expires has to go first.
Otherwise, mod_cache has no clue that the response has a limited lifetime.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105234 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate to enable mod_filter harness to be a Provider (for chaining rules).
Nick Kew [Tue, 21 Sep 2004 22:46:30 +0000 (22:46 +0000)]
Update to enable mod_filter harness to be a Provider (for chaining rules).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105233 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* server/protocol.c (ap_rgetline_core): Never NUL terminate at
Joe Orton [Tue, 21 Sep 2004 21:07:23 +0000 (21:07 +0000)]
* server/protocol.c (ap_rgetline_core): Never NUL terminate at
(*s)[-1] for caller-supplied *s.

Submitted by: Rici Lake <ricilake speedy.com.pe>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105231 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* configure.in: Only export CC and CPP if a cache file is not
Joe Orton [Tue, 21 Sep 2004 20:04:51 +0000 (20:04 +0000)]
* configure.in: Only export CC and CPP if a cache file is not
specified.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105230 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Tue, 21 Sep 2004 19:44:27 +0000 (19:44 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105229 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSECURITY: CAN-2004-0811 officially part of 2.0.52
Geoffrey Young [Tue, 21 Sep 2004 13:23:47 +0000 (13:23 +0000)]
SECURITY: CAN-2004-0811 officially part of 2.0.52

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105228 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMerge mod_filter with util_filter structs; add API for protocol stuff.
Nick Kew [Tue, 21 Sep 2004 10:14:40 +0000 (10:14 +0000)]
Merge mod_filter with util_filter structs; add API for protocol stuff.
Rename FilterDebug directive to FilterTrace.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105226 13f79535-47bb-0310-9956-ffa450edef68

19 years agofix typo
Bradley Nicholes [Tue, 21 Sep 2004 01:35:05 +0000 (01:35 +0000)]
fix typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105222 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* server/core.c (merge_core_dir_configs): Fix Satisfy merging since
Joe Orton [Mon, 20 Sep 2004 20:12:20 +0000 (20:12 +0000)]
* server/core.c (merge_core_dir_configs): Fix Satisfy merging since
per-method Satisfy feature was added.

PR: 31315
Submitted by: Rici Lake <rici ricilake.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105215 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Mon, 20 Sep 2004 20:10:13 +0000 (20:10 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105214 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* configure.in: Ensure that $CC and $CPP are correctly passed through
Joe Orton [Mon, 20 Sep 2004 12:12:01 +0000 (12:12 +0000)]
* configure.in: Ensure that $CC and $CPP are correctly passed through
to the pcre configure script if config caching is disabled (the
autoconf 2.5x default).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105210 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix the global mutex crash when the global mutex is never allocated due
Graham Leggett [Sun, 19 Sep 2004 23:11:10 +0000 (23:11 +0000)]
Fix the global mutex crash when the global mutex is never allocated due
to disabled/empty caches.
PR:
Obtained from:
Submitted by: Jess Holle <jessh ptc.com>
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105208 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix a segfault in the LDAP cache purge.
Graham Leggett [Sun, 19 Sep 2004 23:00:25 +0000 (23:00 +0000)]
Fix a segfault in the LDAP cache purge.
PR:
Obtained from:
Submitted by: Jess Holle <jessh ptc.com>
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105206 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate Japanese translation.
Yoshiki Hayashi [Sun, 19 Sep 2004 18:34:43 +0000 (18:34 +0000)]
Update Japanese translation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105205 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Update the description of digest support for 2004, adding Konqueror, Mac IE, and...
Chris Pepper [Sun, 19 Sep 2004 04:20:37 +0000 (04:20 +0000)]
   Update the description of digest support for 2004, adding Konqueror, Mac IE, and Safari as supporting browsers, and lynx as an (apparently) non-supporting browser. Confirmation of the official lynx home would be welcome -- lynx.browser.org and UKans both have older versions.

   I *believe* IE/Mac (which has a much different code base than IE/Win) doesn't have the GET bug described on Windows -- at least I can request a URL like "http://myhost/?testing" and successfully log in and get to http://myhost/, but I'm not sure if there's a subtlety I missed. I also alphabetized the (fairly long) list of browsers (keeping Mozilla and Netscape together), and toned down the warning about lack of support, since everything but lynx now seems to handle digest auth.

PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105203 13f79535-47bb-0310-9956-ffa450edef68

19 years agoadd mod_proxy_ajp mod_proxy_balancer dependencies
Allan K. Edwards [Sat, 18 Sep 2004 19:17:07 +0000 (19:17 +0000)]
add mod_proxy_ajp mod_proxy_balancer dependencies

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105202 13f79535-47bb-0310-9956-ffa450edef68

19 years agomod_rewrite: Handle per-location rules when r->filename is unset.
Jeff Trawick [Sat, 18 Sep 2004 16:18:26 +0000 (16:18 +0000)]
mod_rewrite: Handle per-location rules when r->filename is unset.
Previously this would segfault or simply not match as expected,
depending on the platform.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105198 13f79535-47bb-0310-9956-ffa450edef68

19 years agosync with APACHE_2_0_BRANCH
Jeff Trawick [Sat, 18 Sep 2004 00:44:52 +0000 (00:44 +0000)]
sync with APACHE_2_0_BRANCH

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105197 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUnix MPMs: Shut down the server more quickly when child processes are
Jeff Trawick [Sat, 18 Sep 2004 00:33:56 +0000 (00:33 +0000)]
Unix MPMs: Shut down the server more quickly when child processes are
slow to exit.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105195 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove useless C++ comment.
Jean-Frederic Clere [Fri, 17 Sep 2004 17:02:28 +0000 (17:02 +0000)]
Remove useless C++ comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105193 13f79535-47bb-0310-9956-ffa450edef68

19 years agosync with 2.0 CHANGES file
Bill Stoddard [Fri, 17 Sep 2004 15:39:29 +0000 (15:39 +0000)]
sync with 2.0 CHANGES file

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105192 13f79535-47bb-0310-9956-ffa450edef68

19 years agoGroup effort. Thanks all!
Bill Stoddard [Fri, 17 Sep 2004 15:37:35 +0000 (15:37 +0000)]
Group effort. Thanks all!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105190 13f79535-47bb-0310-9956-ffa450edef68

19 years agoeliminate cleanup bit in favor of managing the object exclusively with the refcount...
Bill Stoddard [Fri, 17 Sep 2004 14:58:05 +0000 (14:58 +0000)]
eliminate cleanup bit in favor of managing the object exclusively with the refcount field

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105186 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove duplicate logging from alloc and send data_msg.
Mladen Turk [Fri, 17 Sep 2004 12:59:44 +0000 (12:59 +0000)]
Remove duplicate logging from alloc and send data_msg.
The logging is already done in the proxy_ajp. Also remove
unused function params.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105185 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove logging inside ajp_send_data_msg. If send fails it is logged
Mladen Turk [Fri, 17 Sep 2004 12:52:49 +0000 (12:52 +0000)]
Remove logging inside ajp_send_data_msg. If send fails it is logged
inside proxy_ajp with the same message.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105184 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDo not check if the input sock param is NULL. It's already checked before
Mladen Turk [Fri, 17 Sep 2004 12:39:19 +0000 (12:39 +0000)]
Do not check if the input sock param is NULL. It's already checked before
the function is called.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105183 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake worker retry algorithm much simpler removing incremental
Mladen Turk [Fri, 17 Sep 2004 08:00:20 +0000 (08:00 +0000)]
Make worker retry algorithm much  simpler removing incremental
timeout increase.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105177 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate translation to english revision
Astrid Malo [Thu, 16 Sep 2004 20:58:41 +0000 (20:58 +0000)]
update translation to english revision

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105175 13f79535-47bb-0310-9956-ffa450edef68

19 years agocorrect two links
Astrid Malo [Thu, 16 Sep 2004 20:44:53 +0000 (20:44 +0000)]
correct two links

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105174 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd failover attempts management to balancer-manager.
Mladen Turk [Thu, 16 Sep 2004 14:12:36 +0000 (14:12 +0000)]
Add failover attempts management to balancer-manager.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105173 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDisplay worker status under server-status
Mladen Turk [Thu, 16 Sep 2004 14:02:16 +0000 (14:02 +0000)]
Display worker status under server-status

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105172 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd maximum nuber of attempts for failover and run scheme handler
Mladen Turk [Thu, 16 Sep 2004 12:08:00 +0000 (12:08 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105171 13f79535-47bb-0310-9956-ffa450edef68

19 years agouse HTML 2.0 <hr>
André Malo [Wed, 15 Sep 2004 20:24:19 +0000 (20:24 +0000)]
use HTML 2.0 <hr>

PR: 30732

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105162 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDo not set shared data from previous worker if ap_get_scoreboard_lb fails.
Mladen Turk [Wed, 15 Sep 2004 18:27:08 +0000 (18:27 +0000)]
Do not set shared data from previous worker if ap_get_scoreboard_lb fails.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105156 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix core dump on WIN32 caused by the fact that there is no way to run a
Mladen Turk [Wed, 15 Sep 2004 17:11:08 +0000 (17:11 +0000)]
Fix core dump on WIN32 caused by the fact that there is no way to run a
hook after ap_scoreboard_init. Since we only have a single child on
WIN32 that isn't a big problem, cause plain memory is enough. Other
platforms were not affected cause scoreboard_image is inherited from parent.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105151 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFixed race condition when cleaning a cache object from multiple thread.
Jean-Jacques Clar [Wed, 15 Sep 2004 15:09:09 +0000 (15:09 +0000)]
Fixed race condition when cleaning a cache object from multiple thread.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105147 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix worker retries and limit default retry timeout to 10 minutes.
Mladen Turk [Wed, 15 Sep 2004 12:20:19 +0000 (12:20 +0000)]
Fix worker retries and limit default retry timeout to 10 minutes.
Thanks to Christian von Roques for spotting that.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105136 13f79535-47bb-0310-9956-ffa450edef68

19 years agoWorker shared data has to be visible across all child processes,
Mladen Turk [Wed, 15 Sep 2004 12:10:36 +0000 (12:10 +0000)]
Worker shared data has to be visible across all child processes,
so remove creating that data on per-child basis.
Thanks to Christian von Roques for the patch.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105135 13f79535-47bb-0310-9956-ffa450edef68

19 years agoWorker shared data has to be visible across all child processes,
Mladen Turk [Wed, 15 Sep 2004 12:08:39 +0000 (12:08 +0000)]
Worker shared data has to be visible across all child processes,
so remove creating that data on per-child basis.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105134 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRegister output function so that core can retrieve it and set
Mladen Turk [Wed, 15 Sep 2004 11:57:02 +0000 (11:57 +0000)]
Register output function so that core can retrieve it and set
scoreboard accordingly

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105132 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* server/util.c (ap_resolve_env): Rewrite to avoid buffer overflows.
Joe Orton [Wed, 15 Sep 2004 11:44:05 +0000 (11:44 +0000)]
* server/util.c (ap_resolve_env): Rewrite to avoid buffer overflows.

Submitted by: Andr�� Malo
Reviewed by: jorton, mjc

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105130 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/proxy_http.c (proxy_http_handler, proxy_http_canon):
Joe Orton [Tue, 14 Sep 2004 18:54:32 +0000 (18:54 +0000)]
* modules/proxy/proxy_http.c (proxy_http_handler, proxy_http_canon):
Drop ap_ prefix, declarations and make static.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105120 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/proxy_ajp.c (proxy_ajp_handler): #if 0-out variable
Joe Orton [Tue, 14 Sep 2004 17:33:29 +0000 (17:33 +0000)]
* modules/proxy/proxy_ajp.c (proxy_ajp_handler): #if 0-out variable
which is only used in the #if 0'ed code in this function.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105119 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/proxy_ajp.c (proxy_ajp_handler, proxy_ajp_canon): Drop
Joe Orton [Tue, 14 Sep 2004 17:29:36 +0000 (17:29 +0000)]
* modules/proxy/proxy_ajp.c (proxy_ajp_handler, proxy_ajp_canon): Drop
ap_ prefix, declarations and make static.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105118 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* server/protocol.c (ap_rgetline_core): Fix off-by-one.
Joe Orton [Mon, 13 Sep 2004 15:34:59 +0000 (15:34 +0000)]
* server/protocol.c (ap_rgetline_core): Fix off-by-one.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105113 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix typo in previous commit.
Joe Orton [Mon, 13 Sep 2004 13:19:10 +0000 (13:19 +0000)]
Fix typo in previous commit.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105112 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* server/core.c (default_handler): Fix the test for whether to split a
Joe Orton [Mon, 13 Sep 2004 13:16:32 +0000 (13:16 +0000)]
* server/core.c (default_handler): Fix the test for whether to split a
file into several buckets: it is needed regardless of whether sendfile
is enabled, and APR_HAS_LARGE_FILES is not sufficient to determine
whether sizeof(apr_off_t) is greater than sizeof(apr_off_t).

PR: 28898

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105111 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix typo -- uri is constructed when there is no proxy in chain.
Mladen Turk [Mon, 13 Sep 2004 11:36:24 +0000 (11:36 +0000)]
Fix typo -- uri is constructed when there is no proxy in chain.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105110 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNo need to allocate hostname on each request for
Mladen Turk [Mon, 13 Sep 2004 11:30:22 +0000 (11:30 +0000)]
No need to allocate hostname on each request for
persistent connections.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105109 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAlways use prive connection pool for allocation, and call
Mladen Turk [Mon, 13 Sep 2004 11:13:28 +0000 (11:13 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105108 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_display): Return
Joe Orton [Mon, 13 Sep 2004 11:11:32 +0000 (11:11 +0000)]
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_display): Return
empty string on error path.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105107 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOops. Do not commit private settings.
Mladen Turk [Mon, 13 Sep 2004 11:02:12 +0000 (11:02 +0000)]
Oops. Do not commit private settings.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105106 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/ldap/util_ldap.c (util_ldap_post_config): Fix false
Joe Orton [Mon, 13 Sep 2004 10:59:55 +0000 (10:59 +0000)]
* modules/ldap/util_ldap.c (util_ldap_post_config): Fix false
positives from gcc -Wformat-security.

* modules/ldap/util_ldap_cache.c (util_ldap_url_node_display): Add default
to switch to avoid uninitialised variable warnings.

* modules/ldap/util_ldap_cache_mgr.c (util_ald_create_caches): Fix to
return NULL rather than random chunk from stack on error path.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105105 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/ajp_msg.c (ajp_msg_dump): Cast apr_size_t to unsigned
Joe Orton [Mon, 13 Sep 2004 10:39:37 +0000 (10:39 +0000)]
* modules/proxy/ajp_msg.c (ajp_msg_dump): Cast apr_size_t to unsigned
long to avoid the warning with %lx for 32-bit size_t too.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105104 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd proxy_ajp and proxy_balancer to the LoadModule list.
Mladen Turk [Mon, 13 Sep 2004 10:32:19 +0000 (10:32 +0000)]
Add proxy_ajp and proxy_balancer to the LoadModule list.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105103 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd proxy_ajp and proxy_balancer to the build.
Mladen Turk [Mon, 13 Sep 2004 10:31:25 +0000 (10:31 +0000)]
Add proxy_ajp and proxy_balancer to the build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105102 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/dav/fs/lock.c (dav_fs_refresh_locks): Fix SEGV on refresh of
Joe Orton [Sun, 12 Sep 2004 22:24:05 +0000 (22:24 +0000)]
* modules/dav/fs/lock.c (dav_fs_refresh_locks): Fix SEGV on refresh of
indirect lock.

PR: 31183

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105100 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/dav/fs/lock.c (dav_size_indirect): Fix indirect lock record
Joe Orton [Sun, 12 Sep 2004 22:14:57 +0000 (22:14 +0000)]
* modules/dav/fs/lock.c (dav_size_indirect): Fix indirect lock record
handling on 64-bit platforms: use correct size of apr_datum_t.dsize
field.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105099 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
Astrid Malo [Sun, 12 Sep 2004 20:42:52 +0000 (20:42 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105097 13f79535-47bb-0310-9956-ffa450edef68

19 years agoit should be a link
Astrid Malo [Sun, 12 Sep 2004 20:40:43 +0000 (20:40 +0000)]
it should be a link

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105096 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Sun, 12 Sep 2004 17:02:31 +0000 (17:02 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105091 13f79535-47bb-0310-9956-ffa450edef68

19 years agoHTTP = Hyptertext Transfer Protocol
André Malo [Sun, 12 Sep 2004 16:59:34 +0000 (16:59 +0000)]
HTTP = Hyptertext Transfer Protocol

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105090 13f79535-47bb-0310-9956-ffa450edef68

19 years agoPR: 19688
Nick Kew [Sun, 12 Sep 2004 15:50:43 +0000 (15:50 +0000)]
PR: 19688
Fix incorrect (and important) comments

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105089 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate translation
Astrid Malo [Sun, 12 Sep 2004 13:03:13 +0000 (13:03 +0000)]
update translation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105088 13f79535-47bb-0310-9956-ffa450edef68

19 years agoadd Revision mark
André Malo [Sat, 11 Sep 2004 21:35:11 +0000 (21:35 +0000)]
add Revision mark

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105083 13f79535-47bb-0310-9956-ffa450edef68

19 years agobuild all
André Malo [Sat, 11 Sep 2004 19:20:46 +0000 (19:20 +0000)]
build all

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105082 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSomething I've wish to change for years :).
Mladen Turk [Sat, 11 Sep 2004 18:54:49 +0000 (18:54 +0000)]
Something I've wish to change for years :).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105081 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd ajp and balancer
Mladen Turk [Sat, 11 Sep 2004 18:47:05 +0000 (18:47 +0000)]
Add ajp and balancer

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105080 13f79535-47bb-0310-9956-ffa450edef68

19 years agoInitial balancer documentation. Just framework.
Mladen Turk [Sat, 11 Sep 2004 18:46:33 +0000 (18:46 +0000)]
Initial balancer documentation. Just framework.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105079 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd ajp documentation.
Mladen Turk [Sat, 11 Sep 2004 18:45:31 +0000 (18:45 +0000)]
Add ajp documentation.
Mostly copied from jakarta site and translate to apache doc format

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105078 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd more comments to the code -- No functional change.
Mladen Turk [Sat, 11 Sep 2004 17:14:49 +0000 (17:14 +0000)]
Add more comments to the code -- No functional change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105077 13f79535-47bb-0310-9956-ffa450edef68

19 years agoThe functionality is in mod_authz_host module in 2.1.
Yoshiki Hayashi [Sat, 11 Sep 2004 16:43:26 +0000 (16:43 +0000)]
The functionality is in mod_authz_host module in 2.1.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105076 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd more comments to the code -- No functional change.
Mladen Turk [Sat, 11 Sep 2004 16:39:38 +0000 (16:39 +0000)]
Add more comments to the code -- No functional change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105075 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTidying loose ends.
Nick Kew [Sat, 11 Sep 2004 11:00:32 +0000 (11:00 +0000)]
Tidying loose ends.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105074 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUse worker as a parameter for connection_constructor.
Mladen Turk [Sat, 11 Sep 2004 10:50:05 +0000 (10:50 +0000)]
Use worker as a parameter for connection_constructor.
When min connections is greater then zero connstructor is
called when the reslist is created.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105073 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd #if APR_HAS_MMAP to fix for non-MMAPing platforms.
Nick Kew [Sat, 11 Sep 2004 10:45:06 +0000 (10:45 +0000)]
Add #if APR_HAS_MMAP to fix for non-MMAPing platforms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105072 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix format string warnings in proxy_ajp on 64-bit platforms:
Joe Orton [Sat, 11 Sep 2004 09:57:12 +0000 (09:57 +0000)]
Fix format string warnings in proxy_ajp on 64-bit platforms:

* modules/proxy/ajp_header.c (ajp_send_data_msg): Use
APR_SIZE_T_FMT.

* modules/proxy/ajp_link.c (ajp_ilink_receive): Don't pass
\n to ap_log_error; do use APR_SIZE_T_FMT.

* modules/proxy/ajp_msg.c (ajp_msg_dump, ajp_msg_check_header,
ajp_msg_copy): Use APR_SIZE_T_FMT.
(ajp_log_overflow): New function.
(ajp_msg_{append,peek,get}_*): Use it.

* modules/proxy/proxy_ajp.c (ap_proxy_ajp_request): Use
APR_SIZE_T_FMT.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105071 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDo not add forward proxy to other proxies. Use new function to
Mladen Turk [Sat, 11 Sep 2004 09:31:10 +0000 (09:31 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105070 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove the unused close_connection function.
Mladen Turk [Sat, 11 Sep 2004 09:12:26 +0000 (09:12 +0000)]
Remove the unused close_connection function.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105069 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake sure that the connection pool cleanup is called before
Mladen Turk [Sat, 11 Sep 2004 09:08:00 +0000 (09:08 +0000)]
Make sure that the connection pool cleanup is called before
the reslist is destroyed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105068 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Fri, 10 Sep 2004 18:55:23 +0000 (18:55 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105066 13f79535-47bb-0310-9956-ffa450edef68

19 years agoInitialize the forward proxy worker too.
Mladen Turk [Fri, 10 Sep 2004 18:47:55 +0000 (18:47 +0000)]
Initialize the forward proxy worker too.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105065 13f79535-47bb-0310-9956-ffa450edef68

19 years agoJust like for balancers initialize the workers on post_config
Mladen Turk [Fri, 10 Sep 2004 18:29:16 +0000 (18:29 +0000)]
Just like for balancers initialize the workers on post_config
instead on first request to skip the race condition.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105064 13f79535-47bb-0310-9956-ffa450edef68

19 years agoInitialize the balancer on child_init instead on first request to skip
Mladen Turk [Fri, 10 Sep 2004 18:25:54 +0000 (18:25 +0000)]
Initialize the balancer on child_init instead on first request to skip
the race condition.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105063 13f79535-47bb-0310-9956-ffa450edef68

19 years agoEntering mod_filter and documentation, as previously discussed on dev@httpd.
Nick Kew [Fri, 10 Sep 2004 16:17:15 +0000 (16:17 +0000)]
Entering mod_filter and documentation, as previously discussed on dev@httpd.
Please test-drive in time for 2.2.  Currently compatible with 2.0 and up.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105062 13f79535-47bb-0310-9956-ffa450edef68

19 years agoInclude unistd.h for getpid.
Mladen Turk [Fri, 10 Sep 2004 14:49:38 +0000 (14:49 +0000)]
Include unistd.h for getpid.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105061 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix compile time warnings (logging pointer and unused var).
Mladen Turk [Fri, 10 Sep 2004 14:48:20 +0000 (14:48 +0000)]
Fix compile time warnings (logging pointer and unused var).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105060 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove the proxy_conn_cleanup. The socket will be closed
Mladen Turk [Fri, 10 Sep 2004 14:32:11 +0000 (14:32 +0000)]
Remove the proxy_conn_cleanup. The socket will be closed
when the pool is cleared or destroyed by it's own cleanup routine.
Also skip clearing sockets if the workers pool is destroyed, cause
the pool might already be destroyed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105059 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMaxSpareServers cannot be equal to MinSpareServers.
Joe Orton [Fri, 10 Sep 2004 09:21:31 +0000 (09:21 +0000)]
MaxSpareServers cannot be equal to MinSpareServers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105058 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMove the shared scoreboard data initization to the balancer module.
Mladen Turk [Fri, 10 Sep 2004 08:16:25 +0000 (08:16 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105057 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove unneeded variable. No functional change.
Mladen Turk [Thu, 9 Sep 2004 19:57:29 +0000 (19:57 +0000)]
Remove unneeded variable. No functional change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105056 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd function protos so that -Wmissing-declarations doesn't complain.
Mladen Turk [Thu, 9 Sep 2004 19:56:30 +0000 (19:56 +0000)]
Add function protos so that -Wmissing-declarations doesn't complain.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105055 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix typo.
Mladen Turk [Thu, 9 Sep 2004 19:55:24 +0000 (19:55 +0000)]
Fix typo.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105054 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Thu, 9 Sep 2004 19:50:26 +0000 (19:50 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105053 13f79535-47bb-0310-9956-ffa450edef68

19 years agoIf any of steps return status != OK close the connection
Mladen Turk [Thu, 9 Sep 2004 16:22:23 +0000 (16:22 +0000)]
If any of steps return status != OK close the connection
and call the proxy_http_cleanup.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105051 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake sure that the status is not overwritten.
Mladen Turk [Thu, 9 Sep 2004 16:14:41 +0000 (16:14 +0000)]
Make sure that the status is not overwritten.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105050 13f79535-47bb-0310-9956-ffa450edef68

19 years agospellcheck
Jeff Trawick [Thu, 9 Sep 2004 15:54:50 +0000 (15:54 +0000)]
spellcheck

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105049 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFirst try the reverse proxies. If there is no worker defined for
Mladen Turk [Thu, 9 Sep 2004 13:51:08 +0000 (13:51 +0000)]
First try the reverse proxies. If there is no worker defined for
requested uri use the forward worker, but only for PROXYREQ_PROXY
requests.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105048 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd PROXY_WORKER_IGNORE_ERRORS flags that
Mladen Turk [Thu, 9 Sep 2004 13:15:40 +0000 (13:15 +0000)]
Add PROXY_WORKER_IGNORE_ERRORS flags that
disables puting the entire worker in retry mode, cause
for forward workers the remote is not fixed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105047 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd sockaddr to proxy_conn_rec. Using the workers address
Mladen Turk [Thu, 9 Sep 2004 13:03:06 +0000 (13:03 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105046 13f79535-47bb-0310-9956-ffa450edef68