]> granicus.if.org Git - apache/log
apache
14 years agoTake a slightly less "you broke it!!" tone in the default 500 Internal
Rich Bowen [Fri, 22 Oct 2010 20:03:22 +0000 (20:03 +0000)]
Take a slightly less "you broke it!!" tone in the default 500 Internal
Server Error default error message. (Bug #50145)

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

14 years agoFix an inline variable declaration.
Graham Leggett [Fri, 22 Oct 2010 00:46:39 +0000 (00:46 +0000)]
Fix an inline variable declaration.

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

14 years agomod_proxy: Optimise ProxyPass within a Location so that it is stored
Graham Leggett [Fri, 22 Oct 2010 00:13:45 +0000 (00:13 +0000)]
mod_proxy: Optimise ProxyPass within a Location so that it is stored
per-directory, and chosen during the location walk. Make ProxyPass
work correctly from within a LocationMatch.

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

14 years agoBe compliant with RFC2616 14.46, revalidation failed is Warning 111, not
Graham Leggett [Thu, 21 Oct 2010 23:00:09 +0000 (23:00 +0000)]
Be compliant with RFC2616 14.46, revalidation failed is Warning 111, not
Warning 110.

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

14 years agoUpdate a per-dir example that's meant to show looping and the L flag.
Eric Covener [Wed, 20 Oct 2010 21:00:49 +0000 (21:00 +0000)]
Update a per-dir example that's meant to show looping and the L flag.
* add a RewriteBase
* REQUEST_URI doesn't have the RewriteBase stripped from it, so fix the test comparison.
* rewrite to absolute URI and use PT flag so the rule is somewhat applicable to per-vh context

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

14 years agoAvoid unnecessariy initialisation before we test mod_cgid's handler name.
Graham Leggett [Wed, 20 Oct 2010 20:21:35 +0000 (20:21 +0000)]
Avoid unnecessariy initialisation before we test mod_cgid's handler name.

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

14 years agoBe extra careful to only pass the main server config to
Stefan Fritsch [Wed, 20 Oct 2010 19:53:57 +0000 (19:53 +0000)]
Be extra careful to only pass the main server config to
ap_find_loaded_module_symbol. Fixes a segfault when using per-module
LogLevel on virtual host scope.

PR: 50117

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

14 years agoOptimise the set flags in the mod_proxy structures.
Graham Leggett [Wed, 20 Oct 2010 19:47:00 +0000 (19:47 +0000)]
Optimise the set flags in the mod_proxy structures.

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

14 years agomod_proxy: Move the ProxyErrorOverride directive to have per directory scope.
Graham Leggett [Wed, 20 Oct 2010 18:33:55 +0000 (18:33 +0000)]
mod_proxy: Move the ProxyErrorOverride directive to have per directory scope.

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

14 years agoRPM spec file: wait up to 10 seconds for httpd to kill child processes.
Graham Leggett [Wed, 20 Oct 2010 18:22:12 +0000 (18:22 +0000)]
RPM spec file: wait up to 10 seconds for httpd to kill child processes.

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

14 years agoFixed c&p error.
Guenter Knauf [Wed, 20 Oct 2010 11:34:00 +0000 (11:34 +0000)]
Fixed c&p error.

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

14 years agoNetWare build tweaks.
Guenter Knauf [Wed, 20 Oct 2010 11:30:39 +0000 (11:30 +0000)]
NetWare build tweaks.

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

14 years agoRemoved leftover from 2.0.x.
Guenter Knauf [Wed, 20 Oct 2010 11:08:35 +0000 (11:08 +0000)]
Removed leftover from 2.0.x.

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

14 years agoAdded header include for getpid() prototype on Win32.
Guenter Knauf [Wed, 20 Oct 2010 11:03:01 +0000 (11:03 +0000)]
Added header include for getpid() prototype on Win32.

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

14 years agoSome minor fixes to provide protos and build with Watcom.
Guenter Knauf [Wed, 20 Oct 2010 10:57:28 +0000 (10:57 +0000)]
Some minor fixes to provide protos and build with Watcom.

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

14 years agoSimplify the initialisation before mod_env's fixup.
Graham Leggett [Tue, 19 Oct 2010 23:46:29 +0000 (23:46 +0000)]
Simplify the initialisation before mod_env's fixup.

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

14 years agoAvoid unnecessariy initialisation before we test mod_info's handler name.
Graham Leggett [Tue, 19 Oct 2010 23:26:30 +0000 (23:26 +0000)]
Avoid unnecessariy initialisation before we test mod_info's handler name.

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

14 years agoAvoid unnecessariy initialisation before we test mod_asis's handler name.
Graham Leggett [Tue, 19 Oct 2010 23:17:09 +0000 (23:17 +0000)]
Avoid unnecessariy initialisation before we test mod_asis's handler name.

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

14 years agoAvoid unnecessariy initialisation before we test mod_status's handler name.
Graham Leggett [Tue, 19 Oct 2010 23:11:58 +0000 (23:11 +0000)]
Avoid unnecessariy initialisation before we test mod_status's handler name.

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

14 years agoAvoid unnecessariy initialisation before we test mod_cgi's handler name.
Graham Leggett [Tue, 19 Oct 2010 23:07:25 +0000 (23:07 +0000)]
Avoid unnecessariy initialisation before we test mod_cgi's handler name.

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

14 years agoAvoid unnecessariy initialisation before we test auth_form handler names.
Graham Leggett [Tue, 19 Oct 2010 23:02:06 +0000 (23:02 +0000)]
Avoid unnecessariy initialisation before we test auth_form handler names.

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

14 years agoAvoid unnecessariy initialisation before we test ldap-status handler name.
Graham Leggett [Tue, 19 Oct 2010 22:53:41 +0000 (22:53 +0000)]
Avoid unnecessariy initialisation before we test ldap-status handler name.

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

14 years agoAvoid unnecessariy initialisation before we test handler name.
Graham Leggett [Tue, 19 Oct 2010 22:48:38 +0000 (22:48 +0000)]
Avoid unnecessariy initialisation before we test handler name.

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

14 years agoFix spelling of the handler.
Graham Leggett [Tue, 19 Oct 2010 22:40:15 +0000 (22:40 +0000)]
Fix spelling of the handler.

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

14 years agoAvoid unnecessariy initialisation before we test handler name.
Graham Leggett [Tue, 19 Oct 2010 22:39:30 +0000 (22:39 +0000)]
Avoid unnecessariy initialisation before we test handler name.

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

14 years agoSet the LogLevel of a newly initialized virtual hosts to UNSET. Otherwise
Stefan Fritsch [Tue, 19 Oct 2010 21:53:38 +0000 (21:53 +0000)]
Set the LogLevel of a newly initialized virtual hosts to UNSET. Otherwise
it will not be correctly merged in ap_fixup_virtual_hosts().

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

14 years agoRemind "Contributors looking for a mission" that the docs always need a
Rich Bowen [Tue, 19 Oct 2010 19:51:42 +0000 (19:51 +0000)]
Remind "Contributors looking for a mission" that the docs always need a
lot of work.

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

14 years agoWith rotatelogs -v, on platforms where APR_FINFO_NAME is not implemented,
Daniel Earl Poirier [Tue, 19 Oct 2010 18:57:31 +0000 (18:57 +0000)]
With rotatelogs -v, on platforms where APR_FINFO_NAME is not implemented,
the verbose printf for closing the file never occurred because apr_file_info_get()
always returned APR_INCOMPLETE.  Fix that so we still get a printf with the
information we get back.

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

14 years agoActually bump MMN for:
Stefan Fritsch [Tue, 19 Oct 2010 18:56:34 +0000 (18:56 +0000)]
Actually bump MMN for:
 * 20101017.0 (2.3.9-dev)  Make ap_cache_control() public, add cache_control_t
 *                         to mod_disk_cache format.

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

14 years agorevert r1023227 as discussed on httpd-dev:
Stefan Fritsch [Tue, 19 Oct 2010 17:44:36 +0000 (17:44 +0000)]
revert r1023227 as discussed on httpd-dev:

    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@1024337 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdate transforms
Daniel Earl Poirier [Tue, 19 Oct 2010 15:16:49 +0000 (15:16 +0000)]
Update transforms

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

14 years agoAdd warning about using rotatelogs filename formats with not
Daniel Earl Poirier [Tue, 19 Oct 2010 15:12:11 +0000 (15:12 +0000)]
Add warning about using rotatelogs filename formats with not
enough granularity.  PR46318.

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

14 years agoTrivial typo: s/This modules/This module/
Daniel Earl Poirier [Tue, 19 Oct 2010 14:56:30 +0000 (14:56 +0000)]
Trivial typo: s/This modules/This module/

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

14 years agoFix compiler warning in maintainer-mode
Stefan Fritsch [Mon, 18 Oct 2010 21:28:59 +0000 (21:28 +0000)]
Fix compiler warning in maintainer-mode

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

14 years agomember ssl_expr_node->p is unused, remove it
Stefan Fritsch [Mon, 18 Oct 2010 21:27:50 +0000 (21:27 +0000)]
member ssl_expr_node->p is unused, remove it

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

14 years agoBe more efficient when handling the Expires header.
Graham Leggett [Mon, 18 Oct 2010 19:11:10 +0000 (19:11 +0000)]
Be more efficient when handling the Expires header.

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

14 years agoRemove the remove_url filter consistently for both the ap_die() and the
Graham Leggett [Mon, 18 Oct 2010 19:04:21 +0000 (19:04 +0000)]
Remove the remove_url filter consistently for both the ap_die() and the
mod_proxy cases.

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

14 years agoFix compilation of htcacheclean with enable-maintainer-mode / AP_DEBUG
Stefan Fritsch [Mon, 18 Oct 2010 18:33:49 +0000 (18:33 +0000)]
Fix compilation of htcacheclean with enable-maintainer-mode / AP_DEBUG

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

14 years agoFixes a handful of xml validation errors.
Rich Bowen [Mon, 18 Oct 2010 15:47:18 +0000 (15:47 +0000)]
Fixes a handful of xml validation errors.

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

14 years agoAdd teensy clarification to the introductory paragraph for the
Rich Bowen [Mon, 18 Oct 2010 15:26:57 +0000 (15:26 +0000)]
Add teensy clarification to the introductory paragraph for the
ServerName directive.

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

14 years agoApparently we hadn't done a ./build all convmap in a while
William A. Rowe Jr [Mon, 18 Oct 2010 14:57:06 +0000 (14:57 +0000)]
Apparently we hadn't done a ./build all convmap in a while

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

14 years agoMake sure OCSP Stapling Mutex is initiliased if we need it.
Stephen Henson [Mon, 18 Oct 2010 14:45:19 +0000 (14:45 +0000)]
Make sure OCSP Stapling Mutex is initiliased if we need it.
PR 49498

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

14 years agoPlenty of typos, it appears
William A. Rowe Jr [Mon, 18 Oct 2010 14:32:55 +0000 (14:32 +0000)]
Plenty of typos, it appears

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

14 years agoKill xml flaw, what a nice opportunity for a precommit check :)
William A. Rowe Jr [Mon, 18 Oct 2010 14:30:38 +0000 (14:30 +0000)]
Kill xml flaw, what a nice opportunity for a precommit check :)

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

14 years agoAllowCONNECT has been moved from mod_proxy to
Rainer Jung [Mon, 18 Oct 2010 13:30:41 +0000 (13:30 +0000)]
AllowCONNECT has been moved from mod_proxy to
mod_proxy_connect. Remove obsolete and broken link.
Directive is already documented on this page.

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

14 years agoFix stupid typos.
Stephen Henson [Sun, 17 Oct 2010 17:52:38 +0000 (17:52 +0000)]
Fix stupid typos.

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

14 years agoOptimise the configuration structures for mod_disk_cache.
Graham Leggett [Sun, 17 Oct 2010 16:58:11 +0000 (16:58 +0000)]
Optimise the configuration structures for mod_disk_cache.

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

14 years agoOptimise the configuration structures for mod_cache.
Graham Leggett [Sun, 17 Oct 2010 16:52:16 +0000 (16:52 +0000)]
Optimise the configuration structures for mod_cache.

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

14 years agoAvoid use of deprecated RSA_generate_key() function.
Stephen Henson [Sun, 17 Oct 2010 16:30:13 +0000 (16:30 +0000)]
Avoid use of deprecated RSA_generate_key() function.

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

14 years agoUpdate.
Lucien Gentis [Sun, 17 Oct 2010 16:24:13 +0000 (16:24 +0000)]
Update.

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

14 years agoUpdate.
Lucien Gentis [Sun, 17 Oct 2010 13:01:01 +0000 (13:01 +0000)]
Update.

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

14 years agoUpdate.
Lucien Gentis [Sun, 17 Oct 2010 12:51:39 +0000 (12:51 +0000)]
Update.

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

14 years agoUpdate.
Lucien Gentis [Sun, 17 Oct 2010 12:49:24 +0000 (12:49 +0000)]
Update.

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

14 years agoUpdate.
Lucien Gentis [Sun, 17 Oct 2010 12:28:11 +0000 (12:28 +0000)]
Update.

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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