]> granicus.if.org Git - apache/log
apache
18 years agoRevert the splitting of buckets before they are handed to the cache providers,
Graham Leggett [Thu, 26 Oct 2006 15:43:25 +0000 (15:43 +0000)]
Revert the splitting of buckets before they are handed to the cache providers,
a better way has been found to do this.

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

18 years agoMove the assignment statements after the #if code to eliminate the C++ style inline...
Bradley Nicholes [Thu, 26 Oct 2006 15:39:41 +0000 (15:39 +0000)]
Move the assignment statements after the #if code to eliminate the C++ style inline variable declarations

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

18 years agoOptimise the alternate case. Fail fast and stop splitting buckets if
Graham Leggett [Wed, 25 Oct 2006 15:45:22 +0000 (15:45 +0000)]
Optimise the alternate case. Fail fast and stop splitting buckets if
store_body is no longer being called.

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

18 years agomod_cache: Fix an out of memory condition that occurs when the
Graham Leggett [Wed, 25 Oct 2006 13:44:47 +0000 (13:44 +0000)]
mod_cache: Fix an out of memory condition that occurs when the
cache tries to save huge files (greater than RAM). Buckets bigger
than a tuneable threshold are split into smaller buckets before
being passed to mod_disk_cache, etc. PR 39380

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

18 years agoFix a typo.
Graham Leggett [Tue, 24 Oct 2006 19:06:10 +0000 (19:06 +0000)]
Fix a typo.

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

18 years ago* server/log.c (ap_open_logs): When dup2'ing the error log to stderr,
Joe Orton [Tue, 24 Oct 2006 14:16:01 +0000 (14:16 +0000)]
* server/log.c (ap_open_logs): When dup2'ing the error log to stderr,
use the already-open stderr file object rather than opening a new one.

Submitted by: Tom Donovan <Tom.Donovan acm.org>
PR: 40476

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

18 years agoFix hasty cut-paste in the doccos
Jim Jagielski [Tue, 24 Oct 2006 14:00:50 +0000 (14:00 +0000)]
Fix hasty cut-paste in the doccos

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

18 years agoOnce SSLMutex allowed for the setting of both the
Jim Jagielski [Tue, 24 Oct 2006 13:17:29 +0000 (13:17 +0000)]
Once SSLMutex allowed for the setting of both the
locking method and the lockfile location, I never
liked how AcceptMutex was linked to LockFile. This
seemed unnecessary. Much better to have AcceptMutex
do both as well. Plus, now that we will likely see
other modules require a "standard" way of setting
mutexes, why not have Apache provide that as
an API of sorts.

Anyway, LockFile is now depreciated and AcceptMutex
is now SSLMutex-like. We also provide a short
function that "parses" out a mutex parameter
and strips out the mechanism and lockfile location.
AcceptMutex and SSLMutex is this capability.

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

18 years agoAdd CPING/CPONG message size as defined as max inside Apache Tomcat using define.
Mladen Turk [Tue, 24 Oct 2006 08:18:50 +0000 (08:18 +0000)]
Add CPING/CPONG message size as defined as max inside Apache Tomcat using define.

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

18 years agoPut the next field at the end of the structure.
Jean-Frederic Clere [Tue, 24 Oct 2006 07:31:52 +0000 (07:31 +0000)]
Put the next field at the end of the structure.

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

18 years ago128 is enough for CPING/CPONG messages.
Mladen Turk [Tue, 24 Oct 2006 07:01:44 +0000 (07:01 +0000)]
128 is enough for CPING/CPONG messages.

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

18 years agoMake sure the AJP message is between 8 and 64K.
Mladen Turk [Tue, 24 Oct 2006 06:33:13 +0000 (06:33 +0000)]
Make sure the AJP message is between 8 and 64K.
Use the provided message size when using get_brigade.

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

18 years agoFix address-in-use startup failure caused by corruption of the list of
Jeff Trawick [Mon, 23 Oct 2006 17:18:35 +0000 (17:18 +0000)]
Fix address-in-use startup failure caused by corruption of the list of
listen sockets in some configurations with multiple generic Listen
directives.

The logic in error is that which prunes out generic IPv4 listening
sockets when we already have a v4-mapped generic IPv6 listening
socket for the same port.

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

18 years agofix typo that breaks compilation
Jeff Trawick [Mon, 23 Oct 2006 16:07:40 +0000 (16:07 +0000)]
fix typo that breaks compilation

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

18 years agoAt support for ProxyIOBufferSize in AJP.
Jean-Frederic Clere [Mon, 23 Oct 2006 15:31:59 +0000 (15:31 +0000)]
At support for ProxyIOBufferSize in AJP.

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

18 years agomod_authn_dbd: Export any additional columns queried in the SQL select
Graham Leggett [Sun, 22 Oct 2006 19:11:51 +0000 (19:11 +0000)]
mod_authn_dbd: Export any additional columns queried in the SQL select
into the environment with the name AUTHENTICATE_<COLUMN>. This brings
mod_authn_dbd behaviour in line with mod_authnz_ldap.

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

18 years agomod_dbd: Key the storage of prepared statements on the hex string
Graham Leggett [Sun, 22 Oct 2006 13:31:25 +0000 (13:31 +0000)]
mod_dbd: Key the storage of prepared statements on the hex string
value of server_rec, rather than the server name, as the server name
may change (eg when the server name is set) at any time, causing
weird behaviour in modules dependent on mod_dbd.

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

18 years agoadded APR_THREAD_FUNC on listener_thread() in event and worker MPMs
Chris Darroch [Wed, 18 Oct 2006 18:49:13 +0000 (18:49 +0000)]
added APR_THREAD_FUNC on listener_thread() in event and worker MPMs
to match definition of apr_thread_start_t

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

18 years agorename routines from worker MPM to match normal MPM naming
Chris Darroch [Tue, 17 Oct 2006 17:39:52 +0000 (17:39 +0000)]
rename routines from worker MPM to match normal MPM naming

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

18 years agoadd example test_config routine
Chris Darroch [Tue, 17 Oct 2006 17:25:07 +0000 (17:25 +0000)]
add example test_config routine
re-order config routines to match invocation order

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

18 years agoAdd a missing include of apr_buckets.h. [Martin Kraemer]
Graham Leggett [Mon, 16 Oct 2006 19:40:32 +0000 (19:40 +0000)]
Add a missing include of apr_buckets.h. [Martin Kraemer]

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

18 years agoRemove extra colon from /wd compiler directive.
Mladen Turk [Sun, 15 Oct 2006 15:21:18 +0000 (15:21 +0000)]
Remove extra colon from /wd compiler directive.
On conversion the VS2005 reports:
ommand line error D8021 : invalid numeric argument '/wd:4996' cl

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

18 years agoRevert 463929
Mladen Turk [Sun, 15 Oct 2006 07:03:14 +0000 (07:03 +0000)]
Revert 463929

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

18 years agoFix compile warning. The /wd:XXXX is invalid. It should
Mladen Turk [Sat, 14 Oct 2006 13:34:58 +0000 (13:34 +0000)]
Fix compile warning. The /wd:XXXX is invalid. It should
be /wdXXXX, and since its for VS2005 only use the standard
preprocessor directives instead of that.
This should be backported to 2.2 as well.

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

18 years agoAdded mod_proxy_fcgi win32 build.
Mladen Turk [Sat, 14 Oct 2006 08:23:43 +0000 (08:23 +0000)]
Added mod_proxy_fcgi win32 build.

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

18 years agoThis stuff has been backported.
Graham Leggett [Thu, 12 Oct 2006 23:20:47 +0000 (23:20 +0000)]
This stuff has been backported.

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

18 years agoBackported.
Graham Leggett [Thu, 12 Oct 2006 22:57:05 +0000 (22:57 +0000)]
Backported.

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

18 years agoBackported.
Graham Leggett [Thu, 12 Oct 2006 22:36:38 +0000 (22:36 +0000)]
Backported.

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

18 years agoBackported.
Graham Leggett [Thu, 12 Oct 2006 22:23:00 +0000 (22:23 +0000)]
Backported.

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

18 years agomod_authnz_ldap: Add an AuthLDAPRemoteUserAttribute directive. If
Graham Leggett [Thu, 12 Oct 2006 20:52:37 +0000 (20:52 +0000)]
mod_authnz_ldap: Add an AuthLDAPRemoteUserAttribute directive. If
set, REMOTE_USER will be set to this attribute, rather than the
username supplied by the user. Useful for example when you want users
to log in using an email address, but need to supply a userid instead
to the backend.

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

18 years agoSo I'm sitting in Rich's talk and think to myself, it's kind
Jim Jagielski [Thu, 12 Oct 2006 15:53:33 +0000 (15:53 +0000)]
So I'm sitting in Rich's talk and think to myself, it's kind
of stupid that DumpIO always logs at Debug, esp when
you consider that it's likely you'll be doing so
in conjunction with SSL... One Big Log is understating
it! :)

Add DumpIOLogLevel to allow one to change the level...

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

18 years agoupdate transformation
Chris Darroch [Thu, 12 Oct 2006 04:13:12 +0000 (04:13 +0000)]
update transformation

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

18 years agofixed missing "edit" argument option in mod_headers.xml
Chris Darroch [Wed, 11 Oct 2006 19:44:05 +0000 (19:44 +0000)]
fixed missing "edit" argument option in mod_headers.xml
described "edit" option to mod_headers in new features

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

18 years agodescribe new check_config hook
Chris Darroch [Wed, 11 Oct 2006 19:40:50 +0000 (19:40 +0000)]
describe new check_config hook

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

18 years agoadded pre_config, check_config, and test_config hooks
Chris Darroch [Wed, 11 Oct 2006 19:39:42 +0000 (19:39 +0000)]
added pre_config, check_config, and test_config hooks
moved open_logs hook

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

18 years agomod_disk_cache: Implement read-while-caching.
Graham Leggett [Wed, 11 Oct 2006 04:31:18 +0000 (04:31 +0000)]
mod_disk_cache: Implement read-while-caching.

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

18 years agomod_disk_cache: NULL fd pointers when closing them, fix missing
Graham Leggett [Tue, 10 Oct 2006 22:10:01 +0000 (22:10 +0000)]
mod_disk_cache: NULL fd pointers when closing them, fix missing
close/flush, remove some unneccessary code duplication instead
of calling the right helper in replace_brigade_with_cache().

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

18 years agosendfile_nonblocking() takes the _brigade_ as an argument, gets
Graham Leggett [Tue, 10 Oct 2006 21:31:36 +0000 (21:31 +0000)]
sendfile_nonblocking() takes the _brigade_ as an argument, gets
the first bucket from the brigade, finds it not to be a FILE
bucket and barfs. The fix is to pass a bucket rather than a brigade.

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

18 years agomod_disk_cache: Do away with the write-to-file-then-move-in-place
Graham Leggett [Tue, 10 Oct 2006 21:17:47 +0000 (21:17 +0000)]
mod_disk_cache: Do away with the write-to-file-then-move-in-place
mentality.

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

18 years agoFix rewritemap/dbd bug pointed out by Davi Arnaut, and improve error reporting.
Nick Kew [Tue, 10 Oct 2006 13:15:07 +0000 (13:15 +0000)]
Fix rewritemap/dbd bug pointed out by Davi Arnaut, and improve error reporting.

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

18 years agoFix bugs pointed out by rpluem in rewritemap/dbd
Nick Kew [Tue, 10 Oct 2006 12:47:50 +0000 (12:47 +0000)]
Fix bugs pointed out by rpluem in rewritemap/dbd

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

18 years agoRetrieve optional functions in time!
Nick Kew [Tue, 10 Oct 2006 10:37:37 +0000 (10:37 +0000)]
Retrieve optional functions in time!

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

18 years agoAdd SQL Query capability to RewriteMap
Nick Kew [Tue, 10 Oct 2006 10:33:06 +0000 (10:33 +0000)]
Add SQL Query capability to RewriteMap

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

18 years agoAdd compat module by default.
Mladen Turk [Sun, 8 Oct 2006 09:58:21 +0000 (09:58 +0000)]
Add compat module by default.

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

18 years ago* mod_proxy_balancer: Document BALANCER_ROUTE_CHANGED environment variable.
Ruediger Pluem [Fri, 6 Oct 2006 15:03:08 +0000 (15:03 +0000)]
* mod_proxy_balancer: Document BALANCER_ROUTE_CHANGED environment variable.

Submitted by: Brian Rectanus <brectanu gmail.com>
Reviewed by: rpluem

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

18 years agoSeems like a good idea to close the <Directory> tag in the example.
Rich Bowen [Thu, 5 Oct 2006 01:53:48 +0000 (01:53 +0000)]
Seems like a good idea to close the <Directory> tag in the example.

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

18 years agoA few missing line breaks
Rich Bowen [Thu, 5 Oct 2006 01:51:58 +0000 (01:51 +0000)]
A few missing line breaks

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

18 years agoMake sure that original socket timeout gets restored
Mladen Turk [Tue, 3 Oct 2006 15:54:07 +0000 (15:54 +0000)]
Make sure that original socket timeout gets restored
even if the cping/cpong fails.

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

18 years agoRevert 451953 and 451951. Log the real r->method that is
Mladen Turk [Tue, 3 Oct 2006 15:18:57 +0000 (15:18 +0000)]
Revert 451953 and 451951. Log the real r->method that is
unsupported by the AJP protocol.

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

18 years ago* Sync with 2.2.x CHANGES file
Ruediger Pluem [Tue, 3 Oct 2006 12:58:24 +0000 (12:58 +0000)]
* Sync with 2.2.x CHANGES file

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

18 years agoWhen starting a new piped error logger for the main server, ensure
Joe Orton [Tue, 3 Oct 2006 11:40:30 +0000 (11:40 +0000)]
When starting a new piped error logger for the main server, ensure
that the new child's stderr is not a pipe to an old piped logger:

* server/log.c (log_child): Add "dummy_stderr" parameter; if set,
duplicate stdout as the stderr for the child.
(open_error_log): Add "is_main" parameter; use dummy stderr for logger
for main server only.
(ap_open_logs, ap_open_piped_log): Adjust for new open_error_log()/
log_child() parameters.

PR: 40651
Submitted by: jorton, rpluem

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

18 years agospellcheck
Jeff Trawick [Tue, 3 Oct 2006 10:52:12 +0000 (10:52 +0000)]
spellcheck

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

18 years agoSupport regexp-based manipulation of HTTP headers
Nick Kew [Tue, 3 Oct 2006 07:41:27 +0000 (07:41 +0000)]
Support regexp-based manipulation of HTTP headers

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

18 years agoAdd missing include for experimental is_connected.
Mladen Turk [Tue, 3 Oct 2006 07:15:46 +0000 (07:15 +0000)]
Add missing include for experimental is_connected.

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

18 years ago* Fix precedence problem.
Ruediger Pluem [Mon, 2 Oct 2006 21:13:58 +0000 (21:13 +0000)]
* Fix precedence problem.

PR: 40658
Submitted by: Larry Cipriani <lvc lucent.com>
Reviewed by: rpluem

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

18 years ago* Fix precedence problem.
Ruediger Pluem [Mon, 2 Oct 2006 21:12:34 +0000 (21:12 +0000)]
* Fix precedence problem.

PR: 40656
Submitted by: Larry Cipriani <lvc lucent.com>
Reviewed by: rpluem

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

18 years agoBump MMN for r451575.
Mladen Turk [Mon, 2 Oct 2006 17:06:15 +0000 (17:06 +0000)]
Bump MMN for r451575.

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

18 years agoUps. Fix typo. We are logging int, not string.
Mladen Turk [Mon, 2 Oct 2006 10:26:13 +0000 (10:26 +0000)]
Ups. Fix typo. We are logging int, not string.

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

18 years agoIf the r->method_number is unknown the r->method
Mladen Turk [Mon, 2 Oct 2006 10:24:45 +0000 (10:24 +0000)]
If the r->method_number is unknown the r->method
is unknown or corrupted as well. Log the method number
that was not recognized.

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

18 years agoCleanup alternate is_connected method.
Mladen Turk [Mon, 2 Oct 2006 07:06:24 +0000 (07:06 +0000)]
Cleanup alternate is_connected method.
It works for sure on win32,linux and solaris.
I do not have access to other platforms so can not
verify it works on them.

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

18 years agoMove new struct member to the end of the struct,
Mladen Turk [Sat, 30 Sep 2006 11:26:26 +0000 (11:26 +0000)]
Move new struct member to the end of the struct,
so we can keep the compatibility.

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

18 years agoAdd alternative is_socket_connected implementation.
Mladen Turk [Sat, 30 Sep 2006 11:04:46 +0000 (11:04 +0000)]
Add alternative is_socket_connected implementation.
It works on win32 and linux for sure, so that's why
I put it inside the #ifdef.
Of course something like that needs APR abstraction.

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

18 years agoEnable retry=0 for the worker.
Mladen Turk [Sat, 30 Sep 2006 10:41:51 +0000 (10:41 +0000)]
Enable retry=0 for the worker.
This allows to have an option to always retry
the workers in error state instead using a
specified time.

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

18 years agoAdd force recovery for balancer.
Mladen Turk [Sat, 30 Sep 2006 10:18:48 +0000 (10:18 +0000)]
Add force recovery for balancer.
In case all balancer members were in error state 503
was returned until the recovery timeout expired.
The patch forces recovery in case all balancer members
are in error state regardless of recovery timeout
directive.
This fixes the time gap when 503 was returned and
backend was already up and running.

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

18 years ago* server/mpm/prefork/prefork.c (prefork_check_config): Remove unused variable.
Joe Orton [Fri, 29 Sep 2006 14:03:13 +0000 (14:03 +0000)]
* server/mpm/prefork/prefork.c (prefork_check_config): Remove unused variable.

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

18 years agoFollow up to r451006, use APR_STATUS_IS_TIMEUP instead of comparing against
Garrett Rooney [Fri, 29 Sep 2006 13:48:09 +0000 (13:48 +0000)]
Follow up to r451006, use APR_STATUS_IS_TIMEUP instead of comparing against
APR_TIMEUP directly.

Reported by: jorton

* modules/generators/mod_cgi.c
  (cgi_handler): Use APR_STATUS_IS_TIMEUP.

* modules/generators/mod_cgid.c
  (cgid_handler): Ditto.

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

18 years agoFollow up to r451287, use APR_STATUS_IS_TIMEUP instead of comparing
Garrett Rooney [Fri, 29 Sep 2006 13:44:45 +0000 (13:44 +0000)]
Follow up to r451287, use APR_STATUS_IS_TIMEUP instead of comparing
against APR_TIMEUP directly.

* modules/http/http_request.c
  (ap_process_request): Use APR_STATUS_IS_TIMEUP.

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

18 years ago* Notice a timeout as an error message. This might be valuable for detecting
Ruediger Pluem [Fri, 29 Sep 2006 13:39:53 +0000 (13:39 +0000)]
* Notice a timeout as an error message. This might be valuable for detecting
  clients with broken network connections or possible DoS attacks.

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

18 years ago* Move the tasks of eor_bucket_destroy (status update, transaction logging) to
Ruediger Pluem [Fri, 29 Sep 2006 13:15:08 +0000 (13:15 +0000)]
* Move the tasks of eor_bucket_destroy (status update, transaction logging) to
  a cleanup function that is registered with the request pool.
  eor_bucket_destroy only destroys the request pool if there is still a request
  at this point of time which triggers the call of the cleanup function.

  This is needed as the eor bucket could be (and usually is) allocated from
  a pool different from the request pool (the connection pool in this case).
  This can lead to situations where eor_bucket_destroy is called at a point of
  time when the request pool had been already destroyed. But the status update
  and the transaction logging rely on the request pool.

  In practise this happens with the worker MPM if the client refuses to read
  the response from the handler. Then the unsent data (including the
  eor bucket) remains in a brigade allocated from the connection pool which
  is the parent of the request pool. This brigade is cleaned up during the
  cleanup of the ptrans pool in worker_thread. As the request pool gets
  destroyed during this cleanup operation *before* the brigade gets cleaned up
  eor_bucket_destroy starts the status update and the transaction logging with
  a destroyed request pool which leads to a segfault.

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

18 years ago* Notice that reading of the request entity body failed due to a timeout
Ruediger Pluem [Thu, 28 Sep 2006 20:15:42 +0000 (20:15 +0000)]
* Notice that reading of the request entity body failed due to a timeout

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

18 years agoMinor typo
Rich Bowen [Wed, 27 Sep 2006 15:10:33 +0000 (15:10 +0000)]
Minor typo

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

18 years agomod_cache: Eliminate a bogus error in the log when a filter returns
Graham Leggett [Wed, 27 Sep 2006 14:21:26 +0000 (14:21 +0000)]
mod_cache: Eliminate a bogus error in the log when a filter returns
AP_FILTER_ERROR.

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

18 years agoAllocate the temporary copy file buffer from a pool.
Graham Leggett [Tue, 26 Sep 2006 20:35:42 +0000 (20:35 +0000)]
Allocate the temporary copy file buffer from a pool.

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

18 years agomod_disk_cache: Make caching of large files possible on 32bit machines
Graham Leggett [Tue, 26 Sep 2006 16:26:56 +0000 (16:26 +0000)]
mod_disk_cache: Make caching of large files possible on 32bit machines
by determining whether the cached file should be copied on disk rather
than loaded into RAM. PR39380

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

18 years agomod_mem_cache: Convert mod_mem_cache to use APR memory pool functions
Graham Leggett [Tue, 26 Sep 2006 15:37:02 +0000 (15:37 +0000)]
mod_mem_cache: Convert mod_mem_cache to use APR memory pool functions
by creating a root pool for object persistence across requests. This
also eliminates the need for custom serialization code.

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

18 years agoMemory leak fix: Unconditionally free the buffer.
Graham Leggett [Tue, 26 Sep 2006 14:56:01 +0000 (14:56 +0000)]
Memory leak fix: Unconditionally free the buffer.

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

18 years agomod_cache: From RFC3986 (section 6.2.3.) if a URI contains an
Graham Leggett [Tue, 26 Sep 2006 14:36:43 +0000 (14:36 +0000)]
mod_cache: From RFC3986 (section 6.2.3.) if a URI contains an
authority component and an empty path, the empty path is to be equivalent
to "/". It explicitly cites the following four URIs as equivalents:
  http://example.com
  http://example.com/
  http://example.com:/
  http://example.com:80/

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

18 years agoDon't cache requests with a expires date in the past; otherwise mod_cache will
Graham Leggett [Tue, 26 Sep 2006 14:12:36 +0000 (14:12 +0000)]
Don't cache requests with a expires date in the past; otherwise mod_cache will
always try to cache the URL. This bug might lead to numerous rename() errors
on win32 if the URL was previously cached.

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

18 years agomod_disk_cache: Make sure that only positive integers are accepted
Graham Leggett [Tue, 26 Sep 2006 13:29:09 +0000 (13:29 +0000)]
mod_disk_cache: Make sure that only positive integers are accepted
for the CacheMaxFileSize and CacheMinFileSize parameters in the
config file. PR39380 [Niklas Edmundsson <nikke acc.umu.se>]

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

18 years agoChange wording as suggested by jslive.
Nick Kew [Sun, 24 Sep 2006 23:17:31 +0000 (23:17 +0000)]
Change wording as suggested by jslive.

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

18 years agoAdd extra explanatory clause to VirtualHost docs
Nick Kew [Sun, 24 Sep 2006 22:29:59 +0000 (22:29 +0000)]
Add extra explanatory clause to VirtualHost docs

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

18 years agoCapitalization consistency
Rich Bowen [Fri, 22 Sep 2006 18:13:10 +0000 (18:13 +0000)]
Capitalization consistency
Submitted by Vincent Bray

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

18 years agoSmall typo.
Rich Bowen [Fri, 22 Sep 2006 18:11:05 +0000 (18:11 +0000)]
Small typo.
Submitted by Vincent Bray

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

18 years agoGeneric fix for PR#31759
Nick Kew [Thu, 21 Sep 2006 22:13:34 +0000 (22:13 +0000)]
Generic fix for PR#31759
If a handler returns a value that is neither reserved nor a valid
HTTP response code, log an error and substitute HTTP_INTERNAL_SERVER_ERROR.
Allow a handler to override this explicitly by setting a note.

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

18 years ago* modules/cache/mod_cache.h: Fix comment that was obviously cut and
Garrett Rooney [Wed, 20 Sep 2006 15:06:52 +0000 (15:06 +0000)]
* modules/cache/mod_cache.h: Fix comment that was obviously cut and
  pasted from mod_proxy...

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

18 years ago* modules/cache/mod_cache.h
Garrett Rooney [Wed, 20 Sep 2006 15:04:38 +0000 (15:04 +0000)]
* modules/cache/mod_cache.h
  (CACHE_DECLARE, CACHE_DECLARE_NONSTD, CACHE_DECLARE_DATA): Remove
   duplicate defines.

Submitted by: Davi Arnaut <davi@haxent.com.br>

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

18 years ago* Set the new environment variable BALANCER_ROUTE_CHANGED if a worker with a
Ruediger Pluem [Sat, 16 Sep 2006 19:49:41 +0000 (19:49 +0000)]
* Set the new environment variable BALANCER_ROUTE_CHANGED if a worker with a
  route different from the one supplied by the client had been chosen or if
  the client supplied no routing information for a balancer with sticky
  sessions.

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

18 years agonote a backport; don't forget that trunk had an additional
Jeff Trawick [Fri, 15 Sep 2006 13:28:40 +0000 (13:28 +0000)]
note a backport; don't forget that trunk had an additional
change

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

18 years ago* PROXY_WORKER_IS_INITIALIZED checks if PROXY_WORKER_INITIALIZED is set in
Ruediger Pluem [Thu, 14 Sep 2006 22:34:34 +0000 (22:34 +0000)]
* PROXY_WORKER_IS_INITIALIZED checks if PROXY_WORKER_INITIALIZED is set in
  worker->s->status, but we need to check here if it is set in worker->status.

  As PROXY_WORKER_INITIALIZED is set in worker->s->status in
  ap_proxy_initialize_worker_share, which is called just before
  ap_proxy_initialize_worker we never initialize the worker. This is very bad
  as we create no reslist for the pool in this case.

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

18 years agoPR 31759 (mutated) - reported by Jo Rhett
Nick Kew [Tue, 12 Sep 2006 23:44:12 +0000 (23:44 +0000)]
PR 31759 (mutated) - reported by Jo Rhett
Don't return apr_status_t error value from input filter chain.

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

18 years ago* Print the correct error message for erroneous configured ProxyPass directives.
Ruediger Pluem [Sun, 10 Sep 2006 12:37:21 +0000 (12:37 +0000)]
* Print the correct error message for erroneous configured ProxyPass directives.

PR: 40439
Submitted by: serai lans-tv.com
Reviewed by: rpluem

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

18 years agoAllow htcacheclean, httxt2dbm, and fcgistarter to link apr/apr-util
Jeff Trawick [Sat, 9 Sep 2006 15:26:05 +0000 (15:26 +0000)]
Allow htcacheclean, httxt2dbm, and fcgistarter to link apr/apr-util
statically like the older support programs.

Submitted by: Eric Covener <covener gmail.com>
Reviewed by:  Jeff Trawick

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

18 years agoUpdate backports
Jim Jagielski [Wed, 6 Sep 2006 17:38:13 +0000 (17:38 +0000)]
Update backports

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

18 years agoReplace ap_get_server_version with ap_get_server_banner() and
Jeff Trawick [Tue, 5 Sep 2006 13:08:15 +0000 (13:08 +0000)]
Replace ap_get_server_version with ap_get_server_banner() and
ap_get_server_description().

High-level summary:

The full server version information is now included in the error log at
startup as well as server status reports, irrespective of the setting
of the ServerTokens directive.

Third-party modules must now use ap_get_server_banner() or
ap_get_server_description() in place of ap_get_server_version().

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

18 years ago* Extract stickysession information correctly in the case that it is given
Ruediger Pluem [Mon, 4 Sep 2006 19:51:52 +0000 (19:51 +0000)]
* Extract stickysession information correctly in the case that it is given
  as parameter like in the following example:

  www.someplace.com/somewhere/?jsessionid=gggfgdufdfoef.server&parameter=value

  So far we were only able to handle stickysession information encoded in the
  following form:

  www.someplace.com/somewhere/;jsessionid=gggfgdufdfoef.server?parameter=value

PR: 40400

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

18 years agoHandle filter names which include capital letters.
Jeff Trawick [Mon, 4 Sep 2006 11:08:53 +0000 (11:08 +0000)]
Handle filter names which include capital letters.

PR: 40323

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

18 years ago Sync these to VC 2005, a .manifest file is created that we need to
William A. Rowe Jr [Sun, 3 Sep 2006 22:59:48 +0000 (22:59 +0000)]
  Sync these to VC 2005, a .manifest file is created that we need to
  invoke the generators

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

18 years ago Silence VC2005 faux-errors in pcre with the minimum tweak required.
William A. Rowe Jr [Sat, 2 Sep 2006 19:23:01 +0000 (19:23 +0000)]
  Silence VC2005 faux-errors in pcre with the minimum tweak required.

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

18 years agoupdate transformation
André Malo [Mon, 28 Aug 2006 18:43:17 +0000 (18:43 +0000)]
update transformation

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

18 years agofix validation error
André Malo [Mon, 28 Aug 2006 18:37:09 +0000 (18:37 +0000)]
fix validation error

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