]> granicus.if.org Git - apache/log
apache
20 years agoCount the bytes trasfered and readed so we can display the actual
Mladen Turk [Sun, 26 Sep 2004 06:56:24 +0000 (06:56 +0000)]
Count the bytes trasfered and readed so we can display the actual
data traffic, and add additional balancer mechanism that will use the
data traffic into account.

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

20 years agoRemove proxy_runtime_worker and make the things simpler by
Mladen Turk [Sun, 26 Sep 2004 06:54:27 +0000 (06:54 +0000)]
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.

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

20 years agothis fix backported to 2.0
Bill Stoddard [Fri, 24 Sep 2004 14:30:08 +0000 (14:30 +0000)]
this fix backported to 2.0

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

20 years agoport
Bill Stoddard [Fri, 24 Sep 2004 13:10:48 +0000 (13:10 +0000)]
port

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

20 years agoTell mod_mem_cache that we will no longer be serving this object if it is stale.
Justin Erenkrantz [Fri, 24 Sep 2004 01:22:47 +0000 (01:22 +0000)]
Tell mod_mem_cache that we will no longer be serving this object if it is stale.

Submitted by: Bill Stoddard
Reviewed by:  Justin Erenkrantz

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

20 years agoNote a backport.
Graham Leggett [Thu, 23 Sep 2004 17:35:46 +0000 (17:35 +0000)]
Note a backport.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years ago* server/mpm_common.c (dummy_connection): Log the address if the
Joe Orton [Thu, 23 Sep 2004 08:59:06 +0000 (08:59 +0000)]
* server/mpm_common.c (dummy_connection): Log the address if the
connect() fails.

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

20 years agoFix race conditions in mod_disk_cache by properly using the tempfile rather
Justin Erenkrantz [Wed, 22 Sep 2004 22:28:54 +0000 (22:28 +0000)]
Fix race conditions in mod_disk_cache by properly using the tempfile rather
than the data file.  (We rename the tempfile when we're completed with the data
file which is an atomic operation.)

Part of the code assumed that it was using a temporary file; other parts
wrote directly to the body file - which was incorrect.  So, clean up the
whole mess to be consistent and more correct.

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

20 years agoCleanup a style nit. No functional changes.
Justin Erenkrantz [Wed, 22 Sep 2004 22:25:45 +0000 (22:25 +0000)]
Cleanup a style nit.  No functional changes.

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

20 years agoFix up some comments in CACHE_SAVE filter and fix a minor style nit.
Justin Erenkrantz [Wed, 22 Sep 2004 22:02:13 +0000 (22:02 +0000)]
Fix up some comments in CACHE_SAVE filter and fix a minor style nit.
No functional changes.

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

20 years ago* server/log.c (log_error_core): For APLOG_DEBUG on Unix, if __FILE__
Joe Orton [Wed, 22 Sep 2004 19:47:51 +0000 (19:47 +0000)]
* server/log.c (log_error_core): For APLOG_DEBUG on Unix, if __FILE__
is an absolute path (as in a VPATH build), just log the basename.

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

20 years agoWIN64: first in a series to get Windows IA64 builds clean, this serves pages
Allan K. Edwards [Wed, 22 Sep 2004 18:21:30 +0000 (18:21 +0000)]
WIN64: first in a series to get Windows IA64 builds clean, this serves pages

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

20 years agoRemove the second initialisation of the variable to NULL. It is already
Graham Leggett [Wed, 22 Sep 2004 16:50:29 +0000 (16:50 +0000)]
Remove the second initialisation of the variable to NULL. It is already
NULL in the definition.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years ago* modules/ssl/ssl_engine_io.c (ssl_io_filter_connect): Return
Joe Orton [Wed, 22 Sep 2004 16:34:20 +0000 (16:34 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_filter_connect): Return
502 not 501 if SSL_connect() fails for a proxy connection.

PR: 31083

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

20 years ago* modules/generators/mod_cgi.c (cgi_handler): Fix possible segfaults
Joe Orton [Wed, 22 Sep 2004 15:38:02 +0000 (15:38 +0000)]
* modules/generators/mod_cgi.c (cgi_handler): Fix possible segfaults
in CGI bucket methods if invoked from a subrequest.

PR: 31247

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

20 years ago* modules/ssl/ssl_scache_shmcb.c (ssl_scahe_shmcb_init): If anonymous
Joe Orton [Wed, 22 Sep 2004 15:32:09 +0000 (15:32 +0000)]
* modules/ssl/ssl_scache_shmcb.c (ssl_scahe_shmcb_init): If anonymous
shm is not supported, always remove the named segment first to cope
with unclean shutdowns.

PR: 21335 (continued)

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

20 years ago* server/scoreboard.c (create_namebased_scoreboard): Use
Joe Orton [Wed, 22 Sep 2004 13:35:31 +0000 (13:35 +0000)]
* server/scoreboard.c (create_namebased_scoreboard): Use
apr_shm_remove() rather than the unsufficient apr_file_remove().

PR: 27189

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

20 years ago* modules/ssl/ssl_engine_vars.c: Map "UID" suffix to the same OID
Joe Orton [Wed, 22 Sep 2004 11:34:53 +0000 (11:34 +0000)]
* modules/ssl/ssl_engine_vars.c: Map "UID" suffix to the same OID
(2.5.4.45) for old and new versions of OpenSSL.

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

20 years agoa few new translations and up-to-date patches
Jeon Jeongho [Wed, 22 Sep 2004 09:39:36 +0000 (09:39 +0000)]
a few new translations and up-to-date patches

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

20 years agoFix Expires (freshness) handling in mod_cache.
Justin Erenkrantz [Tue, 21 Sep 2004 22:56:23 +0000 (22:56 +0000)]
Fix Expires (freshness) handling in mod_cache.

Previously, if the cached copy was stale, the response would go into an
indeterminate state.  Therefore, the freshness check must be done before we
'accept' the response and, if it fails (i.e.  stale), we can't allow any side
effects.

This caused a number of changes to how mod_disk_cache reads its headers as
ap_scan_script_header_err() purposely has side-effects and that's
unacceptable.  So, factor out only what we need.

Also, remove the broken conditional filter code as you can't reliably alter the
filter list once the response is started.  (Regardless, cache_select_url()
has the freshness checks now.)

Assist to Sascha Schumann for reporting mod_cache was busted.

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

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