]>
granicus.if.org Git - apache/log
Stefan Fritsch [Wed, 14 Jul 2010 19:59:31 +0000 (19:59 +0000)]
The approach for allowing authorization by user or IP introduced in r956387,
etc. causes problems because the authentication module calls
note_*_auth_failure if authentication fails. This is inappropriate if access is
later allowed because of the IP.
So, instead of calling the auth_checker hook even if authentication failed, we
introduce a new access_checker_ex hook that runs between the access_checker and
the check_user_id hooks. If an access_checker_ex functions returns OK, the
request will be allowed without authentication.
To make use of this, change mod_authz_core to walk the require blocks in the
access_checker_ex phase and deny/allow the request if the authz result does not
depend on an authenticated user. To distinguish a real AUTHZ_DENIED from an
authz provider from an authz provider needing an authenticated user, the latter
must return the new AUTHZ_DENIED_NO_USER code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964156
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Wed, 14 Jul 2010 16:03:19 +0000 (16:03 +0000)]
Allow for modules to keep track of worker slot
numbers themselves if they want, by allowing for
worker create/alloc functions to take a slot number id.
Done via _wid() variants of 3 proxy funcs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964089
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 13 Jul 2010 20:57:13 +0000 (20:57 +0000)]
- add some trace logging
- move comment to correct location
- redirect temporarily instead of permanently to avoid potential problems
with browser caches
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@963860
13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 11 Jul 2010 14:50:13 +0000 (14:50 +0000)]
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@963084
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 11 Jul 2010 12:07:51 +0000 (12:07 +0000)]
Improve trace logging of sent response:
- log response status
- log Date and Server headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@963057
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 11 Jul 2010 02:54:30 +0000 (02:54 +0000)]
follow up to r930125
change log message when forcing worker into error state:
* APLOG_ERR instead of unsuppressible APLOG_NOTICE
* follow formatting of existing proxy messages more closely
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@962972
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 11 Jul 2010 00:43:35 +0000 (00:43 +0000)]
generated docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@962961
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 11 Jul 2010 00:34:30 +0000 (00:34 +0000)]
fix broken stylesheet path
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@962958
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 6 Jul 2010 20:11:30 +0000 (20:11 +0000)]
Fix segfault
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@961004
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 5 Jul 2010 03:38:01 +0000 (03:38 +0000)]
Add a note about problem noted in PR 48652
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960431
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 4 Jul 2010 21:16:53 +0000 (21:16 +0000)]
Introduce note_auth_failure hook to allow modules to add support
for additional auth types. This makes ap_note_auth_failure() work with
mod_auth_digest again.
PR: 48807
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960399
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sat, 3 Jul 2010 17:01:23 +0000 (17:01 +0000)]
Remove superfluous EOL from mod_rewrite logging.
It's no longer needed, since mod_rewrite now uses
our usual error log. The superfluous EOL was logged
as '\n'.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960236
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sat, 3 Jul 2010 16:21:58 +0000 (16:21 +0000)]
Allow to set environment variables using mod_rewrite without
explicitely giving a value.
Most modules only check presence of a variable, not the
value, so it makes sense to make the VAL argument in
the mod_rewrite ENV flag optional.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960233
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sat, 3 Jul 2010 14:27:43 +0000 (14:27 +0000)]
Fix documented syntax for env var setting in mod_rewrite.
Main page is fine, only the flags guide was wrong.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960223
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 2 Jul 2010 18:02:51 +0000 (18:02 +0000)]
Clean iterator call syntax
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960075
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 2 Jul 2010 18:02:27 +0000 (18:02 +0000)]
Fix nasty dbm bug that wasn't expiring records; time() doesn't return apr_time_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960074
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 2 Jul 2010 18:00:26 +0000 (18:00 +0000)]
Clean shmcb iterator call syntax and return value
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960073
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Thu, 1 Jul 2010 06:36:10 +0000 (06:36 +0000)]
actually update the MMN and not only the comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959534
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Wed, 30 Jun 2010 22:34:05 +0000 (22:34 +0000)]
re-order many struct members for better alignment on 64bit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959464
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 30 Jun 2010 22:21:38 +0000 (22:21 +0000)]
authn_socache: if loaded but not configured to do anything,
don't go to the trouble of setting up the cache and mutex.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959460
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 30 Jun 2010 22:02:41 +0000 (22:02 +0000)]
Extra robustness check: don't segfault if no socache provider selected
and there's no compile-time default.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959455
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Wed, 30 Jun 2010 18:09:06 +0000 (18:09 +0000)]
To save memory, make module_levels a vector of chars instead of ints.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959392
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Tue, 29 Jun 2010 23:04:27 +0000 (23:04 +0000)]
Move new_api_2_4 doc to developer docs where it belongs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959136
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 29 Jun 2010 17:00:23 +0000 (17:00 +0000)]
spelling fix for a comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959031
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 28 Jun 2010 21:23:19 +0000 (21:23 +0000)]
Add cacheing to authn_dbd docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958747
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 28 Jun 2010 21:09:44 +0000 (21:09 +0000)]
Add note on cacheing to auth howto
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958741
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 28 Jun 2010 20:57:18 +0000 (20:57 +0000)]
Link to mod_authn_socache in relevant module docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958729
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 28 Jun 2010 20:51:25 +0000 (20:51 +0000)]
Bah. Fix usage example in r958720
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958723
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 28 Jun 2010 20:49:53 +0000 (20:49 +0000)]
Add usage example in docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958720
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 26 Jun 2010 21:28:36 +0000 (21:28 +0000)]
Save some memory by allocating only the required length for conf_vectors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958285
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 26 Jun 2010 18:56:09 +0000 (18:56 +0000)]
Fix syntax error
PR: 49502
Submitted by: n verger txcx com
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958266
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 26 Jun 2010 17:41:01 +0000 (17:41 +0000)]
Stop compressing if we are doing a HEAD request and the content-length filter
can't determine the content-length anyway.
Submitted by: Ruediger Pluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958253
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 26 Jun 2010 00:30:34 +0000 (00:30 +0000)]
Missed the MINOR reset
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958159
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 26 Jun 2010 00:26:01 +0000 (00:26 +0000)]
Introduce an socache iterator 'userctx' for the user to track the
context of their own callback.
Breaks API, but we probably wanted an mmn reset between .6 and .7
betas for unintentional/unnoticed ABI breaks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958157
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 25 Jun 2010 20:13:38 +0000 (20:13 +0000)]
Further normalize initalization stanzas
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958097
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 25 Jun 2010 19:27:24 +0000 (19:27 +0000)]
C99 is not a requirement, fix style violation niq refuses(?) to correct.
Ensures the two initialization stanzas follow the same pattern, which
is goodness, IMHO.
Reviewed by: trawick, wrowe
Submitted by: Norm <normw gknw.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958094
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 25 Jun 2010 19:22:48 +0000 (19:22 +0000)]
Iterator implementations welcome, although mod_socache_memcache will
never gain one, per documentation in the memcached FAQ.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958093
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 25 Jun 2010 19:21:30 +0000 (19:21 +0000)]
Tally replacements seperately from new-stores. Of course the actual
replacement logic doesn't work terribly well right now, as discussed
on list.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958092
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Fri, 25 Jun 2010 14:12:16 +0000 (14:12 +0000)]
Make a start on documenting mod_authn_socache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957958
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Fri, 25 Jun 2010 12:33:34 +0000 (12:33 +0000)]
Disallow setting cache context in .htaccess, lest it be abused for cross-site
or cross-application authn attacks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957918
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Fri, 25 Jun 2010 09:50:24 +0000 (09:50 +0000)]
fix svn props (hopefully)!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957869
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 23 Jun 2010 15:04:57 +0000 (15:04 +0000)]
Fix return values from socache modules when a key is not found in cache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957235
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 23 Jun 2010 13:15:43 +0000 (13:15 +0000)]
expiry is a time, not an interval
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957187
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 23 Jun 2010 07:35:03 +0000 (07:35 +0000)]
Name change: fix incompleteness of r957089
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957129
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 23 Jun 2010 00:24:59 +0000 (00:24 +0000)]
Name change: calling it mod_authn_cache could get confusing, and the
sourceforge module has a prior claim to the name.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957089
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Tue, 22 Jun 2010 23:03:11 +0000 (23:03 +0000)]
Enable authn_cache in the main easy-to-do authn provider modules
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@957072
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Tue, 22 Jun 2010 18:16:16 +0000 (18:16 +0000)]
New module: mod_authn_cache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956966
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Tue, 22 Jun 2010 17:12:44 +0000 (17:12 +0000)]
Support AP_DECLARE_MODULE declaration syntax in apxs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956956
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Tue, 22 Jun 2010 12:49:59 +0000 (12:49 +0000)]
OS/2: Add support for ThreadStackSize.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956863
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Tue, 22 Jun 2010 12:23:13 +0000 (12:23 +0000)]
OS/2 build fix:
Remove use of non-portable apr_get_os_error() and just return APR_ENOMEM if
apr_pcalloc() returns NULL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956860
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Tue, 22 Jun 2010 12:04:03 +0000 (12:04 +0000)]
OS/2: Provide a definition of AP_PLATFORM_REWRITE_ARGS_HOOK.
NULL for now as ap_mpm_rewrite_args()'s -k function doesn't currently work on
OS/2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956859
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Tue, 22 Jun 2010 11:57:51 +0000 (11:57 +0000)]
OS/2: Fix building of more modules that depend on symbols from other modules.
Affected modules are: mod_heartbeat, mod_session_cookie, mod_session_crypto,
mod_session_dbd and mod_disk_cache.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956857
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Tue, 22 Jun 2010 08:48:29 +0000 (08:48 +0000)]
Remove definition of ap_pid_fname from OS/2 MPM. It's now in mpm_common.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956815
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Mon, 21 Jun 2010 23:19:43 +0000 (23:19 +0000)]
updated notes on ap_hook_check_* wrappers and AP_AUTH_INTERNAL_* flags
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956731
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 21 Jun 2010 20:38:16 +0000 (20:38 +0000)]
Update Debian layout to what is actually used
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956686
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 21 Jun 2010 20:34:44 +0000 (20:34 +0000)]
add -X to usage message
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956684
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 21 Jun 2010 18:59:16 +0000 (18:59 +0000)]
Note auth_checker hook change
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956665
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Mon, 21 Jun 2010 10:01:06 +0000 (10:01 +0000)]
Remove comment about removal of OS/2 support
from CHANGES and docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956524
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 20:39:00 +0000 (20:39 +0000)]
ap_note_auth_failure seems to be broken in 2.2.x, too. So this is hardly
a blocker for 2.4.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956413
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 20:26:02 +0000 (20:26 +0000)]
Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956407
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 20:21:08 +0000 (20:21 +0000)]
Fix XML validation issue
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956406
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 20:18:55 +0000 (20:18 +0000)]
Don't apr_pstrdup in ap_auth_type(). It returns const char *, anyway.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956405
13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Earl Poirier [Sun, 20 Jun 2010 19:48:13 +0000 (19:48 +0000)]
First pass at documentation for upgrading to 2.4.
Went through CHANGES and tried to pick out things that would
require a 2.2 user to make changes for 2.4.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956396
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 19:46:54 +0000 (19:46 +0000)]
Don't restore r->user after authn/authz failure. Any authn module that sets
r->user even if authentication failed is broken, anyway.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956395
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 19:15:01 +0000 (19:15 +0000)]
Fix authorization by user or IP/ENV/...
Note ap_note_auth_failure() breakage in STATUS
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956387
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 17:10:25 +0000 (17:10 +0000)]
whitespace/indent fixes
remove a redundant comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956377
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 17:04:34 +0000 (17:04 +0000)]
more pid logging cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956376
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 16:43:23 +0000 (16:43 +0000)]
- add some trace logging
- stop logging the PID explicitly, this is now always done by ap_log_*error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956375
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 20 Jun 2010 16:17:23 +0000 (16:17 +0000)]
More trace logging
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956374
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 19 Jun 2010 14:30:47 +0000 (14:30 +0000)]
put the CHANGES entry under 2.3.7, where it belongs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956228
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 19 Jun 2010 12:36:57 +0000 (12:36 +0000)]
- Add reallyall option to configure to build everything that can be built with
the available libs.
- Remove redundant --with-distcache option. Simply enable distcache if
mod_socache_dc is selected.
- Enable serf support by default if serf is available in /usr.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956221
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 19 Jun 2010 09:28:38 +0000 (09:28 +0000)]
Remove two blockers from the list.
Fixed in r954590, r956202, r956204
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956205
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 19 Jun 2010 09:25:46 +0000 (09:25 +0000)]
core_output_filter improvements:
- prevent more than 5 pipelined responses in the output brigade, to avoid
excessive FD usage and related DoS attacks.
- if non_file_bytes_in_brigade >= THRESHOLD_MAX_BUFFER, don't send the
entire brigade non-blocking, but only up to the bucket that brought us
over THRESHOLD_MAX_BUFFER. This should allow better use of async write
completion.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956204
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sat, 19 Jun 2010 09:10:54 +0000 (09:10 +0000)]
Add deferred write pool to core_output_filter to clean up file descriptors as
soon as the corresponding response has been sent and not only after the
connection has been closed.
This change does not deal with pipelined requests, yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956202
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 18 Jun 2010 17:33:47 +0000 (17:33 +0000)]
update doc for connection pools
* reduce duplication between initial intro and parameter table
* explain that pools are per-process, and limits are not
coordinated server-wide
* minor clarifications & readability tweaks
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956059
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Fri, 18 Jun 2010 12:22:13 +0000 (12:22 +0000)]
* Ensure that we only return a non fatal error if the request is idempotent
and if we did not sent any request body so far.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@955966
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Fri, 18 Jun 2010 08:58:27 +0000 (08:58 +0000)]
Fix typo, sorry for the noise.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@955894
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Fri, 18 Jun 2010 08:44:34 +0000 (08:44 +0000)]
Fix Windows build when using VC6.
Comment character needs to be in column 1.
Submitted by: Gregg L. Smith <lists glewis com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@955888
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 17 Jun 2010 12:34:12 +0000 (12:34 +0000)]
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@955572
13f79535 -47bb-0310-9956-
ffa450edef68
Igor Galić [Wed, 16 Jun 2010 10:27:52 +0000 (10:27 +0000)]
Fixing minor typo in sections.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@955184
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 15 Jun 2010 20:08:49 +0000 (20:08 +0000)]
Add a configuration block for Event MPM.
Event is now the default MPM for many platforms,
so we should provide an explicit configuration.
Discussion for good values to follow.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@955033
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 15 Jun 2010 18:10:19 +0000 (18:10 +0000)]
Fix typos in CHANGES.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954991
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 15 Jun 2010 17:48:38 +0000 (17:48 +0000)]
axe 2.3.0 CHANGES entries that have been delivered in a 2.2.x
release
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954980
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Tue, 15 Jun 2010 17:32:36 +0000 (17:32 +0000)]
Change log_error_core to prefer s over c->base_server for loglevel
configuration.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954976
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 15 Jun 2010 15:48:30 +0000 (15:48 +0000)]
Remove unused header file from simple MPM.
The file was copied in from the event MPM and neither the file
nor any defines in it are referenced in the simple MPM.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954940
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 15 Jun 2010 13:06:14 +0000 (13:06 +0000)]
Fix obsolete reference to 2.1 in CHANGES.
Likely we still have to clean CHANGES from things backported
to 2.2.x.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954862
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 15 Jun 2010 11:05:13 +0000 (11:05 +0000)]
Update comment about required modules in extra configuration files.
Mostly adding the information to the vhost and ssl files,
and adding mod_authz_core and mod_authz_host (for
"Require all denied" and "Require all granted") where needed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954816
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 15 Jun 2010 10:58:34 +0000 (10:58 +0000)]
Fix IfModule in default configuration according
the to new mod_unixd.
"User" and "Group" are no longer implemented in the MPMs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954808
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 15 Jun 2010 09:33:20 +0000 (09:33 +0000)]
The directives "User", "Group" and "ChrootDir" have
been moved into mod_unixd.
The old macro UNIX_DAEMON_COMMANDS is no longer in use.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954783
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 14 Jun 2010 21:00:06 +0000 (21:00 +0000)]
correct stupid mistake
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954643
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 14 Jun 2010 20:55:59 +0000 (20:55 +0000)]
Fix some compiler warnings:
- suggest braces around empty body in an 'if' statement
- comparison of unsigned expression >= 0 is always true
- comparison of unsigned expression < 0 is always false
Please review carefully.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954641
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 14 Jun 2010 19:59:05 +0000 (19:59 +0000)]
- Introduce ap_log_cserror to allow mod_ssl to associate log messages to
different servers than c->base_server.
- Adjust the scope of some mod_ssl trace logging from server to conn.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954611
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 14 Jun 2010 19:15:56 +0000 (19:15 +0000)]
start a list of modules which should probably be in experimental
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954596
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 14 Jun 2010 19:07:02 +0000 (19:07 +0000)]
Change the eor bucket to use a pre-cleanup to run the log transaction hook.
This fixes some segfaults.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954590
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Mon, 14 Jun 2010 18:53:02 +0000 (18:53 +0000)]
prevent an error message if an old autoconf without AC_PROG_CC_C99 is used but
print a meaningful warning instead
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954588
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 13 Jun 2010 17:50:54 +0000 (17:50 +0000)]
Fix MPM event/libserf build problems: If libserf was installed during build,
MPM event was picking up the headers but not linking with libserf, causing
unresolved symbol errors.
Now build MPM event with or without serf support depending on --with-serf
being specified or not.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954273
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sun, 13 Jun 2010 16:54:18 +0000 (16:54 +0000)]
Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954260
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Sun, 13 Jun 2010 14:27:12 +0000 (14:27 +0000)]
More linkage
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954231
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Sun, 13 Jun 2010 14:18:37 +0000 (14:18 +0000)]
Link to new API doc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954230
13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 13 Jun 2010 14:14:39 +0000 (14:14 +0000)]
some improvements WRT logging
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954228
13f79535 -47bb-0310-9956-
ffa450edef68