]> granicus.if.org Git - apache/log
apache
13 years agoUpdates.
Lucien Gentis [Sun, 17 Oct 2010 12:26:38 +0000 (12:26 +0000)]
Updates.

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

13 years agoUse ap_log_rerror() instead of ap_log_error() across mod_cache and
Graham Leggett [Sun, 17 Oct 2010 11:34:03 +0000 (11:34 +0000)]
Use ap_log_rerror() instead of ap_log_error() across mod_cache and
mod_disk_cache.

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

13 years agoSupport Cache-Control: no-cache with a header name, and private with a
Graham Leggett [Sun, 17 Oct 2010 01:34:04 +0000 (01:34 +0000)]
Support Cache-Control: no-cache with a header name, and private with a
header name, which causes a cached entry to require revalidation (ie
is always not-fresh), as per RFC2616 14.9.1.

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

13 years agoDon't attempt to kill a stale entry that cannot be revalidated so early
Graham Leggett [Sun, 17 Oct 2010 01:24:24 +0000 (01:24 +0000)]
Don't attempt to kill a stale entry that cannot be revalidated so early
in the process, as this will happen later anyway as necessary. We may want
to serve the stale entry should the backend not be available.

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

13 years agoAs cache_control_t is public, make ap_cache_control() public with it. Bump
Graham Leggett [Sun, 17 Oct 2010 00:59:44 +0000 (00:59 +0000)]
As cache_control_t is public, make ap_cache_control() public with it. Bump
the MMN for addition of ap_cache_control(), and the addition of cache_control_t
to the disk format.

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

13 years agoDon't attempt to remove the existing conditional headers until we have
Graham Leggett [Sun, 17 Oct 2010 00:50:28 +0000 (00:50 +0000)]
Don't attempt to remove the existing conditional headers until we have
committed to adding our own.

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

13 years agoSupport Cache-Control: only-if-cached, as per RFC2616 14.9.4.
Graham Leggett [Sun, 17 Oct 2010 00:20:41 +0000 (00:20 +0000)]
Support Cache-Control: only-if-cached, as per RFC2616 14.9.4.

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

13 years agoFix the error cases in the cache_select() loop. On error we must loop around
Graham Leggett [Sun, 17 Oct 2010 00:01:45 +0000 (00:01 +0000)]
Fix the error cases in the cache_select() loop. On error we must loop around
to the next provider, not return DECLINED too early, except for the
revalidate case, where returning DECLINED is correct behaviour.

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

13 years agoFix the return values in the cache_select() function, we don't return APR
Graham Leggett [Sat, 16 Oct 2010 23:42:25 +0000 (23:42 +0000)]
Fix the return values in the cache_select() function, we don't return APR
error codes in this case.

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

13 years agoAdd support for proxy-revalidate as per RFC2616 section 14.9.4.
Graham Leggett [Sat, 16 Oct 2010 23:32:45 +0000 (23:32 +0000)]
Add support for proxy-revalidate as per RFC2616 section 14.9.4.

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

13 years agoFix the sense of the must_revalidate comparison. Replace a further call to
Graham Leggett [Sat, 16 Oct 2010 23:24:09 +0000 (23:24 +0000)]
Fix the sense of the must_revalidate comparison. Replace a further call to
ap_cache_liststr() with a pre-parsed value.

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

13 years agoComplete the optimisation of Cache-Control header parsing. Make the
Graham Leggett [Sat, 16 Oct 2010 23:15:52 +0000 (23:15 +0000)]
Complete the optimisation of Cache-Control header parsing. Make the
cache_control_t structure public so as to be available to mod_disk_cache.

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

13 years agoBegin the process of optimising the parsing of Cache-Control headers. Parse
Graham Leggett [Sat, 16 Oct 2010 19:30:08 +0000 (19:30 +0000)]
Begin the process of optimising the parsing of Cache-Control headers. Parse
the incoming Cache-Control and Pragma headers once, instead of on each test.

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

13 years agoupdate transformations
Stefan Fritsch [Sat, 16 Oct 2010 10:38:36 +0000 (10:38 +0000)]
update transformations

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

13 years agonew features list:
Stefan Fritsch [Sat, 16 Oct 2010 10:29:34 +0000 (10:29 +0000)]
new features list:
- add mod_allowmethods to new features
- remove mpm_simple, it won't be ready in time for 2.4

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

13 years agoFix xml again
Stefan Fritsch [Sat, 16 Oct 2010 10:27:52 +0000 (10:27 +0000)]
Fix xml again

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

13 years agoBuild mod_allowmethods (windows and netware stuff needs to be tested).
Stefan Fritsch [Sat, 16 Oct 2010 10:16:18 +0000 (10:16 +0000)]
Build mod_allowmethods (windows and netware stuff needs to be tested).

Change method bit vector to 64 bits

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

13 years agoAdd pquerna's mod_allowmethod plus igalic's docs from the sandbox (r1001151)
Stefan Fritsch [Sat, 16 Oct 2010 10:06:45 +0000 (10:06 +0000)]
Add pquerna's mod_allowmethod plus igalic's docs from the sandbox (r1001151)

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

13 years agocore: Log a warning if <Limit> or <LimitExcept> are used. They are
Stefan Fritsch [Sat, 16 Oct 2010 09:59:21 +0000 (09:59 +0000)]
core: Log a warning if <Limit> or <LimitExcept> are used. They are
deprecated and may go away in 2.4.

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

13 years agomod_ssl: Log certificate information if client cert verification
Stefan Fritsch [Sat, 16 Oct 2010 09:51:44 +0000 (09:51 +0000)]
mod_ssl: Log certificate information if client cert verification
fails.

PR: 50094
Submitted by: Lassi Tuura <lat cern ch>

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

13 years agoreturn early if we are not logging anyway
Stefan Fritsch [Fri, 15 Oct 2010 18:36:22 +0000 (18:36 +0000)]
return early if we are not logging anyway

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

13 years agoFix constness in log macro.
Rainer Jung [Fri, 15 Oct 2010 17:17:15 +0000 (17:17 +0000)]
Fix constness in log macro.
Prevent compiler warning.

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

13 years agoFix description of APLOG_USE_MODULE in new
Rainer Jung [Fri, 15 Oct 2010 16:30:29 +0000 (16:30 +0000)]
Fix description of APLOG_USE_MODULE in new
API docs. The macro needs a trailing semicolon.

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

13 years agoUpdated french translation
Vincent Deffontaines [Fri, 15 Oct 2010 10:36:42 +0000 (10:36 +0000)]
Updated french translation

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

13 years agoSome error messages got translated by mistake in the .fr translation - fixed
Vincent Deffontaines [Thu, 14 Oct 2010 19:24:10 +0000 (19:24 +0000)]
Some error messages got translated by mistake in the .fr translation - fixed

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

13 years agoUpdated the french documentation to match the new english revision.
Vincent Deffontaines [Thu, 14 Oct 2010 19:16:43 +0000 (19:16 +0000)]
Updated the french documentation to match the new english revision.

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

13 years agoUpdated the .fr doc to match new .en revision
Vincent Deffontaines [Wed, 13 Oct 2010 20:10:44 +0000 (20:10 +0000)]
Updated the .fr doc to match new .en revision

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

13 years agoUpdated the french translation
Vincent Deffontaines [Wed, 13 Oct 2010 19:40:51 +0000 (19:40 +0000)]
Updated the french translation

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

13 years agoFixing previous commit, as a <code> tag was mangled
Vincent Deffontaines [Wed, 13 Oct 2010 19:29:03 +0000 (19:29 +0000)]
Fixing previous commit, as a <code> tag was mangled

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

13 years agoUpdate transformations.
Graham Leggett [Wed, 13 Oct 2010 18:44:08 +0000 (18:44 +0000)]
Update transformations.

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

13 years agoOoh look, new and shiny things in v2.4.
Graham Leggett [Wed, 13 Oct 2010 18:43:23 +0000 (18:43 +0000)]
Ooh look, new and shiny things in v2.4.

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

13 years agohtcacheclean: Teach htcacheclean to limit cache size by number of
Graham Leggett [Wed, 13 Oct 2010 18:41:56 +0000 (18:41 +0000)]
htcacheclean: Teach htcacheclean to limit cache size by number of
inodes in addition to size of files. Prevents a cache disk from
running out of space when many small files are cached.

Move the directory delete process to the "purge" section, so that
inode counts are accurate when querying for stats only.

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

13 years agoUpdated to match the new english revision
Vincent Deffontaines [Wed, 13 Oct 2010 17:44:26 +0000 (17:44 +0000)]
Updated to match the new english revision

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

13 years agomod_cache: Support stale-on-error behaviour for the mod_proxy case in
Graham Leggett [Tue, 12 Oct 2010 22:54:06 +0000 (22:54 +0000)]
mod_cache: Support stale-on-error behaviour for the mod_proxy case in
addition to the existing case where the error was generated by ourselves.

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

13 years agoMake sure we remove the cache lock consistently as soon as we've started
Graham Leggett [Tue, 12 Oct 2010 22:43:49 +0000 (22:43 +0000)]
Make sure we remove the cache lock consistently as soon as we've started
down the error path, so that we don't delay the next attempt to cache.

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

13 years agoupdate transformations
Stefan Fritsch [Tue, 12 Oct 2010 21:18:01 +0000 (21:18 +0000)]
update transformations

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

13 years agoRename MaxRequestsPerChild to MaxConnectionsPerChild, which
Stefan Fritsch [Tue, 12 Oct 2010 21:12:37 +0000 (21:12 +0000)]
Rename MaxRequestsPerChild to MaxConnectionsPerChild, which
describes more accurately what the directive does.

The old name still works but logs a warning.

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

13 years agoRestore the apr_brigade_insert_file() call to within recall_body(), as the
Graham Leggett [Tue, 12 Oct 2010 20:43:51 +0000 (20:43 +0000)]
Restore the apr_brigade_insert_file() call to within recall_body(), as the
function does more than add a single file bucket. Pass an empty brigade
to recall_body(), and prepend the result to the existing output brigade,
the next bucket being eos.

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

13 years agoinfo.file, info.line, and info.status should not be defined for per-request or
Stefan Fritsch [Tue, 12 Oct 2010 20:01:53 +0000 (20:01 +0000)]
info.file, info.line, and info.status should not be defined for per-request or
per-conn info

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

13 years agoimprove docs for ap_errorlog_handler and ap_errorlog_info
Stefan Fritsch [Tue, 12 Oct 2010 19:59:09 +0000 (19:59 +0000)]
improve docs for ap_errorlog_handler and ap_errorlog_info

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

13 years agofix description of the change for PR43857; it is a work-around
Jeff Trawick [Tue, 12 Oct 2010 03:55:11 +0000 (03:55 +0000)]
fix description of the change for PR43857; it is a work-around
for a reslist problem that isn't fixed in apr-util 1.3.x

Suggested by: jorton

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

13 years agoUpdate transformations.
Graham Leggett [Mon, 11 Oct 2010 23:35:29 +0000 (23:35 +0000)]
Update transformations.

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

13 years agomod_cache: Optionally serve stale data when a revalidation returns a
Graham Leggett [Mon, 11 Oct 2010 23:32:56 +0000 (23:32 +0000)]
mod_cache: Optionally serve stale data when a revalidation returns a
5xx response, controlled by the CacheStaleOnError directive.

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

13 years agoUse the more popular spelling variant.
Graham Leggett [Mon, 11 Oct 2010 23:23:57 +0000 (23:23 +0000)]
Use the more popular spelling variant.

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

13 years agoFix the lookup of the per-directory cache config, we were looking up the
Graham Leggett [Mon, 11 Oct 2010 23:21:14 +0000 (23:21 +0000)]
Fix the lookup of the per-directory cache config, we were looking up the
per-server config instead.

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

13 years agoTag ZLIB_DLL, to slightly optimize the run time symbol resolver.
William A. Rowe Jr [Mon, 11 Oct 2010 21:57:46 +0000 (21:57 +0000)]
Tag ZLIB_DLL, to slightly optimize the run time symbol resolver.

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

13 years agoEliminate nonportable cruft
William A. Rowe Jr [Mon, 11 Oct 2010 21:54:26 +0000 (21:54 +0000)]
Eliminate nonportable cruft

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

13 years agoCaution against using non-regex ProxyPass inside of a <LocationMatch> container.
Eric Covener [Mon, 11 Oct 2010 19:12:13 +0000 (19:12 +0000)]
Caution against using non-regex ProxyPass inside of a <LocationMatch> container.
PR#50048

Submitted By: Luke Meyer
Reviewed By: Eric Covener

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

13 years agoMention that the required ThreadStackSize depends on the modules loaded.
Stefan Fritsch [Fri, 8 Oct 2010 19:16:35 +0000 (19:16 +0000)]
Mention that the required ThreadStackSize depends on the modules loaded.
Instead of recommending a value, recommend not to reduce it unless necessary.

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

13 years agoDocument that a ThreadStackSize of 128K or lower will crash on Linux and
Stefan Fritsch [Thu, 7 Oct 2010 17:13:17 +0000 (17:13 +0000)]
Document that a ThreadStackSize of 128K or lower will crash on Linux and
recommend at least 200K

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

13 years agoFix typo concerning mod_proxy_scgi activation on
Rainer Jung [Thu, 7 Oct 2010 10:11:37 +0000 (10:11 +0000)]
Fix typo concerning mod_proxy_scgi activation on
Windows.

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

13 years agoadd %v and %V to ErrorLogFormat
Stefan Fritsch [Wed, 6 Oct 2010 19:14:44 +0000 (19:14 +0000)]
add %v and %V to ErrorLogFormat

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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