]> granicus.if.org Git - apache/log
apache
17 years ago* Further clarify hook callback return convention
Sander Temme [Mon, 27 Nov 2006 00:09:51 +0000 (00:09 +0000)]
* Further clarify hook callback return convention
* Place some trace calls into context
* Every hook callback implementation now has the same comment format
* Document hitherto undocumented hook callbacks
* Always trace the handler, whether it gets to write its content or not
* Clean up stale 1.3 comments in handler callback
* Document quick_handler callback according to a conversation Googled up from
  new-httpd in 2002
* Change callback names so all follow the same format: the hook name with a
  prefix
* Add a callback handler for the enigmatic ap_hook_monitor

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

17 years ago* Make EXAMPLE_LOG_EACH compiler directive settable on command line
Sander Temme [Sat, 25 Nov 2006 07:40:13 +0000 (07:40 +0000)]
* Make EXAMPLE_LOG_EACH compiler directive settable on command line
* Clean up introductory comments for hook handler declarations, explain about
  RUN_ALL, RUN_FIRST in one single place, remove leftover comments from 1.3
* Place trace entry for quick_handler in request context
* Found every hook declaration in the source by running

  find . -name \*.[ch] | xargs grep -E -A 3  \
    "AP_IMPLEMENT_(OPTIONAL_|)HOOK_(VOID|RUN_ALL|RUN_FIRST)"

  from top of source tree; implemented handler for everything that turned
  up.

Next up: bring comments in line with introduction, clean up existing comments;
re-design trace mechanism to stop messing with globals after server may
start threads.

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

17 years ago* Start re-organizing the function declarations to put related items together
Sander Temme [Fri, 24 Nov 2006 22:23:16 +0000 (22:23 +0000)]
* Start re-organizing the function declarations to put related items together
* Fix http_scheme and default_port implementations to return proper
  equivalents of DECLINED, so they can exist without breaking stuff
* Explain why some of the config access utility routines are ifdeffed out

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

17 years ago* modules/ssl/ssl_engine_io.c (ssl_io_buffer_fill): Remove subpool; it
Joe Orton [Wed, 22 Nov 2006 12:11:57 +0000 (12:11 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_buffer_fill): Remove subpool; it
cannot be destroyed before r->pool so serves no purpose.

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

17 years ago* support/rotatelogs.c (main): Produce useful error message for open()
Joe Orton [Wed, 22 Nov 2006 11:48:55 +0000 (11:48 +0000)]
* support/rotatelogs.c (main): Produce useful error message for open()
failures.

PR: 39487

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

17 years ago* docs/manual/mod/mpm_common.xml: s/depreciated/deprecated/
Joe Orton [Wed, 22 Nov 2006 11:36:32 +0000 (11:36 +0000)]
* docs/manual/mod/mpm_common.xml: s/depreciated/deprecated/

* server/core.c: Likewise.

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

17 years agoupdate convmap
André Malo [Sun, 19 Nov 2006 14:18:49 +0000 (14:18 +0000)]
update convmap

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

17 years agoupdate transformation
André Malo [Sun, 19 Nov 2006 14:06:56 +0000 (14:06 +0000)]
update transformation

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

17 years ago* CVE-2006-3747 was the main reason to release 2.2.3. So place the changelog
Ruediger Pluem [Sat, 18 Nov 2006 22:20:25 +0000 (22:20 +0000)]
* CVE-2006-3747 was the main reason to release 2.2.3. So place the changelog
  entry where it belongs.

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

17 years ago* Use the query string stored in r->parsed_uri.query instead of r->args
Ruediger Pluem [Sat, 18 Nov 2006 22:17:33 +0000 (22:17 +0000)]
* Use the query string stored in r->parsed_uri.query instead of r->args
  as r->args could have been changed (e.g. via mod_rewrite) after the quick
  handler hook. This causes resources to be stored under a key, where they
  cannot be fetched again in the quick handler.

PR: 40805

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

17 years agoHousekeeping: keep track of size even in the edge-case where validation
Nick Kew [Sat, 18 Nov 2006 20:26:28 +0000 (20:26 +0000)]
Housekeeping: keep track of size even in the edge-case where validation
bytes trickle in over multiple buckets.

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

17 years ago* Fix some comments. No functional change.
Ruediger Pluem [Thu, 16 Nov 2006 20:45:39 +0000 (20:45 +0000)]
* Fix some comments. No functional change.

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

17 years ago* Also log the presence of garbage data at the end of the stream if all
Ruediger Pluem [Thu, 16 Nov 2006 20:41:06 +0000 (20:41 +0000)]
* Also log the presence of garbage data at the end of the stream if all
  validation data is available in the first round.

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

17 years ago* Actually append new data to the validation buffer and do not overwrite old
Ruediger Pluem [Thu, 16 Nov 2006 20:30:25 +0000 (20:30 +0000)]
* Actually append new data to the validation buffer and do not overwrite old
  data already there by setting the correct offset for the target buffer.

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

17 years agoTimeOut can be set in a vhost context
Jeff Trawick [Thu, 16 Nov 2006 11:58:18 +0000 (11:58 +0000)]
TimeOut can be set in a vhost context

Submitted by: Eric Covener
Reviewed by:  Jeff Trawick

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

17 years ago* Ensure that we do not perform our final operations twice if a second EOS
Ruediger Pluem [Wed, 15 Nov 2006 20:26:10 +0000 (20:26 +0000)]
* Ensure that we do not perform our final operations twice if a second EOS
  falls down the chain by accident. Otherwise we are likely to run in a
  SEGFAULT. So remove ourselves from the chain.

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

17 years ago* Ensure that we do not try to inflate validation data or garbage data. None
Ruediger Pluem [Wed, 15 Nov 2006 20:19:37 +0000 (20:19 +0000)]
* Ensure that we do not try to inflate validation data or garbage data. None
  of this is zlib's business.

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

17 years agoDocument the hoops you need to jump through to get mod_authnz_ldap to
Graham Leggett [Wed, 15 Nov 2006 14:12:26 +0000 (14:12 +0000)]
Document the hoops you need to jump through to get mod_authnz_ldap to
support an Active Directory installation spanning multiple domains.

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

17 years agoRemove the "virtual host" context for the AuthnProviderAlias directive in the documen...
Bradley Nicholes [Tue, 14 Nov 2006 22:24:53 +0000 (22:24 +0000)]
Remove the "virtual host" context for the AuthnProviderAlias directive in the documentation

Submitted by: Vicent Bray < noodlet gmail com >

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

17 years agoAdd alternate is_socket_connected by using APR functions.
Mladen Turk [Fri, 10 Nov 2006 09:15:21 +0000 (09:15 +0000)]
Add alternate is_socket_connected by using APR functions.

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

17 years agoRemove alternate is_socket_connected detection.
Mladen Turk [Fri, 10 Nov 2006 09:12:57 +0000 (09:12 +0000)]
Remove alternate is_socket_connected detection.

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

17 years agoMinor niggles that have been sitting around for a while
Noirin Plunkett [Thu, 9 Nov 2006 15:29:16 +0000 (15:29 +0000)]
Minor niggles that have been sitting around for a while

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

17 years agoforgot minor bump
Jim Jagielski [Thu, 9 Nov 2006 14:59:49 +0000 (14:59 +0000)]
forgot minor bump

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

17 years agoBetter detection and clean up of ldap connection that have been
Bradley Nicholes [Wed, 8 Nov 2006 20:43:46 +0000 (20:43 +0000)]
Better detection and clean up of ldap connection that have been
terminated by the ldap server. PR#40878

Submitted by: Rob Baily <rbaily servicebench com>
Reviewed by: bnicholes

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

17 years agoNote 2 backported ports applied to 2.2.4-dev
Jim Jagielski [Tue, 7 Nov 2006 13:51:46 +0000 (13:51 +0000)]
Note 2 backported ports applied to 2.2.4-dev

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

17 years agoNote 2 backports applied to 2.2.4-dev
Jim Jagielski [Tue, 7 Nov 2006 13:35:09 +0000 (13:35 +0000)]
Note 2 backports applied to 2.2.4-dev

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

17 years agoFix broken compile for platforms with sendfile() -- As Graham says: Looks like this...
Martin Kraemer [Thu, 2 Nov 2006 18:05:20 +0000 (18:05 +0000)]
Fix broken compile for platforms with sendfile() -- As Graham says: Looks like this code hasn't built in the SENDFILE case for a while.

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

17 years ago* Assign rv in the if statement to return the correct error code and
Ruediger Pluem [Wed, 1 Nov 2006 20:20:42 +0000 (20:20 +0000)]
* Assign rv in the if statement to return the correct error code and
  more important an error code at all, as currently APR_SUCCESS is returned
  in the error case.

PR: 40865
Submitted by: Andrew Rucker Jones <arjones simultan.dyndns.org>
Reviewed by: rpluem

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

17 years ago* Increase the minimum and default value for MCacheMinObjectSize from 0 to 1,
Ruediger Pluem [Wed, 1 Nov 2006 13:02:25 +0000 (13:02 +0000)]
* Increase the minimum and default value for MCacheMinObjectSize from 0 to 1,
  as a MCacheMinObjectSize of 0 does not make sense and leads to a
  signal Floating point exception (8) (division by zero) in
  memcache_gdsf_algorithm.

PR: 40576
Submitted by: Xuekun Hu <xuekun.hu gmail.com>
Reviewed by: rpluem

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

17 years agoWhen Servlet container sends AJP body message with size 0, this means that Servlet...
Mladen Turk [Sun, 29 Oct 2006 17:05:40 +0000 (17:05 +0000)]
When Servlet container sends AJP body message with size 0, this means that Servlet container has asked for an  explicit flush.
Create flush bucket in that case.

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

17 years agoAdd a usage example to mod_proxy_balancer.
Rich Bowen [Sun, 29 Oct 2006 13:08:49 +0000 (13:08 +0000)]
Add a usage example to mod_proxy_balancer.

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

17 years ago<i> and <b> aren't valid in your docs stylesheet. Changing to something
Rich Bowen [Sun, 29 Oct 2006 13:01:56 +0000 (13:01 +0000)]
<i> and <b> aren't valid in your docs stylesheet. Changing to something
that will build.

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

17 years agoRestore the pdconf configuration structure in the SENDFILE case.
Graham Leggett [Fri, 27 Oct 2006 15:15:24 +0000 (15:15 +0000)]
Restore the pdconf configuration structure in the SENDFILE case.

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

17 years agomod_cache: Pass the output filter stack through the store_body()
Graham Leggett [Fri, 27 Oct 2006 13:28:56 +0000 (13:28 +0000)]
mod_cache: Pass the output filter stack through the store_body()
hook, giving each cache backend the ability to make a better
decision as to how it will allocate the tasks of writing to the
cache and writing to the network. Previously the write to the
cache task needed to be complete before the same brigade was
written to the network, and this caused timing and memory issues
on large cached files. This fix replaces the previous fix for
PR39380.

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

17 years agoAdd util_mutex.c and .h to the netware build
Bradley Nicholes [Thu, 26 Oct 2006 16:02:19 +0000 (16:02 +0000)]
Add util_mutex.c and .h to the netware build

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

17 years agoAdd the modules/database directory to the includes search list.
Bradley Nicholes [Thu, 26 Oct 2006 15:49:57 +0000 (15:49 +0000)]
Add the modules/database directory to the includes search list.

Submitted by: normw normanwheeler bigpond.com

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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