]> granicus.if.org Git - apache/log
apache
17 years agoWe now create memory sub-pools for each DB connection and close DB
Chris Darroch [Tue, 16 Jan 2007 19:36:26 +0000 (19:36 +0000)]
We now create memory sub-pools for each DB connection and close DB
connections in a pool cleanup function.  This simplifies the ap_dbd_acquire()
and ap_dbd_cacquire() functions, and also stops us from leaking ap_dbd_t
structures when using reslists.

We ensure that prepared statements are destroyed before their DB connection
is closed, in case any drivers would have problems cleaning up prepared
statements after the DB connection is closed.

The combination of reslists and memory pool cleanup functions was causing
segfaults when child processes exited, as reported in PR 39985.  To prevent
this, we register dbd_destroy() as a cleanup that will execute prior to
the internal cleanup function registered by apr_reslist_create().  When the
reslist's memory pool is destroyed, dbd_destroy() informs dbd_destruct() not
to do anything when subsequently called by the reslist's internal cleanup
function.

We avoid the use of s->process->pool (the global pool) since it isn't
destroyed by exiting child processes in most multi-process MPMs.

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

17 years agoRe-add "proxy-sendextracrlf" first introduced in r157478 and silently removed
Justin Erenkrantz [Sat, 13 Jan 2007 01:02:46 +0000 (01:02 +0000)]
Re-add "proxy-sendextracrlf" first introduced in r157478 and silently removed
in r219224.

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

17 years agoMake buildmark.c compilation consistent, especially for VC8
William A. Rowe Jr [Fri, 12 Jan 2007 10:53:22 +0000 (10:53 +0000)]
Make buildmark.c compilation consistent, especially for VC8

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

17 years agoSolved.
William A. Rowe Jr [Thu, 11 Jan 2007 05:48:21 +0000 (05:48 +0000)]
Solved.

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

17 years agoEmbed the .manifest files of all httpd binaries as a post-build
William A. Rowe Jr [Thu, 11 Jan 2007 05:37:20 +0000 (05:37 +0000)]
Embed the .manifest files of all httpd binaries as a post-build
operation.  This ensures the exported (Studio 97 generated) .mak
files create a usable Apache directly from the VC 8 (Studio 2005)
command line environment.

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

17 years agoAdd openssl.cnf since openssl will not run without one (explicitly
William A. Rowe Jr [Thu, 11 Jan 2007 00:25:35 +0000 (00:25 +0000)]
Add openssl.cnf since openssl will not run without one (explicitly
specifying this .cnf is required, either with the cmd line arg or
the envvar.)

Spell out the correct versions of openssl/apache.

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

17 years ago* configure.in: Substitute MOD_SO_ENABLED variable.
Joe Orton [Wed, 10 Jan 2007 10:50:35 +0000 (10:50 +0000)]
* configure.in: Substitute MOD_SO_ENABLED variable.

* support/apxs.in: Use it to eliminate run-time check for whether
httpd has mod_so built-in.

Submitted by: David M. Lee <dmlee crossroads.com>
PR: 40653

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

17 years agoOh my - how stale :)
William A. Rowe Jr [Wed, 10 Jan 2007 05:28:27 +0000 (05:28 +0000)]
Oh my - how stale :)

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

17 years agoFix bogus lineends.
William A. Rowe Jr [Tue, 9 Jan 2007 07:06:31 +0000 (07:06 +0000)]
Fix bogus lineends.

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

17 years agoA slightly more effective message, keep hammering AcceptEx so there is no confusion.
William A. Rowe Jr [Tue, 9 Jan 2007 05:29:58 +0000 (05:29 +0000)]
A slightly more effective message, keep hammering AcceptEx so there is no confusion.

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

17 years agoSomeone clearly never read the style guide :-/ Reformatting only.
William A. Rowe Jr [Tue, 9 Jan 2007 05:29:27 +0000 (05:29 +0000)]
Someone clearly never read the style guide :-/  Reformatting only.

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

17 years ago Update CHANGES, add attributions for assistance
William A. Rowe Jr [Sat, 6 Jan 2007 03:08:42 +0000 (03:08 +0000)]
  Update CHANGES, add attributions for assistance

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

17 years ago* configure.in: Bump autoconf version requirement (matching APR).
Joe Orton [Thu, 4 Jan 2007 10:33:45 +0000 (10:33 +0000)]
* configure.in: Bump autoconf version requirement (matching APR).

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

17 years agoFix several strict compiler warnings for both the threaded
Chris Darroch [Thu, 4 Jan 2007 03:12:48 +0000 (03:12 +0000)]
Fix several strict compiler warnings for both the threaded
and non-threaded versions.

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

17 years agoGet rid of the global trace_add in favor of specific trace functions tailored to...
Sander Temme [Thu, 4 Jan 2007 01:07:45 +0000 (01:07 +0000)]
Get rid of the global trace_add in favor of specific trace functions tailored to the server run phase and callback context. Add the final trace function (for no context) and start moving the EXAMPLE_LOG_EACH stuff to ap_log_perror instead of directly writing to stdout.

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

17 years ago Correctly evaluate the HTTPS condition string.
William A. Rowe Jr [Wed, 3 Jan 2007 23:03:20 +0000 (23:03 +0000)]
  Correctly evaluate the HTTPS condition string.

PR: 40573
Submitted by: Matt Eaton <asf divinehawk.com>

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

17 years ago Where any response is sent, return OK from the handler. Where there
William A. Rowe Jr [Wed, 3 Jan 2007 22:53:43 +0000 (22:53 +0000)]
  Where any response is sent, return OK from the handler.  Where there
  is no response (but a status code) return the code.  This patch adds
  a great number of debugging emits for failed ap_pass_brigade calls,
  to help diagnose failure cases, and disambiguates OK from APR_SUCCESS.

PR: 40470
Submitted by: wrowe, Matt Eaton <asf divinehawk.com>

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

17 years agoCreate pmain pool and run modules' child_init hooks when entering
Chris Darroch [Tue, 2 Jan 2007 20:13:57 +0000 (20:13 +0000)]
Create pmain pool and run modules' child_init hooks when entering
ap_mpm_run(), then destroy pmain when exiting ap_mpm_run().
The expected call to ap_run_child_init() appears to have been removed
in r89640.  However, that call should presumably still be made once per
process, as in other single-process MPMs like the netware MPM.

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

17 years agoDestroy pmain pool when exiting ap_mpm_run() so that cleanups
Chris Darroch [Tue, 2 Jan 2007 19:40:34 +0000 (19:40 +0000)]
Destroy pmain pool when exiting ap_mpm_run() so that cleanups
registered in modules' child_init hooks are performed (e.g.,
mod_log_config and mod_dbd).

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

17 years agoHandle error conditions in dbd_construct() properly. Simplify
Chris Darroch [Tue, 2 Jan 2007 18:26:00 +0000 (18:26 +0000)]
Handle error conditions in dbd_construct() properly.  Simplify
ap_dbd_open() and use correct arguments to apr_dbd_error() when
non-threaded.  Register correct cleanup data in non-threaded
ap_dbd_acquire() and ap_dbd_cacquire().  Clean up configuration data
and merge function.  Use ap_log_error() wherever possible.

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

17 years agoRename functions and variables for consistency, and move some functions
Chris Darroch [Tue, 2 Jan 2007 01:19:21 +0000 (01:19 +0000)]
Rename functions and variables for consistency, and move some functions
around for readability, prior to forthcoming functional changes.

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

17 years agoChange the default depth and length of directories for mod_disk_cache to a depth...
Paul Querna [Sun, 31 Dec 2006 02:17:39 +0000 (02:17 +0000)]
Change the default depth and length of directories for mod_disk_cache to a depth of 2, and a length of 2.
Suggested By: noirin

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

17 years ago* If APR_FINFO_NAME is added to the list of wanted information, apr_stat
Ruediger Pluem [Sat, 30 Dec 2006 20:07:14 +0000 (20:07 +0000)]
* If APR_FINFO_NAME is added to the list of wanted information, apr_stat
  always returns APR_INCOMPLETE on Unix platforms in the case that the
  call to the native stat / lstat did not fail. So we can safely assume
  that the stat / lstat call has been successful in this case.

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

17 years agoOngoing crusade to separate callback tracing into single-process
Sander Temme [Sat, 30 Dec 2006 02:40:07 +0000 (02:40 +0000)]
Ongoing crusade to separate callback tracing into single-process
single-thread part and thread-safe per-request or per-connection
(forthcoming) routines.  Implement trace_startup() routine and call it
from startup hook handlers instead of the old trace_add routine.  This
completely separates the global variable manipulation from the
request-specific stuff.  Otherwise, it's mostly existing code.

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

17 years agoImprove the error message, include the full path of the file we are actually trying...
Paul Querna [Fri, 29 Dec 2006 05:27:49 +0000 (05:27 +0000)]
Improve the error message, include the full path of the file we are actually trying to call stat on.

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

17 years agoPR#36609 - permit % as the last character of a Header value
Nick Kew [Mon, 25 Dec 2006 17:40:10 +0000 (17:40 +0000)]
PR#36609 - permit % as the last character of a Header value

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

17 years agoPR#35314: Enable path components in Redirect
Nick Kew [Mon, 25 Dec 2006 12:06:33 +0000 (12:06 +0000)]
PR#35314: Enable path components in Redirect

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

17 years agoFollow Garrett's example and provide a crypto notice in the README,
Roy T. Fielding [Sun, 24 Dec 2006 22:54:49 +0000 (22:54 +0000)]
Follow Garrett's example and provide a crypto notice in the README,
with specific details for removing the crypto and for nossl packages.

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

17 years agoCompile mod_authn_core on Win32. (The authz-dev branch forgot to add this.)
Justin Erenkrantz [Sun, 24 Dec 2006 19:40:48 +0000 (19:40 +0000)]
Compile mod_authn_core on Win32.  (The authz-dev branch forgot to add this.)

* modules/aaa/mod_authn_core.dsp: New DSP file for mod_authn_core.
* Apache.dsw: Add mod_authn_core as a dependency.
* Makefile.win: Add install targets

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

17 years ago* mappers/mod_rewrite.dsp: Add ../database to include path so mod_dbd.h can
Justin Erenkrantz [Sun, 24 Dec 2006 18:37:42 +0000 (18:37 +0000)]
* mappers/mod_rewrite.dsp: Add ../database to include path so mod_dbd.h can
  be found.

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

17 years agoFix comment to allow modules using the new authz scheme to work on Win32.
Justin Erenkrantz [Sun, 24 Dec 2006 17:52:15 +0000 (17:52 +0000)]
Fix comment to allow modules using the new authz scheme to work on Win32.

* mod_auth.h: Fix up blurb on how to retrieve ap_satisfies to match what
  mod_authz_core and friends use which does work on Windows.

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

17 years agoremove a bit of useless code from worker and event MPMs
Jeff Trawick [Sun, 24 Dec 2006 14:52:06 +0000 (14:52 +0000)]
remove a bit of useless code from worker and event MPMs

PR: 41193
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: trawick

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

17 years agosync with 2.2.x branch
Jeff Trawick [Sun, 24 Dec 2006 14:41:17 +0000 (14:41 +0000)]
sync with 2.2.x branch

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

17 years agosync translation.
Hiroaki Kawai [Sun, 24 Dec 2006 01:12:41 +0000 (01:12 +0000)]
sync translation.

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

17 years agoSync with 2.2.4
Jim Jagielski [Wed, 20 Dec 2006 02:04:52 +0000 (02:04 +0000)]
Sync with 2.2.4

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

17 years ago* Sync with 2.2.x CHANGES
Ruediger Pluem [Tue, 19 Dec 2006 21:58:29 +0000 (21:58 +0000)]
* Sync with 2.2.x CHANGES

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

17 years agoAdd request-specific trace method that does not use global variables and
Sander Temme [Tue, 19 Dec 2006 07:25:45 +0000 (07:25 +0000)]
Add request-specific trace method that does not use global variables and
can be called in a multi-threaded situation.

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

17 years agoPR#40950: add security note to docs (submitted Thijs Kinkhorst)
Nick Kew [Sat, 16 Dec 2006 21:59:13 +0000 (21:59 +0000)]
PR#40950: add security note to docs (submitted Thijs Kinkhorst)

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

17 years agoPR#37680: fix socket block/nonblock on restart/graceful
Nick Kew [Sat, 16 Dec 2006 21:41:38 +0000 (21:41 +0000)]
PR#37680: fix socket block/nonblock on restart/graceful
Patch submitted by Darius Davis (darius-abz free-range.com.au)

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

17 years agoSync with 2.2.4
Jim Jagielski [Wed, 13 Dec 2006 14:11:17 +0000 (14:11 +0000)]
Sync with 2.2.4

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

17 years agoSync with 2.2.4 changes
Jim Jagielski [Wed, 13 Dec 2006 14:05:41 +0000 (14:05 +0000)]
Sync with 2.2.4 changes

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

17 years agoadd previously-omitted CHANGES entry for a fix merged into 2.2.x
Jeff Trawick [Wed, 13 Dec 2006 12:14:32 +0000 (12:14 +0000)]
add previously-omitted CHANGES entry for a fix merged into 2.2.x

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

17 years agoPR#39420
Nick Kew [Wed, 13 Dec 2006 02:12:16 +0000 (02:12 +0000)]
PR#39420
Use case-insensitive matching for resp=Content-Type
(other uses of this var are in apr_table_get, so case is irrelevant).

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

17 years agoAPR_HAVE/AP_HAVE are ALWAYS defined, not always 1.
William A. Rowe Jr [Wed, 13 Dec 2006 00:34:58 +0000 (00:34 +0000)]
APR_HAVE/AP_HAVE are ALWAYS defined, not always 1.

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

17 years ago* Handle request bodies larger than 2 GB by converting the Content-Length
Ruediger Pluem [Tue, 12 Dec 2006 21:22:36 +0000 (21:22 +0000)]
* Handle request bodies larger than 2 GB by converting the Content-Length
  header string of the request correctly to apr_off_t.

PR: 40883

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

17 years agoincrease size of error string buffer passed to apr_strerror();
Jeff Trawick [Mon, 11 Dec 2006 19:08:40 +0000 (19:08 +0000)]
increase size of error string buffer passed to apr_strerror();
120 is the size most frequently used in Apache; APR provides no
hints

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

17 years agoStop mod_dbd emitting bogus error messages when it's loaded
Nick Kew [Sun, 10 Dec 2006 23:38:05 +0000 (23:38 +0000)]
Stop mod_dbd emitting bogus error messages when it's loaded
but not configured.

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

17 years agoformat change. no functional change.
Jim Jagielski [Sat, 9 Dec 2006 14:19:36 +0000 (14:19 +0000)]
format change. no functional change.

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

17 years agoSync with 2.2.4-dev. Add entry since it's a PR fix.
Jim Jagielski [Sat, 9 Dec 2006 14:16:36 +0000 (14:16 +0000)]
Sync with 2.2.4-dev. Add entry since it's a PR fix.

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

17 years agoIsolate the unlock return vals
Jim Jagielski [Sat, 9 Dec 2006 13:47:56 +0000 (13:47 +0000)]
Isolate the unlock return vals

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

17 years agoFix compile warning:
Jim Jagielski [Fri, 8 Dec 2006 21:38:40 +0000 (21:38 +0000)]
Fix compile warning:
    mod_proxy_balancer.c:537: warning: unused variable 'rv'

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

17 years agoFailure to unlock is very nasty, so log it to help
Jim Jagielski [Fri, 8 Dec 2006 21:37:08 +0000 (21:37 +0000)]
Failure to unlock is very nasty, so log it to help
with troubleshooting.

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

17 years agoWe are doing nothing here... but keep the stubs
Jim Jagielski [Fri, 8 Dec 2006 21:29:20 +0000 (21:29 +0000)]
We are doing nothing here... but keep the stubs
in case we ever do.

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

17 years agoLog when the lock fails.
Jim Jagielski [Fri, 8 Dec 2006 21:26:40 +0000 (21:26 +0000)]
Log when the lock fails.

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

17 years agoNo need for each ind lb method to increment the elected
Jim Jagielski [Fri, 8 Dec 2006 21:13:01 +0000 (21:13 +0000)]
No need for each ind lb method to increment the elected
element. Do so from the main calling func.

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

17 years ago* Sync with 2.2.x and style fixes
Ruediger Pluem [Fri, 8 Dec 2006 20:58:15 +0000 (20:58 +0000)]
* Sync with 2.2.x and style fixes

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

17 years agoMore 2.2.4-dev syncs
Jim Jagielski [Fri, 8 Dec 2006 15:36:55 +0000 (15:36 +0000)]
More 2.2.4-dev syncs

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

17 years agoAnd sync with recent 2.2.4-dev backports
Jim Jagielski [Fri, 8 Dec 2006 15:33:31 +0000 (15:33 +0000)]
And sync with recent 2.2.4-dev backports

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

17 years agoSync with 2.2.4-dev
Jim Jagielski [Fri, 8 Dec 2006 14:22:51 +0000 (14:22 +0000)]
Sync with 2.2.4-dev

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

17 years agosync with 2.2.x branch
Jeff Trawick [Fri, 8 Dec 2006 12:56:35 +0000 (12:56 +0000)]
sync with 2.2.x branch

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

17 years agowhitespace fix
Jeff Trawick [Fri, 8 Dec 2006 12:49:45 +0000 (12:49 +0000)]
whitespace fix

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

17 years agosync with 2.2.x branch
Jeff Trawick [Fri, 8 Dec 2006 12:41:46 +0000 (12:41 +0000)]
sync with 2.2.x branch

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

17 years agosync with 2.2.x/CHANGES
Jeff Trawick [Fri, 8 Dec 2006 12:24:22 +0000 (12:24 +0000)]
sync with 2.2.x/CHANGES

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

17 years agoremove mod_headers edit feature from new_features_2_4.xml
Chris Darroch [Fri, 8 Dec 2006 00:21:04 +0000 (00:21 +0000)]
remove mod_headers edit feature from new_features_2_4.xml
(back-ported to 2.2.x) and update transformation

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

17 years agoAs per http://issues.apache.org/bugzilla/show_bug.cgi?id=40640, remove
Rich Bowen [Thu, 7 Dec 2006 20:12:34 +0000 (20:12 +0000)]
As per http://issues.apache.org/bugzilla/show_bug.cgi?id=40640, remove
the compat remark that is no longer accurate.

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

17 years ago* Do not replace a Date header set by a proxied backend server.
Ruediger Pluem [Thu, 7 Dec 2006 20:01:07 +0000 (20:01 +0000)]
* Do not replace a Date header set by a proxied backend server.

PR: 40232

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

17 years ago* Add the missing include of http_request.h and thus fix a compiler warning.
Ruediger Pluem [Thu, 7 Dec 2006 19:47:18 +0000 (19:47 +0000)]
* Add the missing include of http_request.h and thus fix a compiler warning.

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

17 years ago* Remove an unused variable and thus fix a compiler warning.
Ruediger Pluem [Thu, 7 Dec 2006 19:45:51 +0000 (19:45 +0000)]
* Remove an unused variable and thus fix a compiler warning.

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

17 years agoRevert a regression introduced in the recent overhauls of mod_isapi.
William A. Rowe Jr [Thu, 7 Dec 2006 19:18:30 +0000 (19:18 +0000)]
Revert a regression introduced in the recent overhauls of mod_isapi.

PR 40470 points out that we no longer handle ate == headlen, where
there is a headers-only response from the isapi app to the server.

This patch restores the previous behavior of pending those headers
until some amount of body response is ready to be sent to the client.

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

17 years agoMirror r483555, for GUI environment. Reason for the duplication is to make
William A. Rowe Jr [Thu, 7 Dec 2006 17:47:43 +0000 (17:47 +0000)]
Mirror r483555, for GUI environment.  Reason for the duplication is to make
enabling of the debugger much more trivial.

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

17 years agoSimilar change to r483553 to help developers work in parallel on win32, install
William A. Rowe Jr [Thu, 7 Dec 2006 17:11:51 +0000 (17:11 +0000)]
Similar change to r483553 to help developers work in parallel on win32, install
default command-line build to \Apache2x directory, and name service Apache2.x
(which means this doesn't need to change over and over as trunk becomes 2.5, 2.7 etc.)

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

17 years ago* Ensure that at least scheme://hostname[:port] matches between worker and URL
Ruediger Pluem [Sun, 3 Dec 2006 21:24:43 +0000 (21:24 +0000)]
* Ensure that at least scheme://hostname[:port] matches between worker and URL
  when trying to find the worker that fits best to the given URL.

PR: 40910

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

17 years ago* Remove expired content from cache that cannot be revalidated.
Ruediger Pluem [Sun, 3 Dec 2006 20:51:13 +0000 (20:51 +0000)]
* Remove expired content from cache that cannot be revalidated.

PR: 30370

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

17 years agoStash DBD connections in request_config of initial request
Chris Darroch [Sat, 2 Dec 2006 06:25:07 +0000 (06:25 +0000)]
Stash DBD connections in request_config of initial request
only, or else sub-requests and internal redirections may cause
entire DBD pool to be stashed in a single HTTP request.

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

17 years agoProtect against any sort of non-block read that
Jim Jagielski [Tue, 28 Nov 2006 20:36:47 +0000 (20:36 +0000)]
Protect against any sort of non-block read that
would block. If ap_get_brigade() shows that, return
EAGAIN.

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

17 years agoApply patch for PR 41056 (19954) to fix chunk
Jim Jagielski [Tue, 28 Nov 2006 17:36:45 +0000 (17:36 +0000)]
Apply patch for PR 41056 (19954) to fix chunk
filter. Now flushes work better.

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

17 years ago Attempt to clarify Order's effect.
Chris Pepper [Tue, 28 Nov 2006 04:22:10 +0000 (04:22 +0000)]
Attempt to clarify Order's effect.
Add table showing effects of the various Allow/Deny match combinations.

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

17 years agoifdef out suexec for the platforms that don't support it
Bradley Nicholes [Mon, 27 Nov 2006 23:11:42 +0000 (23:11 +0000)]
ifdef out suexec for the platforms that don't support it

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

17 years ago Typo.
Chris Pepper [Mon, 27 Nov 2006 21:52:29 +0000 (21:52 +0000)]
Typo.
Submitter: victory

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

17 years ago* Move the error log slug higher in the trace function, so it gets
Sander Temme [Mon, 27 Nov 2006 07:29:26 +0000 (07:29 +0000)]
* Move the error log slug higher in the trace function, so it gets
  executed even if the trace_add returns in the middle
* Add a direct-to-stderr path in case we don't have a server_rec to log
  for
* Remove now redundant direct-to-sterr from x_monitor callback

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

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