]> granicus.if.org Git - apache/log
apache
6 years agoOn the trunk:
Stefan Eissing [Fri, 8 Sep 2017 10:29:53 +0000 (10:29 +0000)]
On the trunk:

mod_ssl: Extending SSLEngine to alternatively get a list of add:port spec as used in VirtualHost.

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

6 years agocore: Disallow Methods' registration at run time (.htaccess), they may be
Yann Ylavic [Thu, 7 Sep 2017 22:43:41 +0000 (22:43 +0000)]
core: Disallow Methods' registration at run time (.htaccess), they may be
used only if registered at init time (httpd.conf).

Calling ap_method_register() in children processes is not the right scope
since it won't be shared for all requests.

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

6 years agoOn the trunk:
Stefan Eissing [Thu, 7 Sep 2017 11:41:28 +0000 (11:41 +0000)]
On the trunk:

mod_md: avoid linking libmd.la twice

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

6 years agoupdate feather to conform with style guide
Daniel Gruno [Thu, 7 Sep 2017 11:06:15 +0000 (11:06 +0000)]
update feather to conform with style guide

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

6 years agoOn the trunk:
Stefan Eissing [Thu, 7 Sep 2017 10:01:57 +0000 (10:01 +0000)]
On the trunk:

mod_md: fix in Makefile to use EXTRA_INCLUDES for a2md build, so that APR headers from srclib are found.

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

6 years agoOn the trunk:
Stefan Eissing [Tue, 5 Sep 2017 13:10:11 +0000 (13:10 +0000)]
On the trunk:

  *) mod_md: v0.9.1:
     - various fixes in MDRenewWindow handling when specifying percent. Serialization changed. If
       someone already used percent configurations, it is advised to change these to a new value,
       reload and change back to the wanted ones.
     - various fixes in handling of MDPrivateKeys when specifying 2048 bits (the default) explicitly.
     - mod_md version removed from top level md_store.json file. The store has its own format version
       to facilitate upgrades.

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

6 years agoMake sure that ajp behaves like http.
Jean-Frederic Clere [Tue, 5 Sep 2017 10:58:26 +0000 (10:58 +0000)]
Make sure that ajp behaves like http.

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

6 years agoFix for JBCS-390.
Jean-Frederic Clere [Tue, 5 Sep 2017 07:27:33 +0000 (07:27 +0000)]
Fix for JBCS-390.
Note it is related to PR  59007

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

6 years agodocumentation rebuild
Luca Toscano [Mon, 4 Sep 2017 15:46:42 +0000 (15:46 +0000)]
documentation rebuild

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

6 years agoevent.xml doc: update to latest improvements
Luca Toscano [Mon, 4 Sep 2017 15:46:21 +0000 (15:46 +0000)]
event.xml doc: update to latest improvements

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 4 Sep 2017 15:10:59 +0000 (15:10 +0000)]
On the trunk:

  *) mod_http2: DoS flow control protection is less agressive as long as active tasks stay
     below worker capacity. Intended to fix problems with media streaming.

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 4 Sep 2017 14:33:18 +0000 (14:33 +0000)]
On the trunk:

mod_ssl: using improved mod_md md_get_certificate optional function when available

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 4 Sep 2017 14:07:29 +0000 (14:07 +0000)]
On the trunk:

mod_md:
 * Improved interface to mod_ssl for fallback handling. Backward compatible to previous mod_ssl
   patch, but fallbacks will not work.
 * Provide a temporary, self-signed certificate with a speaking command and domain name if we
   have no other cert for a Managed Domain, yet. Refs github issue #32
 * Continue to provide expired or not-completely matching, existing certificate for a Managed
   Domain until the renewal was successful. This is helpful when one adds a DNS name to
   a MD, so the previous domains can be served while a new cert is requested.
 * All files necessary to run tests are not in the release package.
 * Making "http-01" the preferred challenge type again, as people "tls-sni-01" requires at least
   one working certificate vhost right now - which not everyone has.
 * moved part of the MD sanity checks from post_config to check_config phase, allowing for error
   detection in check-only runs.

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

6 years agoRebuild.
Lucien Gentis [Sat, 2 Sep 2017 15:45:41 +0000 (15:45 +0000)]
Rebuild.

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

6 years agoXML update.
Lucien Gentis [Sat, 2 Sep 2017 15:44:18 +0000 (15:44 +0000)]
XML update.

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

6 years agoGenerated doc changes
Mike Rumph [Fri, 1 Sep 2017 15:44:11 +0000 (15:44 +0000)]
Generated doc changes

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

6 years agoPROXY protocol proposal corrections
Mike Rumph [Fri, 1 Sep 2017 15:41:20 +0000 (15:41 +0000)]
PROXY protocol proposal corrections

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

6 years agodoc rebuild
Luca Toscano [Fri, 1 Sep 2017 12:48:12 +0000 (12:48 +0000)]
doc rebuild

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

6 years agoOn the trunk:
Stefan Eissing [Fri, 1 Sep 2017 12:11:38 +0000 (12:11 +0000)]
On the trunk:

mod_md: v0.8.1 from github, new feats in CHANGES

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

6 years agoAdding generated files for encrypt.xml
Mike Rumph [Thu, 31 Aug 2017 18:32:04 +0000 (18:32 +0000)]
Adding generated files for encrypt.xml

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

6 years agoGenerated doc changes
Mike Rumph [Thu, 31 Aug 2017 18:14:16 +0000 (18:14 +0000)]
Generated doc changes

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

6 years agoFrench translation rebuild after r1806443
Luca Toscano [Mon, 28 Aug 2017 12:37:14 +0000 (12:37 +0000)]
French translation rebuild after r1806443

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

6 years agosynopsis.xsl: fix broken translation builds
Luca Toscano [Mon, 28 Aug 2017 12:34:58 +0000 (12:34 +0000)]
synopsis.xsl: fix broken translation builds

This commit is a follow up of r1805189, in which
a new logic was added to allow to repeat a directive
name only if its type is different (like SSLPolicy
and <SSLPolicy>). The change broken french translations
since the $this variable, containing the translated
sections, was not used anymore.

The XPath code could surely be improved, but it seems
more pressing to allow our translators to get back
to their daily work without interference.

build.sh validate-* worked fine, as well as the build.sh fr
translation.

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

6 years agoRebuild.
Lucien Gentis [Mon, 28 Aug 2017 11:13:45 +0000 (11:13 +0000)]
Rebuild.

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

6 years agoXML update.
Lucien Gentis [Mon, 28 Aug 2017 11:13:06 +0000 (11:13 +0000)]
XML update.

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

6 years agoRebuild.
Lucien Gentis [Mon, 21 Aug 2017 13:48:59 +0000 (13:48 +0000)]
Rebuild.

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

6 years agoXML update.
Lucien Gentis [Mon, 21 Aug 2017 13:48:23 +0000 (13:48 +0000)]
XML update.

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

6 years agoRebuild.
Lucien Gentis [Mon, 21 Aug 2017 13:43:45 +0000 (13:43 +0000)]
Rebuild.

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

6 years agoXML update.
Lucien Gentis [Mon, 21 Aug 2017 13:41:36 +0000 (13:41 +0000)]
XML update.

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

6 years agoFix remaning compilation warning when MIME_MAGIC_DEBUG is defined.
Christophe Jaillet [Sat, 19 Aug 2017 09:05:55 +0000 (09:05 +0000)]
Fix remaning compilation warning when MIME_MAGIC_DEBUG is defined.
Style is not perfect, but at least, the warning is fixed.

warning: format ‘%c’ expects argument of type ‘int’, but argument 10 has type ‘long unsigned int’ [-Wformat=]

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

6 years agoFix some compilation warning when MIME_MAGIC_DEBUG is defined.
Christophe Jaillet [Sat, 19 Aug 2017 08:12:23 +0000 (08:12 +0000)]
Fix some compilation warning when MIME_MAGIC_DEBUG is defined.

warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument <n> has type ‘<something> *’ [-Wformat=]

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

6 years agoFix a compilation warning introduced by r1802040.
Christophe Jaillet [Sat, 19 Aug 2017 07:42:16 +0000 (07:42 +0000)]
Fix a compilation warning introduced by r1802040.
mod_proxy_fcgi.c:893:19: warning: ‘flushpoll’ may be used uninitialized in this function [-Wmaybe-uninitialized]

This warning is a false positive.

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

6 years agodocumentation rebuild
Luca Toscano [Fri, 18 Aug 2017 08:42:31 +0000 (08:42 +0000)]
documentation rebuild

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

6 years agosections.xml: fix another typo (missed in the prev commit)
Luca Toscano [Fri, 18 Aug 2017 08:42:14 +0000 (08:42 +0000)]
sections.xml: fix another typo (missed in the prev commit)

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

6 years agodocumentation rebuild
Luca Toscano [Fri, 18 Aug 2017 08:39:52 +0000 (08:39 +0000)]
documentation rebuild

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

6 years agosections.xml: fix mod_md's link
Luca Toscano [Fri, 18 Aug 2017 08:39:35 +0000 (08:39 +0000)]
sections.xml: fix mod_md's link

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

6 years agodocumentation rebuild
Luca Toscano [Fri, 18 Aug 2017 08:37:47 +0000 (08:37 +0000)]
documentation rebuild

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

6 years agocommon.dtd: add idtype attribute to directive
Luca Toscano [Fri, 18 Aug 2017 08:37:29 +0000 (08:37 +0000)]
common.dtd: add idtype attribute to directive

This change completes r1805372 and also fixes
links generation for <ManageDomain> and <SSLPolicy>
in sections.xml

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

6 years agoDocumentation rebuild
Luca Toscano [Fri, 18 Aug 2017 08:24:45 +0000 (08:24 +0000)]
Documentation rebuild

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

6 years agodoc xsl/dtd: introduce idtype attribute for directivesynopsis
Luca Toscano [Fri, 18 Aug 2017 08:21:43 +0000 (08:21 +0000)]
doc xsl/dtd: introduce idtype attribute for directivesynopsis

In r1805193 synopsis.xsl was changed to allow two directives
of different type (like <SSLPolicy> and SSLPolicy) to share
the same name but have different ids (and please validate-xml/xhtml).
The downside of this action was that all the quicklinks to
existing directive sections (like <If>, <VirtualHost>, etc..)
were changed, possibly breaking external clients already
referencing them.

This change introduces a new attribute in the directivesynopsis
DTD, namely 'idtype', that will be appended to 'name'
in the id generation by synopsis.xsl. This will rollback
link names to their previous values and will allow documentators
to fine tune directivesynopsis sections as they need
(for example we have recently introduced mod_md's
ManagedDomain/<ManagedDomain>, and modssl's SSLPolicy/<SSLPolicy>).

This approach seems more precise and less invasive to me.
Of course the name of the attribute can be changed later on
to whatever term would fit best, the main concern for me at
the moment is to restore the trunk documentation to its previous
state.

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

6 years agoclearer docs
Jim Jagielski [Thu, 17 Aug 2017 18:36:04 +0000 (18:36 +0000)]
clearer docs

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

6 years agouserland change = we now are OK w/ ms
Jim Jagielski [Thu, 17 Aug 2017 18:06:15 +0000 (18:06 +0000)]
userland change = we now are OK w/ ms

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

6 years agodocumentation rebuild
Luca Toscano [Thu, 17 Aug 2017 15:30:07 +0000 (15:30 +0000)]
documentation rebuild

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

6 years agomod_ssl.xml: fix typo
Luca Toscano [Thu, 17 Aug 2017 15:29:51 +0000 (15:29 +0000)]
mod_ssl.xml: fix typo

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

6 years agoOn the trunk:
Stefan Eissing [Thu, 17 Aug 2017 14:34:44 +0000 (14:34 +0000)]
On the trunk:

mod_md v0.7.0:
     - LIVE: the real Let's Encrypt CA is now live by default! If you need to experiment, configure
           MDCertificateAuthority https://acme-staging.api.letsencrypt.org/directory
     - When existing, complete certificates are renewed, the activation of the new ones is
       delayed by 24 hours (or until the existing ones expire, whatever is earler) to accomodate
       for clients with weird clocks, refs #1.
     - Fixed store sync when MDCAChallenges was removed again from an MD.
     - Fixed crash when MD matched the base server, fixes #23
     - Fixed watchgod resetting staging when server processes disappeared (e.g. reached
       max requests or other limits).

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

6 years ago* Makefile is a generated file that is not version controlled
Ruediger Pluem [Thu, 17 Aug 2017 05:39:11 +0000 (05:39 +0000)]
* Makefile is a generated file that is not version controlled

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

6 years agoFix remaining lint from ms capability for hchecks.
Jim Jagielski [Wed, 16 Aug 2017 15:14:48 +0000 (15:14 +0000)]
Fix remaining lint from ms capability for hchecks.

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

6 years agoOn the trunk:
Stefan Eissing [Wed, 16 Aug 2017 14:27:53 +0000 (14:27 +0000)]
On the trunk:
mod_ssl.xml: adding description of predefined policies, some work tweakings.

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

6 years agodocumentation rebuild
Luca Toscano [Wed, 16 Aug 2017 14:05:43 +0000 (14:05 +0000)]
documentation rebuild

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

6 years agoOn the trunk:
Stefan Eissing [Wed, 16 Aug 2017 14:02:51 +0000 (14:02 +0000)]
On the trunk:

mod_ssl.xml: use of new section directive ids, tweaking examples and some language.

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

6 years agoadding generated unit test files to ignores
Stefan Eissing [Wed, 16 Aug 2017 13:49:49 +0000 (13:49 +0000)]
adding generated unit test files to ignores

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

6 years agomod_md doc rebuild
Luca Toscano [Wed, 16 Aug 2017 13:44:49 +0000 (13:44 +0000)]
mod_md doc rebuild

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

6 years agoDocumentation rebuild
Luca Toscano [Wed, 16 Aug 2017 13:42:46 +0000 (13:42 +0000)]
Documentation rebuild

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

6 years agoUpdate offsets
Jim Jagielski [Wed, 16 Aug 2017 13:41:39 +0000 (13:41 +0000)]
Update offsets

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

6 years agomod_md.xml: correctly name ManagedDomain
Luca Toscano [Wed, 16 Aug 2017 13:40:59 +0000 (13:40 +0000)]
mod_md.xml: correctly name ManagedDomain

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

6 years agocommon|synopsis.xsl: rename directive type=sections id generation
Luca Toscano [Wed, 16 Aug 2017 13:40:12 +0000 (13:40 +0000)]
common|synopsis.xsl: rename directive type=sections id generation

This commits is a follow up of r1805189 and it is meant
to allow directives with the same name but different type
to coexist in the same document without triggering errors
while executing validate-xhtml.

For example: mod_md.xml recently introduced the following:

* ManagedDomain
* <ManagedDomain> (this one is type=section)

In my opinion this is a perfectly valid use case and it should
be allowed/handled correctly by the doc generation process/validation.

In order to avoid clashing the directive ids will get a suffix
called "section" if type=section will be present as param.

Quicklinks, <directive> links have been updated to the new
scheme to avoid dandling pointers in the doc.

Comments/reviews are welcome, if I left something behind
please let me know.

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

6 years agofix clean slate build that so far missed libmd.la on first run
Stefan Eissing [Wed, 16 Aug 2017 13:16:58 +0000 (13:16 +0000)]
fix clean slate build that so far missed libmd.la on first run

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

6 years agoUmm. This is C :)
Jim Jagielski [Wed, 16 Aug 2017 13:07:31 +0000 (13:07 +0000)]
Umm. This is C :)

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

6 years agosynopsis.xsl: do not render two times the same
Luca Toscano [Wed, 16 Aug 2017 13:04:55 +0000 (13:04 +0000)]
synopsis.xsl: do not render two times the same
              directive HTML if more than one
              directive share the same name.

This has happened when mod_md.xml was introduced,
and the following directives shared the same name:
* ManagedDomain
* <ManagedDomain>

With the current code each time that a node needs
to be rendered it will emit a duplicate, ending up
in the above example with 4 sections rather than two.

Uniqueness of sections will be ensured by the HTML
elements ids, to avoid errors before committing for
example (accidental duplicates, etc..).

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

6 years agoloadfactor now decimal
Jim Jagielski [Wed, 16 Aug 2017 12:57:41 +0000 (12:57 +0000)]
loadfactor now decimal

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

6 years agoOn the trunk:
Stefan Eissing [Wed, 16 Aug 2017 12:43:41 +0000 (12:43 +0000)]
On the trunk:

mod_ssl: not using SSLV3 constant that would define what we mean by SSL version 3 if openssl does not know about SSL version 3. Then we pretend to not know about it either.

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

6 years agoOn the trunk:
Stefan Eissing [Wed, 16 Aug 2017 12:35:49 +0000 (12:35 +0000)]
On the trunk:

mod_ssl.xml: completing descriptions and proper section name use.

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

6 years agoadded SSLPolicy to sections
Stefan Eissing [Wed, 16 Aug 2017 12:23:23 +0000 (12:23 +0000)]
added SSLPolicy to sections

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

6 years agoOn the trunk:
Stefan Eissing [Wed, 16 Aug 2017 12:22:28 +0000 (12:22 +0000)]
On the trunk:

mod_ssl: adding SSLPolicy and SSLProxyPolicy directives plus documentation.

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

6 years agofixing empty section
Stefan Eissing [Wed, 16 Aug 2017 11:55:36 +0000 (11:55 +0000)]
fixing empty section

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

6 years agomod_md.xml transforms, added ManagedDomain to sections
Stefan Eissing [Wed, 16 Aug 2017 11:53:35 +0000 (11:53 +0000)]
mod_md.xml transforms, added ManagedDomain to sections

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

6 years agoFix typo in log message.
Joe Orton [Wed, 16 Aug 2017 09:50:39 +0000 (09:50 +0000)]
Fix typo in log message.

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

6 years agoFix ProxyAddHeaders merging.
Joe Orton [Tue, 15 Aug 2017 16:54:22 +0000 (16:54 +0000)]
Fix ProxyAddHeaders merging.

* modules/proxy/mod_proxy.h:
  Add add_forwarded_headers_set field to proxy_dir_conf.

* modules/proxy/mod_proxy.c (create_proxy_dir_config, ):
  Initialize add_forwarded_headers_set.
  (add_proxy_http_headers): Set it.
  (merge_proxy_dir_config): Merge add_forwarded_headers correctly.

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

6 years agomod_md.xml: add some links and fix some details
Luca Toscano [Mon, 14 Aug 2017 10:13:50 +0000 (10:13 +0000)]
mod_md.xml: add some links and fix some details

The transformation document is still not available
since build.sh fails. More info in my last email
thread in docs@ for whoever is interested.

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

6 years agoOn the trunk:
Stefan Eissing [Fri, 11 Aug 2017 13:04:29 +0000 (13:04 +0000)]
On the trunk:

mod_md: some internal refactoring of config/sectio handling

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

6 years agoDefined constants for md config directives.
Stefan Eissing [Fri, 11 Aug 2017 08:39:31 +0000 (08:39 +0000)]
Defined constants for md config directives.

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

6 years agofix for <ManagedDomain sections with inner <If or other sections
Stefan Eissing [Thu, 10 Aug 2017 13:58:26 +0000 (13:58 +0000)]
fix for <ManagedDomain sections with inner <If or other sections

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

6 years agostart of a howto to set up encryption using mod_md
Stefan Eissing [Thu, 10 Aug 2017 13:39:07 +0000 (13:39 +0000)]
start of a howto to set up encryption using mod_md

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

6 years agomod_md: more documentation
Stefan Eissing [Wed, 9 Aug 2017 15:27:37 +0000 (15:27 +0000)]
mod_md: more documentation

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

6 years agomod_md documentation
Stefan Eissing [Wed, 9 Aug 2017 15:19:34 +0000 (15:19 +0000)]
mod_md documentation

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

6 years agolog tags for mod_ssl changes and new mod_md
Stefan Eissing [Wed, 9 Aug 2017 13:59:26 +0000 (13:59 +0000)]
log tags for mod_ssl changes and new mod_md

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

6 years agoOn the trunk:
Stefan Eissing [Wed, 9 Aug 2017 13:57:33 +0000 (13:57 +0000)]
On the trunk:

mod_md: new module for managing domains across VirtualHosts

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

6 years agomod_md: v0.6.1 from github trunk-md trunk-md
Stefan Eissing [Wed, 9 Aug 2017 13:43:26 +0000 (13:43 +0000)]
mod_md: v0.6.1 from github

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

6 years agomod_md: v0.6.0 from github
Stefan Eissing [Tue, 8 Aug 2017 13:50:20 +0000 (13:50 +0000)]
mod_md: v0.6.0 from github

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

6 years agomod_ssl uses now mod_md header file for optional function declaration
Stefan Eissing [Tue, 8 Aug 2017 13:33:45 +0000 (13:33 +0000)]
mod_ssl uses now mod_md header file for optional function declaration

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

6 years agoadding a2md build to modules/md, installed in bin
Stefan Eissing [Tue, 8 Aug 2017 12:08:42 +0000 (12:08 +0000)]
adding a2md build to modules/md, installed in bin

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

6 years agobuilding separate lib and static linking it into mod_md
Stefan Eissing [Tue, 8 Aug 2017 11:37:48 +0000 (11:37 +0000)]
building separate lib and static linking it into mod_md

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

6 years agofirst configure+compile version
Stefan Eissing [Fri, 4 Aug 2017 13:47:25 +0000 (13:47 +0000)]
first configure+compile version

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

6 years agobumping version, removing some unused code, fixes in base64url from mod_md
Stefan Eissing [Fri, 4 Aug 2017 11:03:08 +0000 (11:03 +0000)]
bumping version, removing some unused code, fixes in base64url from mod_md

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

6 years agomod_http2: non-dev version for backport
Stefan Eissing [Fri, 4 Aug 2017 10:15:14 +0000 (10:15 +0000)]
mod_http2: non-dev version for backport

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

6 years agobranch for integrating mod_md into trunk
Stefan Eissing [Fri, 4 Aug 2017 09:52:04 +0000 (09:52 +0000)]
branch for integrating mod_md into trunk

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

6 years agoRebuild.
Lucien Gentis [Tue, 1 Aug 2017 15:37:03 +0000 (15:37 +0000)]
Rebuild.

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

6 years agoXML updates.
Lucien Gentis [Tue, 1 Aug 2017 15:35:41 +0000 (15:35 +0000)]
XML updates.

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

6 years agomod_http2: signalling produce IO before waiting on beam buffer to drain.
Stefan Eissing [Sun, 30 Jul 2017 18:54:15 +0000 (18:54 +0000)]
mod_http2: signalling produce IO before waiting on beam buffer to drain.

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

6 years agomod_http2: version bump, partial fix for stream response getting stuck, see https...
Stefan Eissing [Sun, 30 Jul 2017 11:57:35 +0000 (11:57 +0000)]
mod_http2: version bump, partial fix for stream response getting stuck, see https://github.com/icing/mod_h2/issues/143

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

6 years agoFollow up to r1803396: CHANGES entry.
Yann Ylavic [Sat, 29 Jul 2017 23:21:58 +0000 (23:21 +0000)]
Follow up to r1803396: CHANGES entry.

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

6 years agomod_ssl, ab: compatibility with LibreSSL. PR 61184.
Yann Ylavic [Sat, 29 Jul 2017 23:05:02 +0000 (23:05 +0000)]
mod_ssl, ab: compatibility with LibreSSL.  PR 61184.

LibreSSL defines OPENSSL_VERSION_NUMBER = 2.0, but is not compatible with
all of the latest OpenSSL 1.1 API.

Address this by defining MODSSL_USE_OPENSSL_PRE_1_1_API which is true for
anything but OpenSSL >= 1.1 (for now).

Proposed by: Bernard Spil <brnrd freebsd.org>
Reviewed by: ylavic

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

6 years agomod_ssl: we can't use SSL_COMP_free_compression_methods() if OPENSSL_NO_COMP
Yann Ylavic [Sat, 29 Jul 2017 20:35:56 +0000 (20:35 +0000)]
mod_ssl: we can't use SSL_COMP_free_compression_methods() if OPENSSL_NO_COMP
is defined.  PR 61206.

Submitted by: Michael Schlenker <msc contact.de>

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

6 years agoxforms
Eric Covener [Fri, 28 Jul 2017 17:46:12 +0000 (17:46 +0000)]
xforms

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

6 years agocross link some balancer directives across proxy mods
Eric Covener [Fri, 28 Jul 2017 17:45:35 +0000 (17:45 +0000)]
cross link some balancer directives across proxy mods

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

6 years agoDoc rebuild (reverts r1802703)
Luca Toscano [Fri, 28 Jul 2017 17:16:47 +0000 (17:16 +0000)]
Doc rebuild (reverts r1802703)

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

6 years agomod_proxy doc rebuild
Luca Toscano [Fri, 28 Jul 2017 09:14:34 +0000 (09:14 +0000)]
mod_proxy doc rebuild

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

6 years agomod_proxy.xml: mention DNS caching when reusing backend connection
Luca Toscano [Fri, 28 Jul 2017 09:10:37 +0000 (09:10 +0000)]
mod_proxy.xml: mention DNS caching when reusing backend connection

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

6 years agoClarify some mod_proxy concepts in the docs
Luca Toscano [Thu, 27 Jul 2017 12:30:20 +0000 (12:30 +0000)]
Clarify some mod_proxy concepts in the docs

I have recently got some basic mod-proxy concepts
and these simple info would have helped me a lot:

- connection pooling == reuse. My brain did not pick
  up this simple nomenclature at first read for some
  reason, probably because we have parameters called
  "*reuse*" and not "*pooling*". I find the term
  "reuse" clearer than "pooling", but this is
  debatable :)
- the concept of "Worker" needs to be read before
  the ProxyPass section (that people probably read
  directly after checking a search engine) to fully
  understand its power.
- the fact that a worker is related to a single process
  (and not shared as a Balancer) is a really important
  concept that I tried to highlight when talking
  about maxconns (question popped up a lot of times
  from users).

Hope that my understanding is correct, feedback is welcome.

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

6 years agoevent: Avoid possible blocking in the listener thread when shutting down
Yann Ylavic [Mon, 24 Jul 2017 23:19:06 +0000 (23:19 +0000)]
event: Avoid possible blocking in the listener thread when shutting down
connections. PR 60956.

start_lingering_close_nonblocking() now puts connections in defer_linger_chain
which is emptied by any worker thread (all atomically) after its usual work,
hence any possibly blocking flush and lingering close run outside the listener.

The listener may create a dedicated worker if it fills defer_linger_chain or
while it's not empty, calling push2worker with a NULL cs.

The state machine in process_socket() is slighly modified to be able to enter
with CONN_STATE_LINGER directly w/o clogging_input_filters to interfer.

New abort_socket_nonblocking() allows to reset connections when nonblocking is
required and we can't do much about the connection anymore, nor we want the
system to linger on its own after close().

Many thanks to Stefan Priebe for his heavy testing on many event's changes!

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