]> granicus.if.org Git - apache/log
apache
13 years agoOptimise more of the flags within proxy structures.
Graham Leggett [Sat, 23 Oct 2010 19:34:16 +0000 (19:34 +0000)]
Optimise more of the flags within proxy structures.

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

13 years agomod_proxy: Release the backend connection as soon as EOS is detected,
Graham Leggett [Sat, 23 Oct 2010 19:26:44 +0000 (19:26 +0000)]
mod_proxy: Release the backend connection as soon as EOS is detected,
so the backend isn't forced to wait for the client to eventually
acknowledge the data.

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

13 years agomore temp pool usage and remove some useless apr_pstrdup()s
Stefan Fritsch [Sat, 23 Oct 2010 18:35:06 +0000 (18:35 +0000)]
more temp pool usage and remove some useless apr_pstrdup()s

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

13 years agouse temp pool in some more places
Stefan Fritsch [Sat, 23 Oct 2010 18:06:49 +0000 (18:06 +0000)]
use temp pool in some more places

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

13 years agoClarify usage of ap_pregcomp/ap_pregfree
Stefan Fritsch [Sat, 23 Oct 2010 16:38:03 +0000 (16:38 +0000)]
Clarify usage of ap_pregcomp/ap_pregfree

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

13 years agouse temp_pool for version parsing, to save some memory
Stefan Fritsch [Sat, 23 Oct 2010 16:27:52 +0000 (16:27 +0000)]
use temp_pool for version parsing, to save some memory

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

13 years agoRemove needless pool cleanup. ap_pregcomp already registers a cleanup for the
Stefan Fritsch [Sat, 23 Oct 2010 16:20:10 +0000 (16:20 +0000)]
Remove needless pool cleanup. ap_pregcomp already registers a cleanup for the
regex.

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

13 years agoUpdates.
Lucien Gentis [Sat, 23 Oct 2010 16:02:06 +0000 (16:02 +0000)]
Updates.

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

13 years agomod_cache: Respect the original Cache-Control header if no header arrives
Graham Leggett [Sat, 23 Oct 2010 14:11:20 +0000 (14:11 +0000)]
mod_cache: Respect the original Cache-Control header if no header arrives
with a 304 Not Modified.

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

13 years agomod_disk_cache: Make sure we step down cleanly when we've ben configured
Graham Leggett [Sat, 23 Oct 2010 12:36:23 +0000 (12:36 +0000)]
mod_disk_cache: Make sure we step down cleanly when we've ben configured
to cache but haven't set a CacheRoot.

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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