]>
granicus.if.org Git - apache/log
Dirk-Willem van Gulik [Thu, 17 Apr 2008 16:37:24 +0000 (16:37 +0000)]
Centralize hop-by-hop header handling in the disk caching code. Note that 'out' now has actual out semantics; hence the change in headers_in.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649176
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 17 Apr 2008 16:24:16 +0000 (16:24 +0000)]
and make mod_proxy_fcgi also nocanon aware
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649170
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 17 Apr 2008 16:22:36 +0000 (16:22 +0000)]
Make mod_proxy_ajp aware of the nocanon envvar
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649169
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 17 Apr 2008 16:03:35 +0000 (16:03 +0000)]
Meta-file link fix courtesy of Takashi Sato
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649163
13f79535 -47bb-0310-9956-
ffa450edef68
Dirk-Willem van Gulik [Thu, 17 Apr 2008 16:03:13 +0000 (16:03 +0000)]
Currently each of the caching module includes logic to implement
the hop-by-hop rules of rfc 2616 along with the entity response
rules. To make sure that they stay in sync; and to make it easier
to add (http) caching modules - this change moves them all into
one place (cache_util) and exposes a in-bound and out-bound
version to operate on the headers.
In short: we retire ap_cache_cacheable_hdrs_out() which was used
for both in- and out-put headers; and replace it by a single
ap_cache_cacheable_headers() which understands the hop-by-hop
rules. And then wrap this into an in- and out-put specific
ap_cache_cacheable_headers_in()/out() which we can teach things
about entity responses and so on.. The latter which will also
merge error and ensure content-type.
This API change bumps up the minor MM by one.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649162
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 17 Apr 2008 14:12:13 +0000 (14:12 +0000)]
All backported to 2.2.9-dev now
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649121
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Thu, 17 Apr 2008 14:03:14 +0000 (14:03 +0000)]
Ensure that the REMOTE_USER variable is correctly written when the user
has been authenticated from a session.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649113
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Thu, 17 Apr 2008 14:01:21 +0000 (14:01 +0000)]
Be defensive to ensure no segfault should the session entries table
not be initialised.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649111
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Thu, 17 Apr 2008 13:59:51 +0000 (13:59 +0000)]
Fix the optional declarations so that the modules will build clean in
a mod_so environment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649109
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 17 Apr 2008 12:58:47 +0000 (12:58 +0000)]
Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649077
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 17 Apr 2008 12:56:18 +0000 (12:56 +0000)]
Replace reference to obsolete RFC. Submitted by: Igor Galić.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649076
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 17 Apr 2008 11:20:07 +0000 (11:20 +0000)]
* modules/session/config.m4: Have --disable-session disable mod_session_*
also.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649054
13f79535 -47bb-0310-9956-
ffa450edef68
Dirk-Willem van Gulik [Thu, 17 Apr 2008 10:33:00 +0000 (10:33 +0000)]
Incorperate feedback/requests for a bit more flexibility: 1)allow any domain and IP address for the SNI demonstration and 2) make the index.html sample files a bit easier to recognize.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649043
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Pepper [Thu, 17 Apr 2008 04:13:22 +0000 (04:13 +0000)]
General cleanup of rewrite guide.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@648946
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Pepper [Thu, 17 Apr 2008 04:11:27 +0000 (04:11 +0000)]
Typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@648945
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Wed, 16 Apr 2008 04:02:57 +0000 (04:02 +0000)]
remove const on socache module declarations to avoid segfault in
ap_setup_prelinked_modules() when modules linked in at compile time
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@648499
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Tue, 15 Apr 2008 18:40:15 +0000 (18:40 +0000)]
Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@648370
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Tue, 15 Apr 2008 18:39:14 +0000 (18:39 +0000)]
Numerous typo fixes courtesy of Luciene Gentis
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@648368
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Tue, 15 Apr 2008 13:53:32 +0000 (13:53 +0000)]
Move the public mod_request.h header out of the include directory and back to modules/filters.
The current build of exports.c assumes that everything in include is part of the core, and so
putting the header there creates link errors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@648254
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Sun, 13 Apr 2008 22:22:14 +0000 (22:22 +0000)]
enabled Perl CGIs by default.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647637
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sun, 13 Apr 2008 18:09:53 +0000 (18:09 +0000)]
Remove superannuated translations as pointed out by Takashi Sato
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647598
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 13 Apr 2008 17:38:03 +0000 (17:38 +0000)]
drop upgrading.xml.de as its outdated too much.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647593
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sun, 13 Apr 2008 16:39:49 +0000 (16:39 +0000)]
Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647585
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sun, 13 Apr 2008 16:35:17 +0000 (16:35 +0000)]
Typo fix courtesy of Luciene Gentis
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647584
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sat, 12 Apr 2008 11:14:08 +0000 (11:14 +0000)]
Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647426
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sat, 12 Apr 2008 11:08:12 +0000 (11:08 +0000)]
Minor grammar fix (s/not accessible/inaccessible/)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647424
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 12 Apr 2008 08:44:36 +0000 (08:44 +0000)]
* Allow Cookie option to set secure and HttpOnly flags
PR: 44799
Submitted by: Christian Wenz <christian wenz.org>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647395
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Fri, 11 Apr 2008 18:41:53 +0000 (18:41 +0000)]
Move the KeptBodySize directive, kept_body filters and the
ap_parse_request_body function out of the http module and into a
new module called mod_request, reducing the size of the core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@647263
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Thu, 10 Apr 2008 20:24:42 +0000 (20:24 +0000)]
Fix socache modules' APACHE_MODULE() definitions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646945
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 10 Apr 2008 15:33:05 +0000 (15:33 +0000)]
rotatelogs: Log the current file size and error code/description
when failing to write to the log file.
Sometimes users have a hard time believing that their little log
file was really big enough to reach quota/filesystem/other limit
back at the time of the error.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646845
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Wed, 9 Apr 2008 22:49:31 +0000 (22:49 +0000)]
Move the initialization of rebind to the post_config handler so that it is done during the actual module load stage rather than the preload stage. If done during the preload stage, the pool passed into the initialization function will be cleared and all allocations will be freed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646582
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Wed, 9 Apr 2008 18:01:53 +0000 (18:01 +0000)]
Handle integer configuration directive parameters with a dedicated
function, akin to dbd_param_flag(). Only needed when APR_HAS_THREADS.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646453
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Wed, 9 Apr 2008 17:25:33 +0000 (17:25 +0000)]
Let each consumer of authn providers redefine the list_provider_names
callback in case they are loaded individually without mod_authn_core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646445
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 9 Apr 2008 16:13:02 +0000 (16:13 +0000)]
* modules/cache/ap_socache.h: Doxify.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646415
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Wed, 9 Apr 2008 13:15:44 +0000 (13:15 +0000)]
Add the LastChangedRevision keyword.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646330
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Wed, 9 Apr 2008 12:46:27 +0000 (12:46 +0000)]
make use of var for output name.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646310
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Wed, 9 Apr 2008 12:43:15 +0000 (12:43 +0000)]
Fixed export list for mod_session.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646308
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Wed, 9 Apr 2008 12:42:26 +0000 (12:42 +0000)]
added mod_auth_form to NetWare build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646307
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Wed, 9 Apr 2008 12:40:14 +0000 (12:40 +0000)]
No var declarations in the middle of the code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646305
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Wed, 9 Apr 2008 12:39:33 +0000 (12:39 +0000)]
Change the directives within the mod_session* modules to be valid
both inside and outside the location/directory sections, as suggested
by wrowe.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646304
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Wed, 9 Apr 2008 12:03:33 +0000 (12:03 +0000)]
Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646294
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Wed, 9 Apr 2008 11:46:46 +0000 (11:46 +0000)]
mod_auth_form: Add a module capable of allowing end users to log
in using an HTML form, storing the credentials within mod_session.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646285
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Wed, 9 Apr 2008 11:39:58 +0000 (11:39 +0000)]
Add a function to the http filters that is able to parse an HTML
form request with the type of application/x-www-form-urlencoded.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646281
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Wed, 9 Apr 2008 02:45:08 +0000 (02:45 +0000)]
oops - checked in wrong makefile.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646182
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Wed, 9 Apr 2008 02:23:48 +0000 (02:23 +0000)]
* Fix eol-style
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646180
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Wed, 9 Apr 2008 02:01:27 +0000 (02:01 +0000)]
added new chache modules to NetWare build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646177
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Tue, 8 Apr 2008 23:12:12 +0000 (23:12 +0000)]
Insert prototypes to remove compiler warnings. [Joe Orton]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646126
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Tue, 8 Apr 2008 19:58:50 +0000 (19:58 +0000)]
added include dir.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646055
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 8 Apr 2008 16:04:12 +0000 (16:04 +0000)]
* modules/cache/mod_socache_dbm.c: Fix some dodgy formatting, thanks rpluem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645984
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 8 Apr 2008 15:47:48 +0000 (15:47 +0000)]
Adjust socache init interface to take sizing hints, and namespace tag
for memcache:
* modules/cache/ap_socache.h (struct ap_socache_hints): New structure.
Change init callback to take namespace string and hints structure pointer.
* modules/cache/mod_socache_dc.c (socache_dc_init): Adjust accordingly.
* modules/cache/mod_socache_dbm.c (struct ap_socache_instance_t): Rename
timeout field to expiry_interval.
(socache_dbm_init, socache_dbm_create): Take expiry interval from
hints rather than hard-code to 30.
(socache_dbm_expire): Update for timeout field rename.
* modules/cache/mod_socache_shmcb.c (socache_shmcb_init): Adjust for
hints and namespace; adjust subcache index sizing heuristics to use
passed-in hints.
* modules/cache/mod_socache_memcache.c (struct ap_socache_instance_t):
Add tag, taglen fields.
(socache_mc_init): Store the passed-in namespace in instance
structure.
(mc_session_id2sz): Adjust to not take context, use configured
tag as string prefix, and not use a return value.
(socache_mc_store, socache_mc_retrieve, socache_mc_remove):
Adjust for mc_session_id2sz interface changes.
* modules/ssl/ssl_scache.c (ssl_scache_init): Pass namespace and hints
to socache provider init function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645978
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Tue, 8 Apr 2008 15:03:29 +0000 (15:03 +0000)]
added session modules to NetWare build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645964
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 8 Apr 2008 14:30:41 +0000 (14:30 +0000)]
Missed in r645940:
* modules/ssl/ssl_scache.c: Switch to using socache constants.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645943
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 8 Apr 2008 14:22:47 +0000 (14:22 +0000)]
* modules/ssl/ssl_engine_config.c: Remove unused macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645941
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 8 Apr 2008 14:21:24 +0000 (14:21 +0000)]
Session cache interface redesign, Part 9:
Switch mod_ssl to use the ap_socache interface.
* modules/ssl/ssl_scache_shmcb.c, modules/ssl/ssl_scache_memcache.c,
modules/ssl/ssl_scache_dc.c, modules/ssl/ssl_scache_dbm.c: Remove
files.
* modules/ssl/mod_ssl.c (modssl_register_scache): Remove function.
* modules/ssl/ssl_private.h: Remove modssl_sesscache_provider etc.
(SSLModConfigRec): Switch to using socache types.
* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLSessionCache): Switch to
use socache provider.
* modules/ssl/ssl_engine_mutex.c, modules/ssl/ssl_scache.c: Switch to
using socache constants.
* modules/ssl/config.m4: Drop distache/memcache configuration, remove
old objects.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645940
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 8 Apr 2008 14:09:03 +0000 (14:09 +0000)]
* Fix eol-style
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645933
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Tue, 8 Apr 2008 14:07:35 +0000 (14:07 +0000)]
added eol-style property to makefiles.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645931
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Tue, 8 Apr 2008 14:02:49 +0000 (14:02 +0000)]
added makefiles for NetWare.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645930
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Tue, 8 Apr 2008 14:01:49 +0000 (14:01 +0000)]
No var declarations in the middle of the code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645929
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 8 Apr 2008 13:49:52 +0000 (13:49 +0000)]
* modules/cache/ap_socache.h: Add ap_socache_instance_t object type.
Adjust the provider interface to use this instance type throughout.
* modules/cache/mod_socache_dbm.c,
modules/cache/mod_socache_memcache.c,
modules/cache/mod_socache_shmcb.c,
modules/cache/mod_socache_dc.c: Adjust all implementations to
define the instance object in place of the "struct context", and
to take this object directly in the provider interface.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645924
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 8 Apr 2008 13:49:49 +0000 (13:49 +0000)]
* Fix eol-style property.
Changes to mod_session.c only fix line endings again. No functional
changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645923
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Tue, 8 Apr 2008 12:59:04 +0000 (12:59 +0000)]
Add util_cookies.c and .h to the netware build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645889
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Stevenson [Tue, 8 Apr 2008 12:48:43 +0000 (12:48 +0000)]
Patch from Takashi Sato. Cheers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645883
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Stevenson [Tue, 8 Apr 2008 12:41:33 +0000 (12:41 +0000)]
Patch from Takashi Sato
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645880
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Tue, 8 Apr 2008 12:32:50 +0000 (12:32 +0000)]
No var declarations in the middle of the code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645877
13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Tue, 8 Apr 2008 12:30:05 +0000 (12:30 +0000)]
NO var declarations in the middle of the code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645875
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 8 Apr 2008 11:44:03 +0000 (11:44 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645862
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 8 Apr 2008 11:32:58 +0000 (11:32 +0000)]
drop wrong LastChangedRevsion
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645858
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 8 Apr 2008 11:28:23 +0000 (11:28 +0000)]
let subversion set the lastchangedrevision
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645857
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 8 Apr 2008 10:47:04 +0000 (10:47 +0000)]
Session cache interface redesign, Part 8:
Abstract out the mod_ssl session caching interface into a separate set
of modules, mod_socache_*.
* modules/cache/ap_socache.h: New file.
* modules/cache/config.m4: Copy CHECK_DISTCACHE from ../ssl/config.m4;
add new socache modules.
* modules/cache/mod_socache_dbm.c: Copied from ../ssl/ssl_scache_dbm.c.
s/ssl_scache_/socache_/; add module structure and register_hooks.
* modules/cache/mod_socache_shmcb.c: Copied from ../ssl/ssl_scache_shmcb.c.
s/ssl_scache_/socache_/; add module structure and register_hooks.
Add SHMCB_MAX_SIZE definition, replacing APR_SHM_MAXSIZE.
* modules/cache/mod_socache_memcache.c: Copied from
../ssl/ssl_scache_memcache.c.
s/ssl_scache_/socache_/; add module structure and register_hooks.
Enable for APR-Util 1.3.x at compile-time, omitting configure-time
checks.
* modules/cache/mod_socache_dc.c: Copied from ../ssl/ssl_scache_dc.c.
s/ssl_scache_/socache_/; add module structure and register_hooks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645844
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 8 Apr 2008 09:49:13 +0000 (09:49 +0000)]
* In the case that we fail to read the response line from the backend and if
we are a reverse proxy request shutdown the connection WITHOUT ANY response
to trigger a retry by the client if allowed (as for idempotent requests).
BUT currently we should not do this if the request is the first request on
a keepalive connection as browsers like seamonkey only display an empty page
in this case and do not do a retry.
Related to PR 37770
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645813
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 8 Apr 2008 09:25:57 +0000 (09:25 +0000)]
Use what we have. This logic belongs here anyway...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645807
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Stevenson [Mon, 7 Apr 2008 20:50:11 +0000 (20:50 +0000)]
Follow on updates from r645667
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645681
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Stevenson [Mon, 7 Apr 2008 20:47:51 +0000 (20:47 +0000)]
Additional changes from r645667
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645679
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Stevenson [Mon, 7 Apr 2008 20:46:18 +0000 (20:46 +0000)]
Commit the update meta files for r645667
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645677
13f79535 -47bb-0310-9956-
ffa450edef68
Tony Stevenson [Mon, 7 Apr 2008 20:34:51 +0000 (20:34 +0000)]
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645667
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 7 Apr 2008 17:26:22 +0000 (17:26 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_filter_error): Remove "fish",
left for debugging purposes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645623
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Mon, 7 Apr 2008 16:32:41 +0000 (16:32 +0000)]
Make sure the mod_session.h public header is exported correctly to the rest of the server.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645597
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 7 Apr 2008 16:03:49 +0000 (16:03 +0000)]
Clean up some more error handling in mod_ssl:
* modules/ssl/ssl_engine_io.c (ssl_filter_io_shutdown): Remove
redundant return value (which was always success).
(ssl_io_filter_handshake): Return APR_ECONNABORTED on handshake
failure, rather than success.
(ssl_io_filter_output): Ignore ssl_filter_io_shutdown return
value.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645584
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 7 Apr 2008 15:38:19 +0000 (15:38 +0000)]
backported r645569
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645570
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Mon, 7 Apr 2008 15:06:42 +0000 (15:06 +0000)]
Add major bump for removing ap_graceful_stop_signalled
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645551
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 7 Apr 2008 15:05:14 +0000 (15:05 +0000)]
Clean up some error handling in mod_ssl:
* modules/ssl/ssl_engine_io.c: Define new error codes in the APR status
code range, MODSSL_ERROR_BAD_GATEWAY and MODSSL_ERROR_HTTP_ON_HTTPS;
use these HTTP_* constants directly as apr_status_t values.
(ssl_io_filter_error): Use new constants.
(ssl_io_filter_handshake): Return purely an APR status value rather
than a mixture of HTTP_* constants, OpenSSL error codes, and APR
status values.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645549
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 7 Apr 2008 14:31:09 +0000 (14:31 +0000)]
* server/main.c: Unbreak the build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645540
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 7 Apr 2008 13:14:37 +0000 (13:14 +0000)]
* modules/http/http_protocol.c (is_mpm_running): Fix warning with
gcc -Wall.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645497
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 7 Apr 2008 12:09:02 +0000 (12:09 +0000)]
* include/http_request.h: Fix warning with gcc -Wall.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645472
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Mon, 7 Apr 2008 10:45:43 +0000 (10:45 +0000)]
Remove all references to CORE_PRIVATE.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645455
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Mon, 7 Apr 2008 10:00:32 +0000 (10:00 +0000)]
Remove ap_graceful_stop_signalled from all MPMs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645437
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Mon, 7 Apr 2008 09:53:58 +0000 (09:53 +0000)]
Remove calls to ap_graceful_stop_signalled, and replace by using ap_mpm_query
to determine if the MPM is trying to stop the process.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645434
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Mon, 7 Apr 2008 09:52:18 +0000 (09:52 +0000)]
Include http_config.h from http_core, since now without CORE_PRIVATE, you need
the definition for the module type.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645432
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Mon, 7 Apr 2008 08:44:14 +0000 (08:44 +0000)]
Remove CORE_PRIVATE.
This define serves no modern purpose, since every module in the wild, including
our own define it, for no purpose.
If you have functions which you do not want in the 'public' API, put them
in a private header, that is not installed, just like mod_ssl does.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645412
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Mon, 7 Apr 2008 06:28:50 +0000 (06:28 +0000)]
Make it compile on pre-C99 compilers (Move decls to beginning of func)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645395
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Mon, 7 Apr 2008 06:14:31 +0000 (06:14 +0000)]
Tweaking code to compile on pre-C99 compilers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645392
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Mon, 7 Apr 2008 06:08:11 +0000 (06:08 +0000)]
Another typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645390
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Mon, 7 Apr 2008 06:01:54 +0000 (06:01 +0000)]
Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645388
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sun, 6 Apr 2008 14:40:34 +0000 (14:40 +0000)]
Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645247
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sun, 6 Apr 2008 14:39:05 +0000 (14:39 +0000)]
Fix link to authnz_db_foo
Submitted by: Takashi Sato
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645246
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Sun, 6 Apr 2008 14:23:35 +0000 (14:23 +0000)]
mod_session_crypto: Initialise SSL in the post config hook.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645244
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Sun, 6 Apr 2008 14:05:27 +0000 (14:05 +0000)]
Fix the defaults, which currently override the config instead of default the config.
[Ruediger Pluem]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645243
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 6 Apr 2008 00:46:42 +0000 (00:46 +0000)]
If you study all of the directive implementations, you'll note
that we get less than 20% of the NOT_IN_LIMIT rules correct.
<Limit > works in about 4 directive contexts and yet, we ignore
this fact for 100's of directives. Simply eliminate this
nonsense in anticipation of a 100% solution.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645190
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 6 Apr 2008 00:42:21 +0000 (00:42 +0000)]
If you study all of the directive implementations, you'll note
that we get less than 20% of the NOT_IN_LIMIT rules correct.
<Limit > works in about 4 directive contexts and yet, we ignore
this fact for 100's of directives. Simply eliminate this
nonsense in anticipation of a 100% solution.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645189
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Sat, 5 Apr 2008 23:52:38 +0000 (23:52 +0000)]
Optimisation: We have no need to distiguish between a Cookie and a Cookie2 when reading cookies, the
cookie read code reads both at once. [Ruediger Pluem]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645188
13f79535 -47bb-0310-9956-
ffa450edef68