]> granicus.if.org Git - apache/log
apache
15 years agoAdd Ctrl-Break to docs (trigger restart for
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

15 years agoFold in initial template for methods to be able to
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

15 years agodon't use literal '100' for HTTP_CONTINUE (searchability)
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

15 years ago* Add SSLStrictSNIVHostCheck to allow / disallow non SNI clients to connect to
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

15 years ago* Fix an error in the documentation.
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

15 years ago* The state vinfo doesn't matter here: no client verification done at all.
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

15 years ago* r->connection->aborted signals that the client aborted the connection, but
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

15 years ago* Add partial support for name based virtual hosting for non SNI clients.
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

15 years agofixup properties
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

15 years agorebuild convmap
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

15 years agoPass the $@ array and not the flattened version of it in non-SysV mode:
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

15 years agoupdate transformation
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

15 years agoupdate for sync with English doc.
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

15 years agoEscape should simply close the dialog; Enter should perform the
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

15 years agoFix module scope, to avoid this, copy and past from loadable modules, not core
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

15 years agofix lineends
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

15 years agofix lineends
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

15 years agoSeems folks have forgotten to set eol-style, perhaps some modifications
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

15 years agoIntroduce mod_remoteip to trunk from httpd/sandbox/mod_remoteip
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

15 years agobuild all refresh
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

15 years agoIntroduce new documentation of mod_remoteip
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

15 years agoUse CVE-2009-1191 for this issue. We would only
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

15 years agorework the NameVirtualHost documentation to hopefully be a little
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

15 years agomod_dbd: add DBDInitSQL command. PR 46827
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

15 years agoupdate transformation
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

15 years agoan ID is an ID is an ID
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

15 years agoupdate convmap
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

15 years agosyncing
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

15 years agoVersion update.
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

15 years agoupdate xforms
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

15 years agoGrammar and whitespace cleanup
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

15 years agoMore unregistered media types in common use on the Internet. *sigh*
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

15 years agoMove logic to decide if an MPM is supported, and whether the MPM is
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

15 years ago* Add missing include to fix compiler warnings
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

15 years agomod_cgid: Improve handling of long AF_UNIX socket names (ScriptSock).
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

15 years agoTwo small typos.
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

15 years agono longer amusing.
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

15 years agowrite Ok to tomcat.
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

15 years agoAdd a logic to use an handler and HTTP.
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

15 years agoupdate transformation
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

15 years agoNew Turkish translation
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

15 years agoupdate for sync with English doc.
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

15 years ago* Check more strictly that the backend follows the AJP protocol.
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

15 years ago* Add CVE number
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

15 years ago* Avoid delivering content from a previous request which failed to send a request
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

15 years agoRemove the C++ style comment and use 1 for keep_running.
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

15 years agoArrange traces.
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

15 years agoSet keep_running and clean pool if not.
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

15 years agomain() can use ap_run_mpm() directly, so axe the old ap_mpm_run() function
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

15 years agothe only "retuned" in the entire server was, alas, not meant to be
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

15 years agoThe remote port information was forgotten from the builtin
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

15 years agodocument the key API considerations related to the changes for loadable MPMs, and...
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

15 years agohandle an unfortunate implication of loadable MPMs:
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

15 years ago* Fix comment and optimize retrieval of loglevel.
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

15 years agoap_strchr_p() is the one that takes (protects) a const char *
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

15 years agoclean up apr_time_from_msec() compatibility macros
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

15 years ago* Add SSLProxyCheckPeerExpire and SSLProxyCheckPeerCN directives to enable
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

15 years agompm-query hook: distinguish between DECLINED and APR_ENOTIMPL so that
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

15 years agostop exporting APACHE_MPM_DIR to modules -- unclear why this was ever necessary,...
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

15 years agohttp://marc.info/?l=apache-httpd-dev&m=123845333914309&w=2
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

15 years agoHTTPD script support
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

15 years agorevert 759711 and 759713... don't require apr2
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

15 years agoClarify when CoreDumpDirectory can be moot based on OS configuration, and
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

15 years ago* Removed unused variables.
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

15 years agoedit CHANGES for r759924
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

15 years agorename the new retained-data APIs to ap_retained_data_create()/ap_retained_data_get...
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

15 years agoUse named watchdog for heartmonitor.
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

15 years agoRun the callback from pool cleanup.
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

15 years agoUse correct check logic
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

15 years agoIf there are multiple hook watchdog threads registered, make sure we fire on default...
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

15 years ago *) ab: Fix a 100% CPU loop on platforms where a failed non-blocking connect
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

15 years agothe mpm_get_child_pid hook is unnecessary, as was the per-MPM MPM_CHILD_PID() macro...
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

15 years agoUse child singleton watchdog for running the heartbeat module
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

15 years agoDon't test for active. It's set up from need hook
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

15 years ago0600 is UWRITE+UREAD
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

15 years agoUse apr-2 object perms setter
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

15 years agoCore can specify a platform-specific rewrite args hook. Use that on Unix.
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

15 years agoinstall mod_serf.h
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

15 years agoaxe ancient platform checks
Jeff Trawick [Sun, 29 Mar 2009 13:59:07 +0000 (13:59 +0000)]
axe ancient platform checks

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

15 years agofix mispelled module name (helps look for applicable fixes)
Jeff Trawick [Sun, 29 Mar 2009 13:58:46 +0000 (13:58 +0000)]
fix mispelled module name (helps look for applicable fixes)

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

15 years ago* modules/proxy/mod_serf.c
Paul Querna [Sun, 29 Mar 2009 12:42:15 +0000 (12:42 +0000)]
* modules/proxy/mod_serf.c
    (hb_server_sort): Use correct variables for sorting.

Noticed by: Rüdiger

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

15 years agoRegister rewrite_args hook.
Mladen Turk [Sun, 29 Mar 2009 08:22:28 +0000 (08:22 +0000)]
Register rewrite_args hook.
Now, dunno if that was intended, but at least allow to start the httpd

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

15 years agoDo not presume we have a clean stack
Mladen Turk [Sun, 29 Mar 2009 08:19:02 +0000 (08:19 +0000)]
Do not presume we have a clean stack

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

15 years ago* Make LDAP working with APR 2.0 again by using apr-config instead of
Ruediger Pluem [Sat, 28 Mar 2009 21:26:50 +0000 (21:26 +0000)]
* Make LDAP working with APR 2.0 again by using apr-config instead of
  apu-config which is gone in APR 2.0.

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

15 years agoQuery the mpm state and clear the running flag if mpm is stopping.
Mladen Turk [Sat, 28 Mar 2009 17:41:09 +0000 (17:41 +0000)]
Query the mpm state and clear the running flag if mpm is stopping.

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

15 years agoupdate transformation
Nilgun Belma Buguner [Sat, 28 Mar 2009 16:06:16 +0000 (16:06 +0000)]
update transformation

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

15 years agoupdate for sync with English docs.
Nilgun Belma Buguner [Sat, 28 Mar 2009 16:02:59 +0000 (16:02 +0000)]
update for sync with English docs.

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@759491 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUpdates after english files modifications.
Lucien Gentis [Sat, 28 Mar 2009 15:30:34 +0000 (15:30 +0000)]
Updates after english files modifications.

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

15 years agoAdd static cluster backend, for very simple configurations.
Paul Querna [Sat, 28 Mar 2009 15:03:01 +0000 (15:03 +0000)]
Add static cluster backend, for very simple configurations.

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

15 years agoAdd very basic, non-streaming, support for request bodies.
Paul Querna [Sat, 28 Mar 2009 14:31:19 +0000 (14:31 +0000)]
Add very basic, non-streaming, support for request bodies.

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

15 years ago- Improve flushing/connection eos logic.
Paul Querna [Sat, 28 Mar 2009 13:51:51 +0000 (13:51 +0000)]
- Improve flushing/connection eos logic.
- Use brigade_write instead of immortal buckets that aren't immortal.
- Read HTTP status code from serf.
- Remove extra logging.

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

15 years agoWork in Progress.
Paul Querna [Sat, 28 Mar 2009 13:24:18 +0000 (13:24 +0000)]
Work in Progress.

Convert the 100ms timed callback to a single cleanup callback that is added
when the request is ready to finish. Basically works, though it has
some issues with flushing and closing the connection.

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

15 years agoIf the MPM supports serf in its core, use this to drive the proxied request
Paul Querna [Sat, 28 Mar 2009 01:02:32 +0000 (01:02 +0000)]
If the MPM supports serf in its core, use this to drive the proxied request
completely async from the original thread.

Right now it uses a 100ms timer to determine when the request is actaully complete,
but I think this can be removed in the long run with a better mechanism.

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

15 years agoIf serf is available, compile in driving the serf event loop from inside the
Paul Querna [Sat, 28 Mar 2009 01:00:41 +0000 (01:00 +0000)]
If serf is available, compile in driving the serf event loop from inside the
Event MPM.

Add a new MPM Query to determine if an MPM supports this.

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

15 years agoAdd support for Preserving the client provided Host header.
Paul Querna [Fri, 27 Mar 2009 23:56:53 +0000 (23:56 +0000)]
Add support for Preserving the client provided Host header.

* modules/proxy/mod_serf.c
    (serf_config_t): Add preservehost member.
    (setup_request): If preservehost is set, use the client provided Host header,
        otherwise use the one from the configuration.
    (is_true): New helper function for decoding true/false strings.
    (add_pass): Change to an argv configuration function, check for not enough
        args, and parse everything after the URI into key/value pairs.
    (create_dir_config): Default to setting preservehost to on.
    (serf_cmds): Change add_pass to a take argv directive.

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

15 years ago* modules/proxy/mod_serf.c
Paul Querna [Fri, 27 Mar 2009 23:17:06 +0000 (23:17 +0000)]
* modules/proxy/mod_serf.c
    (hb_list_servers): Allows relative paths for the heartbeat file.

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

15 years agoWork in Progress.
Paul Querna [Fri, 27 Mar 2009 23:10:21 +0000 (23:10 +0000)]
Work in Progress.

Add Clustered proxying support to mod_serf, by using the heartbeats system.

No preconfiguration of cluster members is needed.

Just a config like this:
    SerfCluster sweet heartbeat file=/var/cache/apache/hb.dat
    SerfCluster sour heartbeat file=/var/cache/apache/cluster2.dat
    <Location "/">
      SerfPass cluster://sweet
    </Location>
    <Location "/different_cluster">
      SerfPass cluster://sour
    </Location>

The location of all possible destination servers is provided by a new
providers interface, that includes configuration checking of the arguments to
the SerfCluster command, solving one of the worst problems with the mod_proxy
load balancer subsystem.

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

15 years agochange commentary to note MPM API changes: MPM_ macros to mpm_ hooks
Jeff Trawick [Fri, 27 Mar 2009 15:18:50 +0000 (15:18 +0000)]
change commentary to note MPM API changes: MPM_ macros to mpm_ hooks

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

15 years ago* modules/cluster/mod_heartmonitor.c
Paul Querna [Fri, 27 Mar 2009 13:27:44 +0000 (13:27 +0000)]
* modules/cluster/mod_heartmonitor.c
  (hm_update_stats): Flush heartbeat file before closing, to make sure the file
    is always written correctly, and check for errors on flush or close.

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

15 years agoOooooooooooo look a commit! Wow!
Jim Jagielski [Fri, 27 Mar 2009 13:20:28 +0000 (13:20 +0000)]
Oooooooooooo look a commit! Wow!

This is embarassing.

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