]> granicus.if.org Git - apache/log
apache
17 years agoSimple patch to permit syntax such as...
William A. Rowe Jr [Sat, 10 Feb 2007 18:41:22 +0000 (18:41 +0000)]
Simple patch to permit syntax such as...

  bin/apachectl start -X

or similar, based on evaluating only the first arg as an apxs 'command',
and permitting additional args in httpd-style syntax.

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

17 years agofix spelling error in a comment
Jeff Trawick [Thu, 8 Feb 2007 20:33:06 +0000 (20:33 +0000)]
fix spelling error in a comment

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

17 years agoDocs update. Sync with transforms
Jim Jagielski [Thu, 8 Feb 2007 13:54:19 +0000 (13:54 +0000)]
Docs update. Sync with transforms

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

17 years agoChange common but incorrect usage of 'depreciated'
Jim Jagielski [Thu, 8 Feb 2007 13:46:14 +0000 (13:46 +0000)]
Change common but incorrect usage of 'depreciated'
for 'deprecated'

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

17 years agoFurther refinement for PR41056 / PR 19954 (mostly-fixed in r480135.)
Jim Jagielski [Wed, 7 Feb 2007 14:26:37 +0000 (14:26 +0000)]
Further refinement for PR41056 / PR 19954 (mostly-fixed in r480135.)
We assume that a successful read but an empty brigade
is NOT cause for EAGAIN. Testing may or may not
confirm this assumption, in which case that test
may be required as well.

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

17 years ago* Add CacheIgnoreQueryString directive to cache requests with a query string
Ruediger Pluem [Tue, 6 Feb 2007 15:55:50 +0000 (15:55 +0000)]
* Add CacheIgnoreQueryString directive to cache requests with a query string
  even if no expiration time is specified. Futhermore the query string will not
  be used for key generation such that requests to the same URI path, but with
  different query strings are mapped to the same cache entity. Turning this
  setting to ON violates RFC 2616/13.9 and thus it is turned off by default.

PR: 41484
Submitted by: Fredrik Widlund <fredrik.widlund qbrick.com>
Reviewed by: rpluem

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

17 years agoIntroduce configuration groups to allow inheritance by virtual hosts of
Chris Darroch [Tue, 6 Feb 2007 00:25:15 +0000 (00:25 +0000)]
Introduce configuration groups to allow inheritance by virtual hosts of
database configurations from the main server.  The post_config hook function
determines the minimal set of distinct configurations necessary so that
database connection pools are shared between virtual hosts whenever possible.

The SQL statements which should be prepared for each database connection
are now stored in a hash for each virtual host during the configuration
phase, and these hashes are merged in the normal manner using
apr_hash_overlay() with that of the main server.  This allows for statements
to be de-registered by DBDPrepareSQL, if desired.  The post_config hook
function then compares the statements registered for each virtual host
when determining if a separate configuration group is required.  The
changes in r424798, r432560, r432562, and r466641, which still have problems
with configuration inheritance, are therefore no longer necessary.

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

17 years ago* Add missing Changelog entry for PR41056 / PR 19954. This was fixed in r480135.
Ruediger Pluem [Mon, 5 Feb 2007 20:46:01 +0000 (20:46 +0000)]
* Add missing Changelog entry for PR41056 / PR 19954. This was fixed in r480135.

PR: 41056 / 19954
Submitted by: jfclere, jim
Reviewed by: jim

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

17 years agoUpdate the hash table of active script pids even on paths where a
Jeff Trawick [Sun, 4 Feb 2007 00:57:03 +0000 (00:57 +0000)]
Update the hash table of active script pids even on paths where a
script process wasn't created (storing 0 for the pid in that case).
Otherwise, the remembered pid is that of the last successful script
execution for this hash key.

Prior to this patch, the wrong process could be terminated in
rare circumstances:

- A CGI process with pid 10101 is forked for connection 99.

- After the CGI exits and some time elapses, some other process gets
  pid 10101. (Connection 99 hasn't handled another CGI request yet.)

- The next time connection 99 has a CGI process, the fork()
  or other early setup fails, so no CGI process is created.

- The remembered pid for connection 99 is still 10101.  It
  gets terminated (subject to permissions).

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

17 years agobomb the BOM
Jim Jagielski [Fri, 2 Feb 2007 23:45:25 +0000 (23:45 +0000)]
bomb the BOM

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

17 years agoThis time from the top, with three part harmony AND feeling...
Graham Leggett [Thu, 1 Feb 2007 21:28:34 +0000 (21:28 +0000)]
This time from the top, with three part harmony AND feeling...

Revert the read-while-caching and large-file-crash fixes for mod_disk_cache,
ready to start again.

Reverted: r450105 r450188 r462571 r462601 r462696 r467655 r467684 r468044
r468373 r468409 r470455

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

17 years agoapxs: Enhance -q flag to print all known variables and their values
Sander Temme [Thu, 1 Feb 2007 19:31:41 +0000 (19:31 +0000)]
apxs: Enhance -q flag to print all known variables and their values
      when invoked without variable name(s).

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

17 years agoImplement a BASEDIR build environment variable to allow the NetWare build to relocate...
Bradley Nicholes [Wed, 31 Jan 2007 23:55:44 +0000 (23:55 +0000)]
Implement a BASEDIR build environment variable to allow the NetWare build to relocate the install files

Submitted by: Guenter Knauf <fuankg apache org>

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

17 years ago* server/listen.c (ap_apply_accept_filter): Bump TCP_DEFER_ACCEPT
Joe Orton [Tue, 30 Jan 2007 10:12:45 +0000 (10:12 +0000)]
* server/listen.c (ap_apply_accept_filter): Bump TCP_DEFER_ACCEPT
argument to 30 units-of-unspecified-nature.

Submitted by: Dean Gaudet <dean arctic.org>

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

17 years agosync with 2.2.x branch
Jeff Trawick [Mon, 29 Jan 2007 17:55:04 +0000 (17:55 +0000)]
sync with 2.2.x branch

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

17 years ago* Nitpicking: Get the comment right.
Ruediger Pluem [Sun, 28 Jan 2007 21:51:43 +0000 (21:51 +0000)]
* Nitpicking: Get the comment right.

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

17 years agoUnix MPMs: Catch SIGFPE so that exception hooks and CoreDumpDirectory
Jeff Trawick [Sun, 28 Jan 2007 21:14:40 +0000 (21:14 +0000)]
Unix MPMs: Catch SIGFPE so that exception hooks and CoreDumpDirectory
can work after that terminating signal.

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

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

17 years ago* Fix a off-by-one error in parse_format_tag in the case that the last character
Ruediger Pluem [Wed, 24 Jan 2007 21:08:44 +0000 (21:08 +0000)]
* Fix a off-by-one error in parse_format_tag in the case that the last character
  of the string to which *sa points is a %. In this case the while loop in
  parse_format_string would call parse_format_tag with a pointer to a memory
  region that starts one byte after the string to which s in parse_format_string
  points to.

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

17 years agoPoint out that if another authorization method is used
Bradley Nicholes [Wed, 24 Jan 2007 03:46:24 +0000 (03:46 +0000)]
Point out that if another authorization method is used
with mod_authnz_ldap, AuthzLDAPAuthoritative must be
set to off.

submitted by: Darren Spruell <phatbuckett gmail.com>

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

17 years agoSet the SSLMutex to default on the NetWare platform and make sure that the file locat...
Bradley Nicholes [Mon, 22 Jan 2007 16:06:47 +0000 (16:06 +0000)]
Set the SSLMutex to default on the NetWare platform and make sure that the file locations are being set properly.

Submitted by: Guenter Knauf <fuankg apache.org>

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

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