]>
granicus.if.org Git - apache/log
Chris Darroch [Tue, 5 May 2009 03:31:22 +0000 (03:31 +0000)]
add creation type parameter per r771286
remove lock/unlock structure elements per r771262
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771539
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Tue, 5 May 2009 03:30:00 +0000 (03:30 +0000)]
silence warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771537
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 4 May 2009 21:45:50 +0000 (21:45 +0000)]
* Remove unused locking functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771458
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 4 May 2009 21:37:09 +0000 (21:37 +0000)]
* Optimize access to server_rec.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771455
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 4 May 2009 18:35:40 +0000 (18:35 +0000)]
Simple style fix, this message still is nonsensical
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771390
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Mon, 4 May 2009 16:44:23 +0000 (16:44 +0000)]
One typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771355
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Mon, 4 May 2009 12:22:36 +0000 (12:22 +0000)]
Add a parameter for slotmem_create for the persistancy of the slotmem area.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771286
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Mon, 4 May 2009 11:58:50 +0000 (11:58 +0000)]
Fix shared memory permisson problems.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771278
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Mon, 4 May 2009 10:20:42 +0000 (10:20 +0000)]
Remove ap_slotmem_lock / ap_slotmem_unlock from the slotmem API.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771262
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Sun, 3 May 2009 23:04:02 +0000 (23:04 +0000)]
Whoops! cleanup r771144, which had some local/dev stuff left in
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771145
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Sun, 3 May 2009 23:02:35 +0000 (23:02 +0000)]
mod_privileges: introduce PrivilegesMode: fast mode as before vs secure
mode to fork an unprivileged child per-request in the manner of MPM-ITK
anwhere there's a risk of running malicious code.
Documentation to follow.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771144
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sun, 3 May 2009 15:30:40 +0000 (15:30 +0000)]
One typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771066
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 2 May 2009 16:25:24 +0000 (16:25 +0000)]
Some typos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@770970
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 2 May 2009 07:47:59 +0000 (07:47 +0000)]
* As proposed by wrowe on list always define SSLStrictSNIVHostCheck, but error
out if we are not compiled against an SNI capable OpenSSL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@770907
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 1 May 2009 01:07:58 +0000 (01:07 +0000)]
Adds clarifying comment to example configuration. (Redirect)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@770506
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 1 May 2009 01:03:44 +0000 (01:03 +0000)]
Clarify that the target of a Redirect may be either a full URL including
scheme and hostname, or just a URI path beginning with a slash.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@770505
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Fri, 1 May 2009 00:40:41 +0000 (00:40 +0000)]
Add a reference to LocationMatch in the seealso section.
Encourage people to use LocationMatch rather than Location ~
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@770502
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Thu, 30 Apr 2009 17:15:33 +0000 (17:15 +0000)]
Arrange BalancerMember explainations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@770328
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Thu, 30 Apr 2009 15:43:34 +0000 (15:43 +0000)]
Prevent key=value being accepted as url.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@770293
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 29 Apr 2009 16:29:31 +0000 (16:29 +0000)]
* Don't assign pointers to int's. This is a nightmare when changeing
between 32 and 64 bit and waiting for an accident to happen.
Also: It produces compiler warnings (at least 64 bit) :-).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@769818
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 29 Apr 2009 16:18:21 +0000 (16:18 +0000)]
* Set SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN to on by default.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@769815
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 29 Apr 2009 16:12:20 +0000 (16:12 +0000)]
* Improve and simplify the implementation of SSLProxyCheckPeerExpire by
directly using X509_get_notBefore(), X509_get_notAfter() and
X509_cmp_current_time().
Thanks to jorton for the pointer.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@769809
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Mon, 27 Apr 2009 19:54:25 +0000 (19:54 +0000)]
Add Ctrl-Break to docs (trigger restart for
console use).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@769134
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 27 Apr 2009 15:02:40 +0000 (15:02 +0000)]
Fold in initial template for methods to be able to
reset (initialize) and "age" their data, useful when
adding new workers, or when workers come back into
the fold....
Logic and code to come in a bit :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@769020
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 27 Apr 2009 13:04:36 +0000 (13:04 +0000)]
don't use literal '100' for HTTP_CONTINUE (searchability)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768964
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 25 Apr 2009 20:15:49 +0000 (20:15 +0000)]
* Add SSLStrictSNIVHostCheck to allow / disallow non SNI clients to connect to
name based virtual hosts.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768596
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 25 Apr 2009 14:19:26 +0000 (14:19 +0000)]
* Fix an error in the documentation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768535
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 25 Apr 2009 09:28:21 +0000 (09:28 +0000)]
* The state vinfo doesn't matter here: no client verification done at all.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768501
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 25 Apr 2009 09:25:24 +0000 (09:25 +0000)]
* r->connection->aborted signals that the client aborted the connection, but
in this case *we* decide to close the connection so use
r->connection->keepalive = AP_CONN_CLOSE
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768500
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 25 Apr 2009 09:16:48 +0000 (09:16 +0000)]
* Add partial support for name based virtual hosting for non SNI clients.
Submitted by: Kaspar Brand <httpd-dev.2009 velox.ch>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768499
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 23 Apr 2009 21:54:09 +0000 (21:54 +0000)]
fixup properties
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768069
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 23 Apr 2009 21:40:32 +0000 (21:40 +0000)]
rebuild convmap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@768066
13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Thu, 23 Apr 2009 17:45:41 +0000 (17:45 +0000)]
Pass the $@ array and not the flattened version of it in non-SysV mode:
$ bash -x bin/apachectl -t -c "foo bar"
before: +bin/httpd -t -c foo bar
after: +bin/httpd -t -c 'foo bar'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767994
13f79535 -47bb-0310-9956-
ffa450edef68
Nilgun Belma Buguner [Thu, 23 Apr 2009 08:05:05 +0000 (08:05 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767842
13f79535 -47bb-0310-9956-
ffa450edef68
Nilgun Belma Buguner [Thu, 23 Apr 2009 08:04:23 +0000 (08:04 +0000)]
update for sync with English doc.
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@767841
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Apr 2009 06:48:55 +0000 (06:48 +0000)]
Escape should simply close the dialog; Enter should perform the
appropriate button, or within the list, start and stop. (also
clear up the transitions between the list focus and nonfocus).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767819
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Apr 2009 05:38:45 +0000 (05:38 +0000)]
Fix module scope, to avoid this, copy and past from loadable modules, not core
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767806
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Apr 2009 05:19:31 +0000 (05:19 +0000)]
fix lineends
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767801
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Apr 2009 05:17:05 +0000 (05:17 +0000)]
fix lineends
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767800
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Apr 2009 04:58:00 +0000 (04:58 +0000)]
Seems folks have forgotten to set eol-style, perhaps some modifications
to local subversion.conf files would be a good idea? *.xml* or *.html*
anyone?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767794
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Apr 2009 04:19:36 +0000 (04:19 +0000)]
Introduce mod_remoteip to trunk from httpd/sandbox/mod_remoteip
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767786
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Apr 2009 04:09:46 +0000 (04:09 +0000)]
build all refresh
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767783
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 23 Apr 2009 04:07:04 +0000 (04:07 +0000)]
Introduce new documentation of mod_remoteip
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767781
13f79535 -47bb-0310-9956-
ffa450edef68
Mark J. Cox [Tue, 21 Apr 2009 09:44:43 +0000 (09:44 +0000)]
Use CVE-2009-1191 for this issue. We would only
share a CVE name where the flaw was due to a
shared code base, and this isn't the case for
the mod_jk CVE-2008-5519 issue.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767089
13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Tue, 21 Apr 2009 02:13:04 +0000 (02:13 +0000)]
rework the NameVirtualHost documentation to hopefully be a little
less confusing and match the conventional wisdom of the various
support fora.
Provide a longer example that demonstrates the 1:n nature,
relation to IP-based vhosts, and always uses a port.
Avoid phrasing that makes NVH look like Listen.
Remove the over-complicated hints about NVH impact on _default_ and base
server configs, which boils down to the basic ip-based vhost mapping
algorithm.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766945
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Tue, 21 Apr 2009 01:29:15 +0000 (01:29 +0000)]
mod_dbd: add DBDInitSQL command. PR 46827
Patch by Marko Kevac.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766938
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 20 Apr 2009 13:03:42 +0000 (13:03 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766680
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 20 Apr 2009 13:03:03 +0000 (13:03 +0000)]
an ID is an ID is an ID
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766679
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Mon, 20 Apr 2009 12:52:54 +0000 (12:52 +0000)]
update convmap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766674
13f79535 -47bb-0310-9956-
ffa450edef68
Nilgun Belma Buguner [Sun, 19 Apr 2009 14:35:15 +0000 (14:35 +0000)]
syncing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766475
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sun, 19 Apr 2009 14:13:48 +0000 (14:13 +0000)]
Version update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766470
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sat, 18 Apr 2009 14:08:02 +0000 (14:08 +0000)]
update xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766327
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Sat, 18 Apr 2009 14:05:40 +0000 (14:05 +0000)]
Grammar and whitespace cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766324
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Sat, 18 Apr 2009 04:38:32 +0000 (04:38 +0000)]
More unregistered media types in common use on the Internet. *sigh*
http://msdn.microsoft.com/en-us/library/
aa338205 .aspx
http://technet.microsoft.com/ja-jp/library/
cc179224 .aspx
http://www.adobe.com/support/config.html
http://www.adobe.com/go/tn_16509http://www.adobe.com/support/documentation/en/air/1_5_1/releasenotes_developers.html#tips
http://livedocs.adobe.com/coldfusion/8/htmldocs/vspider_17.html
http://help.adobe.com/en_US/AdobeMediaPlayer/1.5/CDK/WSb04c7610c343283941c82cdf11cc3cc68f8-8000.html
http://www.idpf.org/specs.htm
http://rivviepop.wordpress.com/2006/01/27/configuring-apache-for-mobile-browsing/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766211
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 17 Apr 2009 16:59:48 +0000 (16:59 +0000)]
Move logic to decide if an MPM is supported, and whether the MPM is
threaded, down to the MPM itself.
(server/mpm/FOO/config.m4, which runs before the actual MPM selection)
server/mpm/config.m4 makes some general platform checks that can be used
for MPM decisions, and contains some functions related to MPMs.
XXX The check here for whether APR_POLLSET_THREADSAFE is available
is a rough approximation and needs to be replaced by a run-time
check.
Replace the limited per-platform hard-coded MPM selection and the
current defaulting to event (whether or not it works) with a selection
based on which MPMs work on the platform, as reported by the MPMs
themselves.
(config2.m4, which runs after the MPMs record whether they are supported)
Order of preference:
WinNT (mingw32 only)
then Event
then Worker
then Prefork
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@766082
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 16 Apr 2009 20:00:14 +0000 (20:00 +0000)]
* Add missing include to fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@765735
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 16 Apr 2009 19:23:45 +0000 (19:23 +0000)]
mod_cgid: Improve handling of long AF_UNIX socket names (ScriptSock).
Dynamically allocate the AF_UNIX sockaddr based on the required filename size.
For some platforms (e.g., Solaris, OS X, FreeBSD), this allows longer
socket filenames to be used.
When the name is too long, the failure reporting is more consistent and a
socket with truncated pathname is not left stranded. The user still needs
to use ScriptSock to specify a shorter name.
An extra unlink() failure message may be generated when attempting to clean
up the socket after a daemon initialization error; the message is surpressed
for ENOTENT, but not for ENAMETOOLONG.
PR: 47037
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@765725
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Thu, 16 Apr 2009 15:40:56 +0000 (15:40 +0000)]
Two small typos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@765672
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Wed, 15 Apr 2009 18:52:39 +0000 (18:52 +0000)]
no longer amusing.
I'll still pay off if somebody does it legitimately, but I haven't been
to Apachecon in ages so we'll have to work out a different delivery
mechanism. With the stability of the 2.0.x and 2.2.x releases and
Moore's Law in effect for the last decade, it might be possible...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@765305
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Tue, 14 Apr 2009 14:48:34 +0000 (14:48 +0000)]
write Ok to tomcat.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@764804
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Tue, 14 Apr 2009 13:01:54 +0000 (13:01 +0000)]
Add a logic to use an handler and HTTP.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@764762
13f79535 -47bb-0310-9956-
ffa450edef68
Nilgun Belma Buguner [Tue, 14 Apr 2009 08:52:41 +0000 (08:52 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@764716
13f79535 -47bb-0310-9956-
ffa450edef68
Nilgun Belma Buguner [Tue, 14 Apr 2009 08:50:15 +0000 (08:50 +0000)]
New Turkish translation
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@764715
13f79535 -47bb-0310-9956-
ffa450edef68
Nilgun Belma Buguner [Tue, 14 Apr 2009 08:49:13 +0000 (08:49 +0000)]
update for sync with English doc.
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@764713
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 11 Apr 2009 19:49:12 +0000 (19:49 +0000)]
* Check more strictly that the backend follows the AJP protocol.
Submitted by: mturk
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@764239
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Fri, 10 Apr 2009 08:08:41 +0000 (08:08 +0000)]
* Add CVE number
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@763885
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 8 Apr 2009 21:06:46 +0000 (21:06 +0000)]
* Avoid delivering content from a previous request which failed to send a request
body by closing the connection to the backend in this case instead of reusing it.
CVE: CVE-2008-5519
PR: 46949
Reviewed by: jim, wrowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@763394
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Wed, 8 Apr 2009 09:12:32 +0000 (09:12 +0000)]
Remove the C++ style comment and use 1 for keep_running.
(Thanks Rüdiger).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@763151
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Tue, 7 Apr 2009 13:38:01 +0000 (13:38 +0000)]
Arrange traces.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@762771
13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Tue, 7 Apr 2009 12:10:57 +0000 (12:10 +0000)]
Set keep_running and clean pool if not.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@762730
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 5 Apr 2009 17:54:22 +0000 (17:54 +0000)]
main() can use ap_run_mpm() directly, so axe the old ap_mpm_run() function
change the mpm hooks to return OK/DONE instead of 0/1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@762127
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 3 Apr 2009 18:22:12 +0000 (18:22 +0000)]
the only "retuned" in the entire server was, alas, not meant to be
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@761749
13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Thu, 2 Apr 2009 15:49:29 +0000 (15:49 +0000)]
The remote port information was forgotten from the builtin
data of the AJP 13 protocol. Since the servlet spec allows
to retrieve it via getRemotePort(), we provide the port to
the Tomcat connector as an additional request attribute.
Modern/future Tomcat versions know how to retrieve
the remote port from the attribute AJP_REMOTE_PORT.
See:
https://issues.apache.org/bugzilla/show_bug.cgi?id=41263
http://svn.eu.apache.org/viewvc?view=rev&revision=756926
http://svn.eu.apache.org/viewvc?view=rev&revision=757223
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@761329
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 2 Apr 2009 11:00:14 +0000 (11:00 +0000)]
document the key API considerations related to the changes for loadable MPMs, and give
unbundled modules an MMN to check for
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@761246
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 2 Apr 2009 10:05:39 +0000 (10:05 +0000)]
handle an unfortunate implication of loadable MPMs:
calls to ap_mpm_query() must be deferred until after the register-hooks hook, since that's
where the MPM registers its mpm-query hook
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@761226
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 2 Apr 2009 06:41:50 +0000 (06:41 +0000)]
* Fix comment and optimize retrieval of loglevel.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@761181
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 1 Apr 2009 22:10:30 +0000 (22:10 +0000)]
ap_strchr_p() is the one that takes (protects) a const char *
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@761085
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 1 Apr 2009 22:06:49 +0000 (22:06 +0000)]
clean up apr_time_from_msec() compatibility macros
* where needed, base on APR_VERSION_AT_LEAST() so we remember what this is about
* where not, axe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@761084
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 1 Apr 2009 12:07:47 +0000 (12:07 +0000)]
* Add SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN directives to enable
stricter checking of remote server certificates.
(docs/manual/mod/mod_ssl.xml)
Documentation of SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN.
(modules/proxy/mod_proxy_http.c)
Set the hostname of the request URL as note on the connection.
(modules/ssl/ssl_private.h)
Add proxy_ssl_check_peer_expire and proxy_ssl_check_peer_cn fields to
the SSLSrvConfigRec.
(modules/ssl/ssl_engine_config.c)
Directives stuff for SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN.
(modules/ssl/ssl_engine_io.c)
Check whether the remote servers certificate is expired / if there is a
mismatch between the requested hostanme and the remote server certificates
CN field.
Be able to parse ASN1 times.
(modules/ssl/mod_ssl.c)
Directives stuff for SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@760866
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 1 Apr 2009 11:53:50 +0000 (11:53 +0000)]
mpm-query hook: distinguish between DECLINED and APR_ENOTIMPL so that
. ap_mpm_query() can return APR_EGENERAL if called too early (for debugging a module)
. some hypothetical module which implements the mpm-query hook can bypass the MPM
with APR_ENOTIMPL
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@760864
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 31 Mar 2009 11:34:49 +0000 (11:34 +0000)]
stop exporting APACHE_MPM_DIR to modules -- unclear why this was ever necessary, and it
makes no sense with loadable MPMs
axe the unnecessary MPM_DIR build variable
move the stray APACHE_SUBST(MPM_LIB) from configure.in to server/mpm/config.m4, where
the other MPM_foos are handled
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@760403
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Tue, 31 Mar 2009 09:32:14 +0000 (09:32 +0000)]
http://marc.info/?l=apache-httpd-dev&m=
123845333914309 &w=2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@760379
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 30 Mar 2009 20:49:10 +0000 (20:49 +0000)]
HTTPD script support
When a script returns a no-body response code, pretend it was a HEAD
request so as to drop any body the script might erroneously generate.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@760167
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 30 Mar 2009 16:10:26 +0000 (16:10 +0000)]
revert 759711 and 759713... don't require apr2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@760026
13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 30 Mar 2009 13:26:02 +0000 (13:26 +0000)]
Clarify when CoreDumpDirectory can be moot based on OS configuration, and
mention SIGQUIT/3 not being processed by the signal handler.
SIGQUIT may unfortunately be a go-to signal for java users.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759957
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 30 Mar 2009 13:14:29 +0000 (13:14 +0000)]
* Removed unused variables.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759954
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 30 Mar 2009 12:43:09 +0000 (12:43 +0000)]
edit CHANGES for r759924
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759946
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 30 Mar 2009 11:27:53 +0000 (11:27 +0000)]
rename the new retained-data APIs to ap_retained_data_create()/ap_retained_data_get(), for better
consistency with existing APIs (e.g., slotmem)
don't bother changing the MMN, which doesn't reflect recent -dev changes anyway
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759924
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Mon, 30 Mar 2009 08:07:59 +0000 (08:07 +0000)]
Use named watchdog for heartmonitor.
The watchdog has zero interval, leaving to the callback to determine the running loop.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759862
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Mon, 30 Mar 2009 07:54:05 +0000 (07:54 +0000)]
Run the callback from pool cleanup.
This allows to break the blocked callbacks
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759860
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Mon, 30 Mar 2009 06:38:14 +0000 (06:38 +0000)]
Use correct check logic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759849
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Mon, 30 Mar 2009 06:35:47 +0000 (06:35 +0000)]
If there are multiple hook watchdog threads registered, make sure we fire on default one only
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759847
13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 30 Mar 2009 02:19:02 +0000 (02:19 +0000)]
*) ab: Fix a 100% CPU loop on platforms where a failed non-blocking connect
returns EINPROGRESS and a subsequent poll() returns only POLLERR.
Observed on HP-UX.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759832
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 29 Mar 2009 19:30:17 +0000 (19:30 +0000)]
the mpm_get_child_pid hook is unnecessary, as was the per-MPM MPM_CHILD_PID() macro which it replaced
axe this new hook, and use ap_get_scoreboard_process() instead
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759757
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Sun, 29 Mar 2009 19:17:30 +0000 (19:17 +0000)]
Use child singleton watchdog for running the heartbeat module
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759751
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Sun, 29 Mar 2009 19:03:11 +0000 (19:03 +0000)]
Don't test for active. It's set up from need hook
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759746
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Sun, 29 Mar 2009 16:10:02 +0000 (16:10 +0000)]
0600 is UWRITE+UREAD
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759713
13f79535 -47bb-0310-9956-
ffa450edef68
Mladen Turk [Sun, 29 Mar 2009 16:05:53 +0000 (16:05 +0000)]
Use apr-2 object perms setter
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759711
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 29 Mar 2009 14:41:02 +0000 (14:41 +0000)]
Core can specify a platform-specific rewrite args hook. Use that on Unix.
Windows continues to specify this in the MPM, at least until someone
can separate out the MPM-specific bits.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759699
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 29 Mar 2009 14:37:48 +0000 (14:37 +0000)]
install mod_serf.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759698
13f79535 -47bb-0310-9956-
ffa450edef68