]> granicus.if.org Git - apache/log
apache
14 years agoFix a segfault when tmpfiles are encountered while cleaning.
Graham Leggett [Wed, 6 Oct 2010 11:03:52 +0000 (11:03 +0000)]
Fix a segfault when tmpfiles are encountered while cleaning.

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

14 years agoRenamed optarg -> opt_arg to avoid name clashes with system-own optarg;
Guenter Knauf [Wed, 6 Oct 2010 10:05:22 +0000 (10:05 +0000)]
Renamed optarg -> opt_arg to avoid name clashes with system-own optarg;
removed leftover from IDE build times.

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

14 years agoEnsure the correct pool is passed in when listing URLs.
Graham Leggett [Tue, 5 Oct 2010 13:52:37 +0000 (13:52 +0000)]
Ensure the correct pool is passed in when listing URLs.

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

14 years agoRemoved leftover from IDE build times.
Guenter Knauf [Tue, 5 Oct 2010 04:05:06 +0000 (04:05 +0000)]
Removed leftover from IDE build times.

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

14 years agoFirst undefine before define; Watcom does not redefine.
Guenter Knauf [Tue, 5 Oct 2010 03:56:31 +0000 (03:56 +0000)]
First undefine before define; Watcom does not redefine.

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

14 years agoUpdate transformations.
Graham Leggett [Mon, 4 Oct 2010 23:49:26 +0000 (23:49 +0000)]
Update transformations.

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

14 years agohtcacheclean: Allow the listing of valid URLs within the cache, with
Graham Leggett [Mon, 4 Oct 2010 23:44:27 +0000 (23:44 +0000)]
htcacheclean: Allow the listing of valid URLs within the cache, with
the option to list entry metadata such as sizes and times.

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

14 years agoRemove (and no longer initialise) an unused variable.
Graham Leggett [Mon, 4 Oct 2010 22:35:54 +0000 (22:35 +0000)]
Remove (and no longer initialise) an unused variable.

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

14 years agomod_cache: Don't regenerate the cache key if we have already generated it.
Graham Leggett [Mon, 4 Oct 2010 19:27:22 +0000 (19:27 +0000)]
mod_cache: Don't regenerate the cache key if we have already generated it.

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

14 years agoRemoved duplicate global; removed obsolete cast.
Guenter Knauf [Mon, 4 Oct 2010 16:29:43 +0000 (16:29 +0000)]
Removed duplicate global; removed obsolete cast.

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

14 years agoFixed declaration; added return value.
Guenter Knauf [Mon, 4 Oct 2010 15:49:28 +0000 (15:49 +0000)]
Fixed declaration; added return value.

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

14 years agoRenamed optarg -> opt_arg to avoid name clashes with system-own optarg.
Guenter Knauf [Mon, 4 Oct 2010 15:45:38 +0000 (15:45 +0000)]
Renamed optarg -> opt_arg to avoid name clashes with system-own optarg.

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

14 years agoFixed NetWare PCRE build.
Guenter Knauf [Mon, 4 Oct 2010 15:33:21 +0000 (15:33 +0000)]
Fixed NetWare PCRE build.

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

14 years agoRPM init script: make sure that should we be started by any of the
Graham Leggett [Mon, 4 Oct 2010 14:43:55 +0000 (14:43 +0000)]
RPM init script: make sure that should we be started by any of the
runlevel symlinks (eg S85htcacheclean), we ignore the first character
and two digits that follow.

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

14 years agoRemove the attempt to pass the cache key into the lock functions, use
Graham Leggett [Mon, 4 Oct 2010 12:46:06 +0000 (12:46 +0000)]
Remove the attempt to pass the cache key into the lock functions, use
cache->key instead for this. Fixes a segfault caused when cache->key
was populated, but the passed in key was not.

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

14 years agoUpdate transformations.
Graham Leggett [Sun, 3 Oct 2010 13:25:04 +0000 (13:25 +0000)]
Update transformations.

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

14 years agomod_cache: Allow control over the base URL of reverse proxied requests
Graham Leggett [Sun, 3 Oct 2010 13:23:39 +0000 (13:23 +0000)]
mod_cache: Allow control over the base URL of reverse proxied requests
using the CacheKeyBaseURL directive, so that the cache key can be
calculated from the endpoint URL instead of the server URL.

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

14 years agoRealign the cache_quick_handler() and cache_handler() to behave identically
Graham Leggett [Sat, 2 Oct 2010 23:17:47 +0000 (23:17 +0000)]
Realign the cache_quick_handler() and cache_handler() to behave identically
to the default_handler() when it comes to reacting to errors when writing
to the filter stack. Previously the error message implied the cache had
failed, when in reality, any part of the filter stack may have returned an
error.

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

14 years agoRemove FIXMEs, they have been fixed.
Graham Leggett [Sat, 2 Oct 2010 22:20:07 +0000 (22:20 +0000)]
Remove FIXMEs, they have been fixed.

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

14 years agoMake sure the has_body flag is written to the disk cache file, so that
Graham Leggett [Sat, 2 Oct 2010 21:38:49 +0000 (21:38 +0000)]
Make sure the has_body flag is written to the disk cache file, so that
we don't interpret subsequent bodies as empty.

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

14 years agoUpdate transformations.
Graham Leggett [Sat, 2 Oct 2010 20:58:49 +0000 (20:58 +0000)]
Update transformations.

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

14 years agomod_cache: CacheLastModifiedFactor, CacheStoreNoStore, CacheStorePrivate,
Graham Leggett [Sat, 2 Oct 2010 20:57:38 +0000 (20:57 +0000)]
mod_cache: CacheLastModifiedFactor, CacheStoreNoStore, CacheStorePrivate,
CacheStoreExpired, CacheIgnoreNoLastMod, CacheDefaultExpire,
CacheMinExpire and CacheMaxExpire can be set per directory/location.

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

14 years agoUpdate transformations.
Graham Leggett [Sat, 2 Oct 2010 17:36:05 +0000 (17:36 +0000)]
Update transformations.

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

14 years agomod_disk_cache: CacheMaxFileSize, CacheMinFileSize, CacheReadSize and
Graham Leggett [Sat, 2 Oct 2010 17:31:35 +0000 (17:31 +0000)]
mod_disk_cache: CacheMaxFileSize, CacheMinFileSize, CacheReadSize and
CacheReadTime can be set per directory/location.

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

14 years agomerge if blocks
Stefan Fritsch [Sat, 2 Oct 2010 15:32:51 +0000 (15:32 +0000)]
merge if blocks

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

14 years agoUse ptemp in some places to save some memory when parsing included config
Stefan Fritsch [Sat, 2 Oct 2010 15:04:08 +0000 (15:04 +0000)]
Use ptemp in some places to save some memory when parsing included config
files

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

14 years agocore: Speed up config parsing if using a very large number of config
Stefan Fritsch [Sat, 2 Oct 2010 14:44:20 +0000 (14:44 +0000)]
core: Speed up config parsing if using a very large number of config
files

PR: 50002
Submitted by: andrew cloudaccess net

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

14 years agoFix CVE-2010-1623 in mod_reqtimeout, too. It includes a non-blocking variant
Stefan Fritsch [Fri, 1 Oct 2010 19:33:39 +0000 (19:33 +0000)]
Fix CVE-2010-1623 in mod_reqtimeout, too. It includes a non-blocking variant
of apr_brigade_split_line().

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

14 years agoOh. Never mind. That's in there already too. Perhaps we just never
Rich Bowen [Fri, 1 Oct 2010 12:56:31 +0000 (12:56 +0000)]
Oh. Never mind. That's in there already too. Perhaps we just never
updated the STATUS file, hmm?

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

14 years agoI'm really not sure what I was thinking of when I put that remark in
Rich Bowen [Fri, 1 Oct 2010 12:51:05 +0000 (12:51 +0000)]
I'm really not sure what I was thinking of when I put that remark in
there. It's not wrong, it's just a litte incomplete.

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

14 years agomod_cache: Support the caching of HEAD requests.
Graham Leggett [Thu, 30 Sep 2010 23:25:15 +0000 (23:25 +0000)]
mod_cache: Support the caching of HEAD requests.

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

14 years agoAdd a TODO item for the 1.3 docs.
Rich Bowen [Thu, 30 Sep 2010 21:31:54 +0000 (21:31 +0000)]
Add a TODO item for the 1.3 docs.

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

14 years agoA possibility for a good doc to have, since modules.apache.org isn't
Rich Bowen [Thu, 30 Sep 2010 21:21:23 +0000 (21:21 +0000)]
A possibility for a good doc to have, since modules.apache.org isn't
actually useful.

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

14 years agodns-caveat is largely rubbish. Someone should rewrite that.
Rich Bowen [Thu, 30 Sep 2010 21:15:16 +0000 (21:15 +0000)]
dns-caveat is largely rubbish. Someone should rewrite that.

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

14 years agoAdds caution about overusing IfModule, and mentions the -M flag in
Rich Bowen [Thu, 30 Sep 2010 19:45:43 +0000 (19:45 +0000)]
Adds caution about overusing IfModule, and mentions the -M flag in
addition to the -l flag for determining what modules are loaded.

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

14 years agoadd a bit of doc for the new authz providers
Stefan Fritsch [Thu, 30 Sep 2010 17:37:55 +0000 (17:37 +0000)]
add a bit of doc for the new authz providers

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

14 years agoRebuild generated files.
Rich Bowen [Thu, 30 Sep 2010 17:03:59 +0000 (17:03 +0000)]
Rebuild generated files.

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

14 years agoMention specific error message that people might come searching for.
Rich Bowen [Thu, 30 Sep 2010 17:01:39 +0000 (17:01 +0000)]
Mention specific error message that people might come searching for.

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

14 years agoMinor nitpick - We've attempted to standardize on American spelling.
Rich Bowen [Thu, 30 Sep 2010 17:01:06 +0000 (17:01 +0000)]
Minor nitpick - We've attempted to standardize on American spelling.
Don't much care one way or another, but being consistent is good.

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

14 years agoSlight rearrangement to improve flow. Added specific error message, as
Rich Bowen [Thu, 30 Sep 2010 16:58:33 +0000 (16:58 +0000)]
Slight rearrangement to improve flow. Added specific error message, as
people often search for these looking for the right doc.

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

14 years agoAdd detailed information about how to use
Rainer Jung [Thu, 30 Sep 2010 16:09:05 +0000 (16:09 +0000)]
Add detailed information about how to use
session stickyness.

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

14 years agoFix flex and bison usage when building out of tree.
Rainer Jung [Thu, 30 Sep 2010 13:37:34 +0000 (13:37 +0000)]
Fix flex and bison usage when building out of tree.

Usually these make targets are not executed because
buildconf fixes the timestamps accordingly.

But in case people want to experiment with the files
it's nice to still support out of tree build.

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

14 years agoUpdate transformations.
Graham Leggett [Wed, 29 Sep 2010 21:36:17 +0000 (21:36 +0000)]
Update transformations.

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

14 years agohtcacheclean: Allow the option to round up file sizes to a given
Graham Leggett [Wed, 29 Sep 2010 21:34:48 +0000 (21:34 +0000)]
htcacheclean: Allow the option to round up file sizes to a given
block size, improving the accuracy of disk usage.

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

14 years agoAdd authz providers for use with mod_authz_core and its RequireAny/RequireAll
Stefan Fritsch [Wed, 29 Sep 2010 20:32:23 +0000 (20:32 +0000)]
Add authz providers for use with mod_authz_core and its RequireAny/RequireAll
containers:

'ssl' (equivalent to SSLRequireSSL)
'ssl-verify-client' (for use with 'SSLVerifyClient optional')
'ssl-require' (expressions with same syntax as SSLRequire)

We may decide to axe 'ssl-require' again in favor of the generic 'expr'
provider, depending on the development of the ap_expr parser.

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

14 years agomod_disk_cache: Instead of creating an empty data file when the body is
Graham Leggett [Wed, 29 Sep 2010 20:00:11 +0000 (20:00 +0000)]
mod_disk_cache: Instead of creating an empty data file when the body is
empty, don't create a file at all, saving inodes.

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

14 years agoMake the ssl expression parser thread-safe. It now requires bison instead of
Stefan Fritsch [Wed, 29 Sep 2010 19:42:03 +0000 (19:42 +0000)]
Make the ssl expression parser thread-safe. It now requires bison instead of
yacc.

Also change the make file magic so that the real source file name is
embedded in the debug info.

The generated files have been created with flex 2.5.35/bison 2.4.1. The two
'no previous prototype' warnings are supposed to be fixed with the next flex
version.

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

14 years agohtcacheclean: If the cache file format is unrecognised, remove the entry
Graham Leggett [Wed, 29 Sep 2010 15:41:15 +0000 (15:41 +0000)]
htcacheclean: If the cache file format is unrecognised, remove the entry
from the cache.

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

14 years agoAdding #logging link.
Igor Galić [Wed, 29 Sep 2010 14:21:25 +0000 (14:21 +0000)]
Adding #logging link.

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

14 years agomod_disk_cache: Change on-disk header file format to support the
Graham Leggett [Wed, 29 Sep 2010 14:17:52 +0000 (14:17 +0000)]
mod_disk_cache: Change on-disk header file format to support the
link of the device/inode of the data file to the matching header
file, and to support the option of not writing a data file when
the data file is empty. Refactor the mod_disk_cache code so that
headers are written as late as possible (on commit), allowing the
device and inode of the body to be written to the header. At this
point, writes to the cache are now atomic, without locks.

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

14 years agoadd comment about change to ap_expr_eval()
Stefan Fritsch [Wed, 29 Sep 2010 10:34:07 +0000 (10:34 +0000)]
add comment about change to ap_expr_eval()

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

14 years agoDocumentation for r1002415.
Igor Galić [Wed, 29 Sep 2010 00:23:31 +0000 (00:23 +0000)]
Documentation for r1002415.

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

14 years agoAdd "IN" operator to expression parser, to evaluate membership of
Nick Kew [Tue, 28 Sep 2010 23:26:44 +0000 (23:26 +0000)]
Add "IN" operator to expression parser, to evaluate membership of
a list of tokens.  Couldn't resist after sf's comment on r1002363!

This means expressions like
<If %{REQUEST_METHOD} IN GET,HEAD,OPTIONS,...>
will work as a drop-in substitute for <Limit>

Also fix off-by-one bug in variable evaluation

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

14 years agoThis is just too easy to not do it: Add an 'expr' authz provider that allows
Stefan Fritsch [Tue, 28 Sep 2010 21:33:44 +0000 (21:33 +0000)]
This is just too easy to not do it: Add an 'expr' authz provider that allows
arbitrary expressions in Require lines.

The main issue I wanted to fix was that the env provider only allows to
check for the existance of an envvar but not the contents.

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

14 years agosave some memory by using cmd->temp_pool instead of cmd->pool in some places
Stefan Fritsch [Tue, 28 Sep 2010 13:19:33 +0000 (13:19 +0000)]
save some memory by using cmd->temp_pool instead of cmd->pool in some places

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

14 years agoAdd generate_log_id hook to allow to use the ID generated by mod_unique_id as
Stefan Fritsch [Tue, 28 Sep 2010 11:53:17 +0000 (11:53 +0000)]
Add generate_log_id hook to allow to use the ID generated by mod_unique_id as
error log ID for requests.

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

14 years agoA few minor nitpicks. Removal of a double negative. Alteration of example
Rich Bowen [Tue, 28 Sep 2010 11:29:30 +0000 (11:29 +0000)]
A few minor nitpicks. Removal of a double negative. Alteration of example
using AllowOverride All in <Directory /> to use something less awful.

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

14 years agonitpick: Remove mention of obsolete directive.
Rich Bowen [Tue, 28 Sep 2010 10:52:49 +0000 (10:52 +0000)]
nitpick: Remove mention of obsolete directive.

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

14 years agoupdate for sync with English docs.
Nilgun Belma Buguner [Tue, 28 Sep 2010 09:16:59 +0000 (09:16 +0000)]
update for sync with English docs.

Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by:  Orhan Berent <berent belgeler.org>

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

14 years agofix validation error
Nilgun Belma Buguner [Tue, 28 Sep 2010 09:14:10 +0000 (09:14 +0000)]
fix validation error

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

14 years agomod_cache: Make sure that we never allow a 304 Not Modified response
Graham Leggett [Mon, 27 Sep 2010 19:28:40 +0000 (19:28 +0000)]
mod_cache: Make sure that we never allow a 304 Not Modified response
that we asked for to leak to the client should the 304 response be
uncacheable. PR45341

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

14 years agoaxe extra ";", fixing this messages from Sun Studio:
Jeff Trawick [Mon, 27 Sep 2010 18:41:33 +0000 (18:41 +0000)]
axe extra ";", fixing this messages from Sun Studio:

  warning: syntax error:  empty declaration

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

14 years agoAllow for non-persist of shared mem
Jim Jagielski [Mon, 27 Sep 2010 17:37:33 +0000 (17:37 +0000)]
Allow for non-persist of shared mem

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

14 years agoUpdate doccos and explain clear/clean of shared mem
Jim Jagielski [Mon, 27 Sep 2010 17:22:58 +0000 (17:22 +0000)]
Update doccos and explain clear/clean of shared mem
as well as persist

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

14 years agoNo leakie
Jim Jagielski [Mon, 27 Sep 2010 17:10:18 +0000 (17:10 +0000)]
No leakie

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

14 years agoSplit ENV: handling between the request_rec section and the
Stefan Fritsch [Mon, 27 Sep 2010 16:07:55 +0000 (16:07 +0000)]
Split ENV: handling between the request_rec section and the
non-request_rec/conn_rec section. This makes the code fit the
comments.

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

14 years agofix another null pointer dereference found by clang
Stefan Fritsch [Mon, 27 Sep 2010 14:34:29 +0000 (14:34 +0000)]
fix another null pointer dereference found by clang

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

14 years agoAvoid potential segfault (found by clang/scan-build).
Stefan Fritsch [Mon, 27 Sep 2010 14:32:33 +0000 (14:32 +0000)]
Avoid potential segfault (found by clang/scan-build).

This is r791409 from mod_slotmem_shm.c applied to mod_slotmem_plain.c

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

14 years agoRebuild generated files - new mod_cache directives and changes to the
Rich Bowen [Mon, 27 Sep 2010 12:35:16 +0000 (12:35 +0000)]
Rebuild generated files - new mod_cache directives and changes to the
env var documentation.

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

14 years agomod_cache: Add the cache_status hook to register the final cache
Graham Leggett [Mon, 27 Sep 2010 09:20:40 +0000 (09:20 +0000)]
mod_cache: Add the cache_status hook to register the final cache
decision hit/miss/revalidate. Add optional support for an X-Cache
and/or an X-Cache-Detail header to add the cache status to the
response. PR48241

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

14 years agoRebuild generated files.
Rich Bowen [Sun, 26 Sep 2010 15:42:50 +0000 (15:42 +0000)]
Rebuild generated files.

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

14 years agoSmall cleanup and macro rename to make clearer for what it is.
Guenter Knauf [Sun, 26 Sep 2010 10:04:39 +0000 (10:04 +0000)]
Small cleanup and macro rename to make clearer for what it is.

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

14 years agoIn ErrorLogFormat, make it possible to log an item only if the loglevel
Stefan Fritsch [Sun, 26 Sep 2010 07:40:15 +0000 (07:40 +0000)]
In ErrorLogFormat, make it possible to log an item only if the loglevel
of the message is higher than a specified value. This allows to achive
the old behaviour for the source file name/line number of being only
logged for debug and higher.

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

14 years agoSpelling errors
Stefan Fritsch [Sat, 25 Sep 2010 19:36:53 +0000 (19:36 +0000)]
Spelling errors

PR: 49983, 49967
Submitted by: Chris Matthews <chris bbd co za>,
              Angelo Babudro <tech support donsdirectory com>

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

14 years agodon't use data allocated from ptemp when parsing .htaccess
Stefan Fritsch [Sat, 25 Sep 2010 17:46:52 +0000 (17:46 +0000)]
don't use data allocated from ptemp when parsing .htaccess

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

14 years agoA note about per-module logging.
Rich Bowen [Sat, 25 Sep 2010 15:57:41 +0000 (15:57 +0000)]
A note about per-module logging.

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

14 years agoRebuilding generated files.
Rich Bowen [Sat, 25 Sep 2010 15:40:13 +0000 (15:40 +0000)]
Rebuilding generated files.

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

14 years agoMissed a few mentions of mod_rewrite that shouldn't be in here any more.
Rich Bowen [Sat, 25 Sep 2010 15:39:06 +0000 (15:39 +0000)]
Missed a few mentions of mod_rewrite that shouldn't be in here any more.

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

14 years agoRewriteLog is no more. This doc could probably do with a major overhaul,
Rich Bowen [Sat, 25 Sep 2010 15:26:51 +0000 (15:26 +0000)]
RewriteLog is no more. This doc could probably do with a major overhaul,
in light of the new changes to logging.

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

14 years agoin 'ip' authz provider, parse subnets only once on startup instead of once per
Stefan Fritsch [Sat, 25 Sep 2010 15:16:16 +0000 (15:16 +0000)]
in 'ip' authz provider, parse subnets only once on startup instead of once per
request

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

14 years agoMake a note about RewriteLog for folks that are looking for it. Probably
Rich Bowen [Sat, 25 Sep 2010 15:07:49 +0000 (15:07 +0000)]
Make a note about RewriteLog for folks that are looking for it. Probably
should leave this here for a couple years until folks get used to the
new stuff.

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

14 years agoAdd 'local' authz provider that matches connections originating
Stefan Fritsch [Sat, 25 Sep 2010 13:17:49 +0000 (13:17 +0000)]
Add 'local' authz provider that matches connections originating
on the local host.  PR 19938.

Also remove some cruft from mod_authz_host (we don't need a per-dir config)

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

14 years agoExpand authz provider entry
Stefan Fritsch [Sat, 25 Sep 2010 12:18:55 +0000 (12:18 +0000)]
Expand authz provider entry

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

14 years agoUpdate transformations
Stefan Fritsch [Sat, 25 Sep 2010 12:01:59 +0000 (12:01 +0000)]
Update transformations

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

14 years agoMove all, env, and method authz providers from mod_authz_host to mod_authz_core
Stefan Fritsch [Sat, 25 Sep 2010 12:01:14 +0000 (12:01 +0000)]
Move all, env, and method authz providers from mod_authz_host to mod_authz_core

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

14 years agoclarify wording about regexp
Stefan Fritsch [Sat, 25 Sep 2010 11:15:51 +0000 (11:15 +0000)]
clarify wording about regexp

Submitted by: Arvind Srinivasan

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

14 years agoupdate transformations
Stefan Fritsch [Sat, 25 Sep 2010 11:14:13 +0000 (11:14 +0000)]
update transformations

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

14 years agoAdd some more items
Stefan Fritsch [Sat, 25 Sep 2010 11:12:44 +0000 (11:12 +0000)]
Add some more items
Add section about how to handle logging changes

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

14 years agoFix crash accessing pollset on worker thread when child process is exiting.
Jeff Trawick [Fri, 24 Sep 2010 11:25:25 +0000 (11:25 +0000)]
Fix crash accessing pollset on worker thread when child process is exiting.

The timeout mutex and pollset were allocated from the listener thread
pool.  During child process shutdown, the listener thread exits first
while any outstanding requests finish.  These objects need to be allocated
from pchild since the lifetime extends until the last worker thread has
finished.

Switch to pchild, and move init of these objects to the same place as
other thread-independent objects.

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

14 years agoAdded util_regex.c to NetWare makefile.
Guenter Knauf [Fri, 24 Sep 2010 08:58:21 +0000 (08:58 +0000)]
Added util_regex.c to NetWare makefile.
Reported by normw At gknw.net.

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

14 years agoFixed NetWare import/export list for cache modules.
Guenter Knauf [Fri, 24 Sep 2010 08:49:49 +0000 (08:49 +0000)]
Fixed NetWare import/export list for cache modules.
Reported by normw AT gknw.net.

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

14 years agoAnother user identifiable change, new behavior feature.
William A. Rowe Jr [Thu, 23 Sep 2010 19:56:45 +0000 (19:56 +0000)]
Another user identifiable change, new behavior feature.

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

14 years agoTag a user identifiable change. Thanks to rbowen for docs help.
William A. Rowe Jr [Thu, 23 Sep 2010 19:53:20 +0000 (19:53 +0000)]
Tag a user identifiable change.  Thanks to rbowen for docs help.

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

14 years agoBecause PATH and the library path are closely interrelated, and the cause
William A. Rowe Jr [Thu, 23 Sep 2010 19:50:14 +0000 (19:50 +0000)]
Because PATH and the library path are closely interrelated, and the cause
of most confusion over cgi or fcgid failures, or even starting rotatelogs,
etc, when the server binaries have been relocated, pass the library path
as paired with the system PATH.

Of course, PATH and platform-specific library path(s) may be modified as
needed with mod_env, so there is no loss of functionality with this change.

The days of monolithic binaries are long gone, even on 1970's architectures,
and PATH should not be decoupled from the library path.

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

14 years agofix Sun Studio type mismatch warnings
Jeff Trawick [Thu, 23 Sep 2010 19:21:43 +0000 (19:21 +0000)]
fix Sun Studio type mismatch warnings

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

14 years agogenerated files only
Jeff Trawick [Thu, 23 Sep 2010 14:01:50 +0000 (14:01 +0000)]
generated files only

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

14 years agofollow up r956069 and r1000130 with additional corrections
Jeff Trawick [Thu, 23 Sep 2010 14:01:02 +0000 (14:01 +0000)]
follow up r956069 and r1000130 with additional corrections
and clarifications

Deemphasize and re-document min and smax, which are only to be
used in special circumstances.

Stop using the terms "Hard maximum" and "Soft maximum" since they
imply incorrectly that max and smax are closely related parameters
which should be considered in tandem.  That may be true from the
apr_reslist perspective, but not from that of the httpd admin.

Thanks, Rüdiger (but of course all bugs are mine)

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

14 years agoRemove a relic from the original error code, and fix segfaults in the
Graham Leggett [Thu, 23 Sep 2010 10:17:07 +0000 (10:17 +0000)]
Remove a relic from the original error code, and fix segfaults in the
process.

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

14 years agoBump the MMN to take into account changes to the mod_cache API.
Graham Leggett [Wed, 22 Sep 2010 22:02:33 +0000 (22:02 +0000)]
Bump the MMN to take into account changes to the mod_cache API.

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

14 years agoMove mod_cache-private includes and defines from the public mod_cache.h
Graham Leggett [Wed, 22 Sep 2010 21:55:27 +0000 (21:55 +0000)]
Move mod_cache-private includes and defines from the public mod_cache.h
interface into the private cache_util.h interface.

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