]> granicus.if.org Git - apache/log
apache
20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 years agoUse forward worker for all PROXYREQ_PROXY requests.
Mladen Turk [Thu, 9 Sep 2004 10:26:29 +0000 (10:26 +0000)]
Use forward worker for all PROXYREQ_PROXY requests.

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

20 years agoAdd 'default' foward proxy worker to the proxy_server_conf.
Mladen Turk [Thu, 9 Sep 2004 10:24:27 +0000 (10:24 +0000)]
Add 'default' foward proxy worker to the proxy_server_conf.
Forward worker is constructed on ProxyRequests directive
with sceme and host equals '*', meaning all.

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

20 years agoAdd 'default' foward proxy worker to the proxy_server_conf.
Mladen Turk [Thu, 9 Sep 2004 10:22:19 +0000 (10:22 +0000)]
Add 'default' foward proxy worker to the proxy_server_conf.

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

20 years agoForward port typo fix from 2.0.
Yoshiki Hayashi [Thu, 9 Sep 2004 06:17:29 +0000 (06:17 +0000)]
Forward port typo fix from 2.0.

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

20 years agodocument a problem with AIX native compiler and Apache 2+,
Jeff Trawick [Wed, 8 Sep 2004 14:50:31 +0000 (14:50 +0000)]
document a problem with AIX native compiler and Apache 2+,
and describe how to avoid it

PR:   30487

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

20 years agoupdate transformation
André Malo [Wed, 8 Sep 2004 10:34:28 +0000 (10:34 +0000)]
update transformation

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

20 years agoThe domain name example1.com actually exists and is NOT one of the
Yoshiki Hayashi [Wed, 8 Sep 2004 06:13:54 +0000 (06:13 +0000)]
The domain name example1.com actually exists and is NOT one of the
example domain names reserved in RFC2606.

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

20 years agoupdate transformation
André Malo [Tue, 7 Sep 2004 06:05:34 +0000 (06:05 +0000)]
update transformation

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

20 years agoGrammar police.
Yoshiki Hayashi [Tue, 7 Sep 2004 02:28:16 +0000 (02:28 +0000)]
Grammar police.

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

20 years agoGrammar police.
Yoshiki Hayashi [Tue, 7 Sep 2004 00:13:40 +0000 (00:13 +0000)]
Grammar police.

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

20 years agouse language designtated maf base urls
André Malo [Sun, 5 Sep 2004 17:17:40 +0000 (17:17 +0000)]
use language designtated maf base urls

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

20 years agoclean up
André Malo [Sun, 5 Sep 2004 16:04:29 +0000 (16:04 +0000)]
clean up

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

20 years agobuild bootstrap
André Malo [Sun, 5 Sep 2004 16:01:20 +0000 (16:01 +0000)]
build bootstrap

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

20 years agofaster build of more than one offline package
André Malo [Sun, 5 Sep 2004 15:59:25 +0000 (15:59 +0000)]
faster build of more than one offline package

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

20 years agobuild bootstrap
André Malo [Sun, 5 Sep 2004 15:06:56 +0000 (15:06 +0000)]
build bootstrap

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

20 years agomaf and zip don't differ that much. Let's create just one package for both
André Malo [Sun, 5 Sep 2004 15:03:08 +0000 (15:03 +0000)]
maf and zip don't differ that much. Let's create just one package for both
purposes

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