]> granicus.if.org Git - apache/log
apache
7 years agoupdated mod_md log tags
Stefan Eissing [Wed, 13 Sep 2017 14:20:07 +0000 (14:20 +0000)]
updated mod_md log tags

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

7 years agoadded new mod_md directives
Stefan Eissing [Wed, 13 Sep 2017 14:19:40 +0000 (14:19 +0000)]
added new mod_md directives

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

7 years agoOn the trunk:
Stefan Eissing [Wed, 13 Sep 2017 14:16:49 +0000 (14:16 +0000)]
On the trunk:

mod_md: v0.9.5:
     - New directive (srly: what do you expect at this point?) "MDMustStaple on|off" to control if
       new certificates are requested with the OCSP Must Staple extension.
     - Known limitation: when the server is configured to ditch and restart child processes, for example
       after a certain number of connections/requests, the mod_md watchdog instance might migrate
       to a new child process. Since not all its state is persisted, some messsages might appear a
       second time in the logs.
     - Adding checks when 'MDRequireHttps' is used. It is considered an error when 'MDPortMap 443:-'
       is used - which negates that a https: port exists. Also, a warning is logged if no
       VirtualHost can be found for a Managed Domain that has port 443 (or the mapped one) in
       its address list.
     - New directive 'MDRequireHttps' for redirecting http: traffic to a Managed Domain, permanently
       or temporarily.
     - Fix for using a fallback certificate on initial signup of a Managed Domain. Requires also
       a changed mod_ssl patch (v5) to take effect.
     - compatibility with libressl

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

7 years ago* server/protocol.c (ap_content_length_filter): Rewrite the content
Joe Orton [Wed, 13 Sep 2017 10:59:51 +0000 (10:59 +0000)]
* server/protocol.c (ap_content_length_filter): Rewrite the content
  length filter to avoid arbitrary memory consumption for streaming
  responses (e.g. large CGI script output).  Ensures C-L is still
  generated in common cases (static content, small CGI script output),
  but this DOES change behaviour and some responses will end up
  chunked rather than C-L computed.

PR: 61222
Submitted by: jorton, rpluem

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

7 years agodocs: allow Directive/<Directive> naming in prettify.js/css
Luca Toscano [Wed, 13 Sep 2017 09:54:37 +0000 (09:54 +0000)]
docs: allow Directive/<Directive> naming in prettify.js/css

Creditis to Humbedooh for all the work.

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

7 years agodocs: add ManagedDomain and SSLPolicy containers to prettify.js
Luca Toscano [Wed, 13 Sep 2017 07:54:28 +0000 (07:54 +0000)]
docs: add ManagedDomain and SSLPolicy containers to prettify.js

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

7 years agodocs: update the prettify.js files with new directives
Luca Toscano [Wed, 13 Sep 2017 07:28:57 +0000 (07:28 +0000)]
docs: update the prettify.js files with new directives

Procedure that I've used:

1) Copy https://httpd.apache.org/docs/trunk/mod/directives.html
   to a text file.
2) Generate a csv with something like
   cat /tmp/trunk_directives | sort | tr "\n" ","
3) Replace the content of CONFIG_KEYWORDS in prettify.js
   with the list generated in 2)
4) Run the command the MINIFY command to generate prettify.min.js

This commit should hopefully allow a better syntax highlighting
in our docs examples.

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

7 years agoDocumentation rebuild
Luca Toscano [Tue, 12 Sep 2017 16:26:37 +0000 (16:26 +0000)]
Documentation rebuild

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

7 years agomod_proxy_fcgi.xml: add examples for flushpackets=on
Luca Toscano [Tue, 12 Sep 2017 16:26:19 +0000 (16:26 +0000)]
mod_proxy_fcgi.xml: add examples for flushpackets=on

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

7 years agoOn the trunk:
Stefan Eissing [Tue, 12 Sep 2017 14:27:47 +0000 (14:27 +0000)]
On the trunk:

mod_ssl: properly initializing server for fallback certificates provided by mod_md.

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

7 years agoDocumentation rebuild
Luca Toscano [Tue, 12 Sep 2017 10:06:00 +0000 (10:06 +0000)]
Documentation rebuild

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

7 years agomod_md.xml: minor style/visual changes
Luca Toscano [Tue, 12 Sep 2017 10:05:35 +0000 (10:05 +0000)]
mod_md.xml: minor style/visual changes

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

7 years agoDocumentation rebuild
Luca Toscano [Tue, 12 Sep 2017 09:41:50 +0000 (09:41 +0000)]
Documentation rebuild

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

7 years agomod_md.xml: add missing descriptions and directivesynopsis
Luca Toscano [Tue, 12 Sep 2017 09:41:24 +0000 (09:41 +0000)]
mod_md.xml: add missing descriptions and directivesynopsis

Based on the work of Bernard Spil <brnrd freebsd org>.

PR: 61512

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

7 years agoUpdate CHANGES after r1808008
Luca Toscano [Tue, 12 Sep 2017 08:08:35 +0000 (08:08 +0000)]
Update CHANGES after r1808008

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

7 years agomod_proxy_fcgi: follow up to r1807876.
Yann Ylavic [Mon, 11 Sep 2017 10:49:13 +0000 (10:49 +0000)]
mod_proxy_fcgi: follow up to r1807876.
Fix mixed declarations and code [-Wdeclaration-after-statement].

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

7 years agohtdigest: prevent buffer overflow when strings in lines are too long.
Luca Toscano [Mon, 11 Sep 2017 10:28:09 +0000 (10:28 +0000)]
htdigest: prevent buffer overflow when strings in lines are too long.

Reported by: Hanno Böck
PR: 61511

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

7 years agoa2md: all objects should be compiled before linking, or "make -j" may break.
Yann Ylavic [Mon, 11 Sep 2017 10:19:19 +0000 (10:19 +0000)]
a2md: all objects should be compiled before linking, or "make -j" may break.

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

7 years ago* We need i if we have HAVE_SSL_CONF_CMD defined
Ruediger Pluem [Mon, 11 Sep 2017 06:15:58 +0000 (06:15 +0000)]
* We need i if we have HAVE_SSL_CONF_CMD defined

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

7 years ago* Silence compiler warning and remove unused variable
Ruediger Pluem [Mon, 11 Sep 2017 06:02:14 +0000 (06:02 +0000)]
* Silence compiler warning and remove unused variable

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

7 years agoAdded Spanish Translation for event.xml.es
Daniel Ferradal [Sun, 10 Sep 2017 12:35:55 +0000 (12:35 +0000)]
Added Spanish Translation for event.xml.es

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

7 years agoRebuild.
Lucien Gentis [Sat, 9 Sep 2017 13:23:15 +0000 (13:23 +0000)]
Rebuild.

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

7 years agoXML updates.
Lucien Gentis [Sat, 9 Sep 2017 13:22:11 +0000 (13:22 +0000)]
XML updates.

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

7 years agomod_proxy_fcgi: limit the flush buckets inserted when flushpackets=on|auto
Luca Toscano [Sat, 9 Sep 2017 10:24:19 +0000 (10:24 +0000)]
mod_proxy_fcgi: limit the flush buckets inserted when flushpackets=on|auto

This commit is a follow up of r1802040 based on Jacob's
feedback, namely inserting the FLUSH buckets only when
really needed and useful, not always.

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

7 years agoDocumentation rebuild part 2
Luca Toscano [Sat, 9 Sep 2017 09:32:05 +0000 (09:32 +0000)]
Documentation rebuild part 2

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

7 years agoDocumentation rebuild
Luca Toscano [Sat, 9 Sep 2017 09:31:42 +0000 (09:31 +0000)]
Documentation rebuild

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

7 years agomod_ssl.xml: simplification of SSLEngine section
Luca Toscano [Sat, 9 Sep 2017 09:30:22 +0000 (09:30 +0000)]
mod_ssl.xml: simplification of SSLEngine section

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

7 years agoevent.xml: fix reference to upcoming httpd release
Luca Toscano [Sat, 9 Sep 2017 09:29:47 +0000 (09:29 +0000)]
event.xml: fix reference to upcoming httpd release

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

7 years agoOn the trunk:
Stefan Eissing [Fri, 8 Sep 2017 15:06:44 +0000 (15:06 +0000)]
On the trunk:

mod_md: added necessary CPPFLAGS for a2md build.

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

7 years agoOn the trunk:
Stefan Eissing [Fri, 8 Sep 2017 14:55:04 +0000 (14:55 +0000)]
On the trunk:

mod_md: v0.9.2: new directive 'MDHttpProxy' to define a proxy for outgoing connection,
some minor bugfixes, twiddle the build system to avoid non-pic code generation.

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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