]>
granicus.if.org Git - apache/log
Nick Kew [Sat, 16 Dec 2006 21:41:38 +0000 (21:41 +0000)]
PR#37680: fix socket block/nonblock on restart/graceful
Patch submitted by Darius Davis (darius-abz free-range.com.au)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@487901
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Wed, 13 Dec 2006 14:11:17 +0000 (14:11 +0000)]
Sync with 2.2.4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@486663
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Wed, 13 Dec 2006 14:05:41 +0000 (14:05 +0000)]
Sync with 2.2.4 changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@486657
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 13 Dec 2006 12:14:32 +0000 (12:14 +0000)]
add previously-omitted CHANGES entry for a fix merged into 2.2.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@486615
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 13 Dec 2006 02:12:16 +0000 (02:12 +0000)]
PR#39420
Use case-insensitive matching for resp=Content-Type
(other uses of this var are in apr_table_get, so case is irrelevant).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@486455
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 13 Dec 2006 00:34:58 +0000 (00:34 +0000)]
APR_HAVE/AP_HAVE are ALWAYS defined, not always 1.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@486436
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 12 Dec 2006 21:22:36 +0000 (21:22 +0000)]
* Handle request bodies larger than 2 GB by converting the Content-Length
header string of the request correctly to apr_off_t.
PR: 40883
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@486320
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 11 Dec 2006 19:08:40 +0000 (19:08 +0000)]
increase size of error string buffer passed to apr_strerror();
120 is the size most frequently used in Apache; APR provides no
hints
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@485828
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Sun, 10 Dec 2006 23:38:05 +0000 (23:38 +0000)]
Stop mod_dbd emitting bogus error messages when it's loaded
but not configured.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@485311
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Sat, 9 Dec 2006 14:19:36 +0000 (14:19 +0000)]
format change. no functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484985
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Sat, 9 Dec 2006 14:16:36 +0000 (14:16 +0000)]
Sync with 2.2.4-dev. Add entry since it's a PR fix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484983
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Sat, 9 Dec 2006 13:47:56 +0000 (13:47 +0000)]
Isolate the unlock return vals
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484978
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 8 Dec 2006 21:38:40 +0000 (21:38 +0000)]
Fix compile warning:
mod_proxy_balancer.c:537: warning: unused variable 'rv'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484794
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 8 Dec 2006 21:37:08 +0000 (21:37 +0000)]
Failure to unlock is very nasty, so log it to help
with troubleshooting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484792
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 8 Dec 2006 21:29:20 +0000 (21:29 +0000)]
We are doing nothing here... but keep the stubs
in case we ever do.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484789
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 8 Dec 2006 21:26:40 +0000 (21:26 +0000)]
Log when the lock fails.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484787
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 8 Dec 2006 21:13:01 +0000 (21:13 +0000)]
No need for each ind lb method to increment the elected
element. Do so from the main calling func.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484783
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Fri, 8 Dec 2006 20:58:15 +0000 (20:58 +0000)]
* Sync with 2.2.x and style fixes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484776
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 8 Dec 2006 15:36:55 +0000 (15:36 +0000)]
More 2.2.4-dev syncs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484645
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 8 Dec 2006 15:33:31 +0000 (15:33 +0000)]
And sync with recent 2.2.4-dev backports
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484643
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 8 Dec 2006 14:22:51 +0000 (14:22 +0000)]
Sync with 2.2.4-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484617
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 8 Dec 2006 12:56:35 +0000 (12:56 +0000)]
sync with 2.2.x branch
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483975
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 8 Dec 2006 12:49:45 +0000 (12:49 +0000)]
whitespace fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483970
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 8 Dec 2006 12:41:46 +0000 (12:41 +0000)]
sync with 2.2.x branch
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483968
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 8 Dec 2006 12:24:22 +0000 (12:24 +0000)]
sync with 2.2.x/CHANGES
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483959
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Fri, 8 Dec 2006 00:21:04 +0000 (00:21 +0000)]
remove mod_headers edit feature from new_features_2_4.xml
(back-ported to 2.2.x) and update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483755
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Thu, 7 Dec 2006 20:12:34 +0000 (20:12 +0000)]
As per http://issues.apache.org/bugzilla/show_bug.cgi?id=40640, remove
the compat remark that is no longer accurate.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483641
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 7 Dec 2006 20:01:07 +0000 (20:01 +0000)]
* Do not replace a Date header set by a proxied backend server.
PR: 40232
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483633
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 7 Dec 2006 19:47:18 +0000 (19:47 +0000)]
* Add the missing include of http_request.h and thus fix a compiler warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483630
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 7 Dec 2006 19:45:51 +0000 (19:45 +0000)]
* Remove an unused variable and thus fix a compiler warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483629
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 7 Dec 2006 19:18:30 +0000 (19:18 +0000)]
Revert a regression introduced in the recent overhauls of mod_isapi.
PR 40470 points out that we no longer handle ate == headlen, where
there is a headers-only response from the isapi app to the server.
This patch restores the previous behavior of pending those headers
until some amount of body response is ready to be sent to the client.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483613
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 7 Dec 2006 17:47:43 +0000 (17:47 +0000)]
Mirror r483555, for GUI environment. Reason for the duplication is to make
enabling of the debugger much more trivial.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483567
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 7 Dec 2006 17:11:51 +0000 (17:11 +0000)]
Similar change to r483553 to help developers work in parallel on win32, install
default command-line build to \Apache2x directory, and name service Apache2.x
(which means this doesn't need to change over and over as trunk becomes 2.5, 2.7 etc.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@483555
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sun, 3 Dec 2006 21:24:43 +0000 (21:24 +0000)]
* Ensure that at least scheme://hostname[:port] matches between worker and URL
when trying to find the worker that fits best to the given URL.
PR: 40910
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@481901
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sun, 3 Dec 2006 20:51:13 +0000 (20:51 +0000)]
* Remove expired content from cache that cannot be revalidated.
PR: 30370
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@481886
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 2 Dec 2006 06:25:07 +0000 (06:25 +0000)]
Stash DBD connections in request_config of initial request
only, or else sub-requests and internal redirections may cause
entire DBD pool to be stashed in a single HTTP request.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@481509
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 28 Nov 2006 20:36:47 +0000 (20:36 +0000)]
Protect against any sort of non-block read that
would block. If ap_get_brigade() shows that, return
EAGAIN.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@480193
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 28 Nov 2006 17:36:45 +0000 (17:36 +0000)]
Apply patch for PR 41056 (19954) to fix chunk
filter. Now flushes work better.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@480135
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Pepper [Tue, 28 Nov 2006 04:22:10 +0000 (04:22 +0000)]
Attempt to clarify Order's effect.
Add table showing effects of the various Allow/Deny match combinations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@479888
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 27 Nov 2006 23:11:42 +0000 (23:11 +0000)]
ifdef out suexec for the platforms that don't support it
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@479799
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Pepper [Mon, 27 Nov 2006 21:52:29 +0000 (21:52 +0000)]
Typo.
Submitter: victory
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@479777
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Temme [Mon, 27 Nov 2006 07:29:26 +0000 (07:29 +0000)]
* Move the error log slug higher in the trace function, so it gets
executed even if the trace_add returns in the middle
* Add a direct-to-stderr path in case we don't have a server_rec to log
for
* Remove now redundant direct-to-sterr from x_monitor callback
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@479531
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Temme [Mon, 27 Nov 2006 00:09:51 +0000 (00:09 +0000)]
* Further clarify hook callback return convention
* Place some trace calls into context
* Every hook callback implementation now has the same comment format
* Document hitherto undocumented hook callbacks
* Always trace the handler, whether it gets to write its content or not
* Clean up stale 1.3 comments in handler callback
* Document quick_handler callback according to a conversation Googled up from
new-httpd in 2002
* Change callback names so all follow the same format: the hook name with a
prefix
* Add a callback handler for the enigmatic ap_hook_monitor
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@479471
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Temme [Sat, 25 Nov 2006 07:40:13 +0000 (07:40 +0000)]
* Make EXAMPLE_LOG_EACH compiler directive settable on command line
* Clean up introductory comments for hook handler declarations, explain about
RUN_ALL, RUN_FIRST in one single place, remove leftover comments from 1.3
* Place trace entry for quick_handler in request context
* Found every hook declaration in the source by running
find . -name \*.[ch] | xargs grep -E -A 3 \
"AP_IMPLEMENT_(OPTIONAL_|)HOOK_(VOID|RUN_ALL|RUN_FIRST)"
from top of source tree; implemented handler for everything that turned
up.
Next up: bring comments in line with introduction, clean up existing comments;
re-design trace mechanism to stop messing with globals after server may
start threads.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@479099
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Temme [Fri, 24 Nov 2006 22:23:16 +0000 (22:23 +0000)]
* Start re-organizing the function declarations to put related items together
* Fix http_scheme and default_port implementations to return proper
equivalents of DECLINED, so they can exist without breaking stuff
* Explain why some of the config access utility routines are ifdeffed out
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@479025
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 22 Nov 2006 12:11:57 +0000 (12:11 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_buffer_fill): Remove subpool; it
cannot be destroyed before r->pool so serves no purpose.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@478141
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 22 Nov 2006 11:48:55 +0000 (11:48 +0000)]
* support/rotatelogs.c (main): Produce useful error message for open()
failures.
PR: 39487
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@478135
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 22 Nov 2006 11:36:32 +0000 (11:36 +0000)]
* docs/manual/mod/mpm_common.xml: s/depreciated/deprecated/
* server/core.c: Likewise.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@478131
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 19 Nov 2006 14:18:49 +0000 (14:18 +0000)]
update convmap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@476824
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 19 Nov 2006 14:06:56 +0000 (14:06 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@476820
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 18 Nov 2006 22:20:25 +0000 (22:20 +0000)]
* CVE-2006-3747 was the main reason to release 2.2.3. So place the changelog
entry where it belongs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@476628
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 18 Nov 2006 22:17:33 +0000 (22:17 +0000)]
* Use the query string stored in r->parsed_uri.query instead of r->args
as r->args could have been changed (e.g. via mod_rewrite) after the quick
handler hook. This causes resources to be stored under a key, where they
cannot be fetched again in the quick handler.
PR: 40805
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@476625
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Sat, 18 Nov 2006 20:26:28 +0000 (20:26 +0000)]
Housekeeping: keep track of size even in the edge-case where validation
bytes trickle in over multiple buckets.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@476600
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 16 Nov 2006 20:45:39 +0000 (20:45 +0000)]
* Fix some comments. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475922
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 16 Nov 2006 20:41:06 +0000 (20:41 +0000)]
* Also log the presence of garbage data at the end of the stream if all
validation data is available in the first round.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475920
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 16 Nov 2006 20:30:25 +0000 (20:30 +0000)]
* Actually append new data to the validation buffer and do not overwrite old
data already there by setting the correct offset for the target buffer.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475915
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 16 Nov 2006 11:58:18 +0000 (11:58 +0000)]
TimeOut can be set in a vhost context
Submitted by: Eric Covener
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475698
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 15 Nov 2006 20:26:10 +0000 (20:26 +0000)]
* Ensure that we do not perform our final operations twice if a second EOS
falls down the chain by accident. Otherwise we are likely to run in a
SEGFAULT. So remove ourselves from the chain.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475406
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 15 Nov 2006 20:19:37 +0000 (20:19 +0000)]
* Ensure that we do not try to inflate validation data or garbage data. None
of this is zlib's business.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475403
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Wed, 15 Nov 2006 14:12:26 +0000 (14:12 +0000)]
Document the hoops you need to jump through to get mod_authnz_ldap to
support an Active Directory installation spanning multiple domains.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475240
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 14 Nov 2006 22:24:53 +0000 (22:24 +0000)]
Remove the "virtual host" context for the AuthnProviderAlias directive in the documentation
Submitted by: Vicent Bray < noodlet gmail com >
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@475021
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Fri, 10 Nov 2006 09:15:21 +0000 (09:15 +0000)]
Add alternate is_socket_connected by using APR functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@473278
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Fri, 10 Nov 2006 09:12:57 +0000 (09:12 +0000)]
Remove alternate is_socket_connected detection.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@473276
13f79535 -47bb-0310-9956-
ffa450edef68
Noirin Plunkett [Thu, 9 Nov 2006 15:29:16 +0000 (15:29 +0000)]
Minor niggles that have been sitting around for a while
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@472949
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 9 Nov 2006 14:59:49 +0000 (14:59 +0000)]
forgot minor bump
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@472933
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Wed, 8 Nov 2006 20:43:46 +0000 (20:43 +0000)]
Better detection and clean up of ldap connection that have been
terminated by the ldap server. PR#40878
Submitted by: Rob Baily <rbaily servicebench com>
Reviewed by: bnicholes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@472633
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 7 Nov 2006 13:51:46 +0000 (13:51 +0000)]
Note 2 backported ports applied to 2.2.4-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@472116
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 7 Nov 2006 13:35:09 +0000 (13:35 +0000)]
Note 2 backports applied to 2.2.4-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@472105
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Thu, 2 Nov 2006 18:05:20 +0000 (18:05 +0000)]
Fix broken compile for platforms with sendfile() -- As Graham says: Looks like this code hasn't built in the SENDFILE case for a while.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@470455
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 1 Nov 2006 20:20:42 +0000 (20:20 +0000)]
* Assign rv in the if statement to return the correct error code and
more important an error code at all, as currently APR_SUCCESS is returned
in the error case.
PR: 40865
Submitted by: Andrew Rucker Jones <arjones simultan.dyndns.org>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@470076
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 1 Nov 2006 13:02:25 +0000 (13:02 +0000)]
* Increase the minimum and default value for MCacheMinObjectSize from 0 to 1,
as a MCacheMinObjectSize of 0 does not make sense and leads to a
signal Floating point exception (8) (division by zero) in
memcache_gdsf_algorithm.
PR: 40576
Submitted by: Xuekun Hu <xuekun.hu gmail.com>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@469895
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Sun, 29 Oct 2006 17:05:40 +0000 (17:05 +0000)]
When Servlet container sends AJP body message with size 0, this means that Servlet container has asked for an explicit flush.
Create flush bucket in that case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468941
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Sun, 29 Oct 2006 13:08:49 +0000 (13:08 +0000)]
Add a usage example to mod_proxy_balancer.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468896
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Sun, 29 Oct 2006 13:01:56 +0000 (13:01 +0000)]
<i> and <b> aren't valid in your docs stylesheet. Changing to something
that will build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468892
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Fri, 27 Oct 2006 15:15:24 +0000 (15:15 +0000)]
Restore the pdconf configuration structure in the SENDFILE case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468409
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Fri, 27 Oct 2006 13:28:56 +0000 (13:28 +0000)]
mod_cache: Pass the output filter stack through the store_body()
hook, giving each cache backend the ability to make a better
decision as to how it will allocate the tasks of writing to the
cache and writing to the network. Previously the write to the
cache task needed to be complete before the same brigade was
written to the network, and this caused timing and memory issues
on large cached files. This fix replaces the previous fix for
PR39380.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468373
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Thu, 26 Oct 2006 16:02:19 +0000 (16:02 +0000)]
Add util_mutex.c and .h to the netware build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468049
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Thu, 26 Oct 2006 15:49:57 +0000 (15:49 +0000)]
Add the modules/database directory to the includes search list.
Submitted by: normw normanwheeler bigpond.com
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468045
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Thu, 26 Oct 2006 15:43:25 +0000 (15:43 +0000)]
Revert the splitting of buckets before they are handed to the cache providers,
a better way has been found to do this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468044
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Thu, 26 Oct 2006 15:39:41 +0000 (15:39 +0000)]
Move the assignment statements after the #if code to eliminate the C++ style inline variable declarations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468042
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Wed, 25 Oct 2006 15:45:22 +0000 (15:45 +0000)]
Optimise the alternate case. Fail fast and stop splitting buckets if
store_body is no longer being called.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467684
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Wed, 25 Oct 2006 13:44:47 +0000 (13:44 +0000)]
mod_cache: Fix an out of memory condition that occurs when the
cache tries to save huge files (greater than RAM). Buckets bigger
than a tuneable threshold are split into smaller buckets before
being passed to mod_disk_cache, etc. PR 39380
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467655
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Tue, 24 Oct 2006 19:06:10 +0000 (19:06 +0000)]
Fix a typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467442
13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 24 Oct 2006 14:16:01 +0000 (14:16 +0000)]
* server/log.c (ap_open_logs): When dup2'ing the error log to stderr,
use the already-open stderr file object rather than opening a new one.
Submitted by: Tom Donovan <Tom.Donovan acm.org>
PR: 40476
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467338
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 24 Oct 2006 14:00:50 +0000 (14:00 +0000)]
Fix hasty cut-paste in the doccos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467334
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 24 Oct 2006 13:17:29 +0000 (13:17 +0000)]
Once SSLMutex allowed for the setting of both the
locking method and the lockfile location, I never
liked how AcceptMutex was linked to LockFile. This
seemed unnecessary. Much better to have AcceptMutex
do both as well. Plus, now that we will likely see
other modules require a "standard" way of setting
mutexes, why not have Apache provide that as
an API of sorts.
Anyway, LockFile is now depreciated and AcceptMutex
is now SSLMutex-like. We also provide a short
function that "parses" out a mutex parameter
and strips out the mechanism and lockfile location.
AcceptMutex and SSLMutex is this capability.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467326
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Tue, 24 Oct 2006 08:18:50 +0000 (08:18 +0000)]
Add CPING/CPONG message size as defined as max inside Apache Tomcat using define.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467274
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Tue, 24 Oct 2006 07:31:52 +0000 (07:31 +0000)]
Put the next field at the end of the structure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467265
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Tue, 24 Oct 2006 07:01:44 +0000 (07:01 +0000)]
128 is enough for CPING/CPONG messages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467259
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Tue, 24 Oct 2006 06:33:13 +0000 (06:33 +0000)]
Make sure the AJP message is between 8 and 64K.
Use the provided message size when using get_brigade.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467257
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 23 Oct 2006 17:18:35 +0000 (17:18 +0000)]
Fix address-in-use startup failure caused by corruption of the list of
listen sockets in some configurations with multiple generic Listen
directives.
The logic in error is that which prunes out generic IPv4 listening
sockets when we already have a v4-mapped generic IPv6 listening
socket for the same port.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467034
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 23 Oct 2006 16:07:40 +0000 (16:07 +0000)]
fix typo that breaks compilation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467017
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Mon, 23 Oct 2006 15:31:59 +0000 (15:31 +0000)]
At support for ProxyIOBufferSize in AJP.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467014
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Sun, 22 Oct 2006 19:11:51 +0000 (19:11 +0000)]
mod_authn_dbd: Export any additional columns queried in the SQL select
into the environment with the name AUTHENTICATE_<COLUMN>. This brings
mod_authn_dbd behaviour in line with mod_authnz_ldap.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@466865
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Sun, 22 Oct 2006 13:31:25 +0000 (13:31 +0000)]
mod_dbd: Key the storage of prepared statements on the hex string
value of server_rec, rather than the server name, as the server name
may change (eg when the server name is set) at any time, causing
weird behaviour in modules dependent on mod_dbd.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@466641
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Wed, 18 Oct 2006 18:49:13 +0000 (18:49 +0000)]
added APR_THREAD_FUNC on listener_thread() in event and worker MPMs
to match definition of apr_thread_start_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@465333
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Tue, 17 Oct 2006 17:39:52 +0000 (17:39 +0000)]
rename routines from worker MPM to match normal MPM naming
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@464973
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Tue, 17 Oct 2006 17:25:07 +0000 (17:25 +0000)]
add example test_config routine
re-order config routines to match invocation order
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@464968
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Mon, 16 Oct 2006 19:40:32 +0000 (19:40 +0000)]
Add a missing include of apr_buckets.h. [Martin Kraemer]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@464638
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Sun, 15 Oct 2006 15:21:18 +0000 (15:21 +0000)]
Remove extra colon from /wd compiler directive.
On conversion the VS2005 reports:
ommand line error D8021 : invalid numeric argument '/wd:4996' cl
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@464208
13f79535 -47bb-0310-9956-
ffa450edef68