]> granicus.if.org Git - apache/log
apache
6 years agofix properties
André Malo [Thu, 5 Oct 2017 07:05:41 +0000 (07:05 +0000)]
fix properties

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

6 years agomake docs.
Yann Ylavic [Wed, 4 Oct 2017 17:25:11 +0000 (17:25 +0000)]
make docs.

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

6 years agoFollow up to r1810358: add html files.
Yann Ylavic [Wed, 4 Oct 2017 17:16:48 +0000 (17:16 +0000)]
Follow up to r1810358: add html files.

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

6 years agoFollow up to r1810605.
Yann Ylavic [Wed, 4 Oct 2017 17:08:13 +0000 (17:08 +0000)]
Follow up to r1810605.

Update docs' BNF, provide a short description of the new %{::} syntax and
a few examples. To be continued..

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

6 years agoFollow up to rr1810605 and r1811104.
Yann Ylavic [Wed, 4 Oct 2017 16:20:02 +0000 (16:20 +0000)]
Follow up to rr1810605 and r1811104.

Generated parser files.

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

6 years agoap_expr: follow up to r1810605.
Yann Ylavic [Wed, 4 Oct 2017 16:18:46 +0000 (16:18 +0000)]
ap_expr: follow up to r1810605.

The "split" and "join" operators are now a prefix, ala perl.
Add the "sub" operator for string substitutions, prefix still.

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

6 years agoOn the trunk:
Stefan Eissing [Wed, 4 Oct 2017 14:55:26 +0000 (14:55 +0000)]
On the trunk:

mod_md: v0.9.9, fix for applying challenge type based on available ports.

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

6 years agoap_expr: follow up to r1810605.
Yann Ylavic [Tue, 3 Oct 2017 13:45:34 +0000 (13:45 +0000)]
ap_expr: follow up to r1810605.

Better token/type descriptors for better parsing error messages.

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

6 years agoAxe backported entries.
Yann Ylavic [Tue, 3 Oct 2017 13:26:52 +0000 (13:26 +0000)]
Axe backported entries.

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

6 years agoAlso affects official clang 5 (maybe older ones too...)
Jim Jagielski [Tue, 3 Oct 2017 12:53:04 +0000 (12:53 +0000)]
Also affects official clang 5 (maybe older ones too...)

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

6 years agohttpdunit: include .h to avoid code duplication.
Yann Ylavic [Tue, 3 Oct 2017 09:33:17 +0000 (09:33 +0000)]
httpdunit: include .h to avoid code duplication.

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

6 years agoFollow up to r1804123 r1809633.
Yann Ylavic [Tue, 3 Oct 2017 09:26:47 +0000 (09:26 +0000)]
Follow up to r1804123 r1809633.

Silence "-Wunknown-pragmas" on GCC...

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

6 years agoapr_expr: follow up to r1810605.
Yann Ylavic [Tue, 3 Oct 2017 09:23:32 +0000 (09:23 +0000)]
apr_expr: follow up to r1810605.

Not necessarily ASCII here..

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

6 years agoap_expr: open string expressions to the <word>.
Yann Ylavic [Mon, 2 Oct 2017 21:57:26 +0000 (21:57 +0000)]
ap_expr: open string expressions to the <word>.

Introduces the syntax "%{:<word>:}", borrowed from the <var>'s one, and which
likewise can be embedded anywhere in a string expression (the same reserved
character ':' gets reused in an unambiguous manner).

This allows the two types of expressions (boolean and string) to now share
fully the same language set, namely: strings, lists, vars, regexes, backrefs,
functions with multiple or complex arguments, and especially combinations
thereof.

Most of them were reserved to boolean expressions only, while complex string
constructions can also benefit to, well, strings. The <word> construct allows
that (say the syntax "%{:<word>:}" looks like a temporary variable constructed
in a string).

Since string expressions may now have to deal with lists (arrays), they also
need a way to produce/extract strings from list and vice versa. This can be
done with the new "join" and "split" operators, while the new substitution
regexes (like "s/<pattern>/<substitute>/<flags>") may be used to manipulate
strings in place. All this of course available for both string and boolean
expressions.

Tests and doc updates upcoming..

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

6 years agoxforms
Jim Jagielski [Mon, 2 Oct 2017 18:15:40 +0000 (18:15 +0000)]
xforms

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

6 years agoGet maintainer-mode working again w/ clang-900
Jim Jagielski [Mon, 2 Oct 2017 15:29:14 +0000 (15:29 +0000)]
Get maintainer-mode working again w/ clang-900

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

6 years agoMore C90 stuff...
Jim Jagielski [Mon, 2 Oct 2017 15:28:42 +0000 (15:28 +0000)]
More C90 stuff...

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

6 years agoFinal comment-format changes
Jim Jagielski [Mon, 2 Oct 2017 14:39:56 +0000 (14:39 +0000)]
Final comment-format changes

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

6 years agoAnd standard format - no functional change
Jim Jagielski [Mon, 2 Oct 2017 14:36:42 +0000 (14:36 +0000)]
And standard format - no functional change

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

6 years agoC changes / C90/C89
Jim Jagielski [Mon, 2 Oct 2017 14:35:33 +0000 (14:35 +0000)]
C changes / C90/C89

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

6 years agoUserland change
Jim Jagielski [Mon, 2 Oct 2017 14:21:56 +0000 (14:21 +0000)]
Userland change

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

6 years agoFold in ALv2 licensed UWSGI proxy (sub)module as acknowledged via
Jim Jagielski [Mon, 2 Oct 2017 14:20:15 +0000 (14:20 +0000)]
Fold in ALv2 licensed UWSGI proxy (sub)module as acknowledged via
https://github.com/unbit/uwsgi/issues/1636

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

6 years agoAdd a warning for host starting with a letter.
Jean-Frederic Clere [Mon, 2 Oct 2017 09:18:50 +0000 (09:18 +0000)]
Add a warning for host starting with a letter.
Fix for PR 61540.

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

7 years agoFix ascii art :)
Yann Ylavic [Sat, 30 Sep 2017 19:28:50 +0000 (19:28 +0000)]
Fix ascii art :)

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

7 years agoRebuild.
Lucien Gentis [Sat, 30 Sep 2017 13:28:30 +0000 (13:28 +0000)]
Rebuild.

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

7 years agoXML updates.
Lucien Gentis [Sat, 30 Sep 2017 13:27:38 +0000 (13:27 +0000)]
XML updates.

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

7 years agoRFC8081, new font/ registry as pointed out by Steffen
William A. Rowe Jr [Fri, 29 Sep 2017 15:10:29 +0000 (15:10 +0000)]
RFC8081, new font/ registry as pointed out by Steffen

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

7 years agomod_http2: non-dev 1.10.12 for backport
Stefan Eissing [Fri, 29 Sep 2017 12:33:35 +0000 (12:33 +0000)]
mod_http2: non-dev 1.10.12 for backport

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

7 years agoreverting r1807238 bc not addressing the issue https://github.com/icing/mod_h2/issues/120
Stefan Eissing [Fri, 29 Sep 2017 12:29:23 +0000 (12:29 +0000)]
reverting r1807238 bc not addressing the issue https://github.com/icing/mod_h2/issues/120

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

7 years agoForward port 2.4.x change r1810016
William A. Rowe Jr [Thu, 28 Sep 2017 17:35:29 +0000 (17:35 +0000)]
Forward port 2.4.x change r1810016

Drops expat LICENSE since this is no longer bundled by apr-util
which is no longer bundled by httpd.

Note text was stale.

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

7 years agoOn the trunk:
Stefan Eissing [Thu, 28 Sep 2017 12:26:28 +0000 (12:26 +0000)]
On the trunk:
mod_http2: v0.10.12, removed optimization for mutex handling in bucket beams that could lead to assertion failure in edge cases.

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

7 years agoMPMs unix: follow up to r1809881 and r1809973.
Yann Ylavic [Thu, 28 Sep 2017 11:31:57 +0000 (11:31 +0000)]
MPMs unix: follow up to r1809881 and r1809973.

unset_signals() is called when ap_pglobal is destroyed too.

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

7 years agocore, MPMs unix: follow up to r1809881.
Yann Ylavic [Thu, 28 Sep 2017 11:08:09 +0000 (11:08 +0000)]
core, MPMs unix: follow up to r1809881.

Deregister all hooks first (in pre_cleanup), by doing it last we could still
have had them run when DSOs were unloaded.

Likewise, avoid double faults when handling fatal signals by restoring the
default handler before pconf is cleared (we can't ap_log_error there).

Finally, we need to ignore sig_term/restart (do nothing) when the main
process is exiting (i.e. ap_pglobal is destroyed), since retained_data are
freed.

Aimed to fix all faults in PR 61558.

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

7 years agofixup properties
André Malo [Wed, 27 Sep 2017 16:45:40 +0000 (16:45 +0000)]
fixup properties

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

7 years agoupdate transformation
André Malo [Wed, 27 Sep 2017 16:41:07 +0000 (16:41 +0000)]
update transformation

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

7 years agocore: deregister all hooks before leaving pconf, otherwise some late cleanup
Yann Ylavic [Wed, 27 Sep 2017 16:28:09 +0000 (16:28 +0000)]
core: deregister all hooks before leaving pconf, otherwise some late cleanup
or function call (e.g. ap_log) may use one while DSOs are unloaded.

See PR 61558 (double/second fault).

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

7 years agoCHANGES: remove backported items
Luca Toscano [Tue, 26 Sep 2017 13:28:31 +0000 (13:28 +0000)]
CHANGES: remove backported items

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

7 years agoOn the trunk:
Stefan Eissing [Tue, 26 Sep 2017 08:33:35 +0000 (08:33 +0000)]
On the trunk:

mod_md: v0.9.7
     - Use of the new module flag
     - Removed obsolete function from interface to mod_ssl.
     - Fallback certificates has version set and no longer claims to be a CA. (re issue #32)
     - MDRequireHttps now happens before any Redirect.

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

7 years agoOn the trunk:
Stefan Eissing [Tue, 26 Sep 2017 08:22:52 +0000 (08:22 +0000)]
On the trunk:

mod_ssl: make the new module flag used.

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

7 years agoOn the trunk:
Stefan Eissing [Mon, 25 Sep 2017 14:20:47 +0000 (14:20 +0000)]
On the trunk:

Fix for maintainer-mode compiler errors when including check.h in unit tests.

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

7 years agoRebuild.
Lucien Gentis [Sat, 23 Sep 2017 16:12:14 +0000 (16:12 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sat, 23 Sep 2017 16:08:58 +0000 (16:08 +0000)]
XML update.

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

7 years agoconfig: follow up to r1809302.
Yann Ylavic [Fri, 22 Sep 2017 13:25:15 +0000 (13:25 +0000)]
config: follow up to r1809302.
Associate ap_get_module_flags() to MMN bump.

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

7 years agoconfig: follow up to r1809302.
Yann Ylavic [Fri, 22 Sep 2017 13:13:44 +0000 (13:13 +0000)]
config: follow up to r1809302.

Provide a convenient function to get module flags, and remove useless
AP_MODULE_HAS_FLAGS checks in the core, core's version is at current MMN.

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

7 years agoconfig: follow up to r1809302.
Yann Ylavic [Fri, 22 Sep 2017 12:31:54 +0000 (12:31 +0000)]
config: follow up to r1809302.
We need to check that the module itself is at the right version.

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

7 years agomod_ssl: follow up to r1809302.
Yann Ylavic [Fri, 22 Sep 2017 11:59:57 +0000 (11:59 +0000)]
mod_ssl: follow up to r1809302.

Make use of AP_MODULE_FLAG_ALWAYS_MERGE.

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

7 years agoconfig: allow to specify flags when registering modules.
Yann Ylavic [Fri, 22 Sep 2017 11:58:53 +0000 (11:58 +0000)]
config: allow to specify flags when registering modules.

First one is AP_MODULE_FLAG_ALWAYS_MERGE.

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

7 years ago* modules/ssl/ssl_private.h: Remove unused macros.
Joe Orton [Fri, 22 Sep 2017 10:33:08 +0000 (10:33 +0000)]
* modules/ssl/ssl_private.h: Remove unused macros.

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

7 years agoevent, simple, motorz: better naming, error code checking and arrangement
Yann Ylavic [Fri, 22 Sep 2017 08:07:47 +0000 (08:07 +0000)]
event, simple, motorz: better naming, error code checking and arrangement
around pending output data handing; no functional change.

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

7 years agoevent: better apr_pollset_add() failure handling to avoid an (very unlikely)
Yann Ylavic [Fri, 22 Sep 2017 07:53:56 +0000 (07:53 +0000)]
event: better apr_pollset_add() failure handling to avoid an (very unlikely)
worker vs listener race condition.

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

7 years agoFix a segmentation fault if AuthzDBDQuery is not set.
Christophe Jaillet [Thu, 21 Sep 2017 19:31:32 +0000 (19:31 +0000)]
Fix a segmentation fault if AuthzDBDQuery is not set.
PR 61546 [Lubos Uhliarik <luhliari redhat.com>]

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

7 years agoOn the trunk:
Stefan Eissing [Thu, 21 Sep 2017 09:20:14 +0000 (09:20 +0000)]
On the trunk:

mpm_common.h: guarding AP_ENABLE_EXCEPTION_HOOK against use when undefined so that -Wundef does not triggger.

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

7 years agoOn the trunk:
Stefan Eissing [Wed, 20 Sep 2017 14:41:25 +0000 (14:41 +0000)]
On the trunk:

mod_ssl: unshare SSLSrvConfigRec instances between base server and virtual hosts. This avoids
     overwrites of later initializattions (vhost_id), selective disables by "SSLEngine addr-list"
     and certificate/key pickup from mod_md.

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

7 years agomod_rewrite,core: avoid Vary:Host (part 2)
Luca Toscano [Wed, 20 Sep 2017 13:03:41 +0000 (13:03 +0000)]
mod_rewrite,core: avoid Vary:Host (part 2)

This is a follow up of r1808746 after a chat
with Yann on dev@:

- the HTTP:Host variable suffers from the same problem
- the strcasecmp should be used to allow case-sensitive
  comparisons.
- in mod_rewrite is less cumbersome and more clean to just
  make the Host header check in lookup_header, so it will
  be automatically picked up by every part of the code
  that uses it. It shouldn't be a relevant overhead for
  mod_rewrite.

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

7 years agoMinor corrections.
Lucien Gentis [Tue, 19 Sep 2017 16:47:30 +0000 (16:47 +0000)]
Minor corrections.

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

7 years agomod_speling/PR 38923: don't embed Referer in link in error page.
Nick Kew [Mon, 18 Sep 2017 21:20:51 +0000 (21:20 +0000)]
mod_speling/PR 38923: don't embed Referer in link in error page.

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

7 years agomod_rewrite/core: avoid the 'Vary: Host' header
Luca Toscano [Mon, 18 Sep 2017 17:08:54 +0000 (17:08 +0000)]
mod_rewrite/core: avoid the 'Vary: Host' header

In PR 58231 is was brought up that httpd adds the
Vary: Host header whenever a condition is set to true
in mod_rewrite or in an <If> block.

The https://tools.ietf.org/html/rfc7231#section-7.1.4
section seems to disallow this use case:

"The "Vary" header field in a response describes "
"what parts of a request message, "
"aside from the method, Host header field, [...]"

I had a chat with the folks in #traffic-server and
they don't see much point in having a Vary: Host header,
plus it was reported that Varnish doesn't like it very
much (namely it does not cache the response when
it sees the header, links of the report in the PR).

I don't see much value in this behavior of httpd so
I am inclined to remove this response header value,
but I'd be glad to get a more experienced opinion.

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

7 years agoformat typo
Jim Jagielski [Mon, 18 Sep 2017 14:17:04 +0000 (14:17 +0000)]
format typo

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

7 years ago* Correctly dump pools that have no tag
Ruediger Pluem [Mon, 18 Sep 2017 07:23:43 +0000 (07:23 +0000)]
* Correctly dump pools that have no tag

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

7 years agoRebuild.
Lucien Gentis [Sat, 16 Sep 2017 14:03:16 +0000 (14:03 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sat, 16 Sep 2017 14:00:43 +0000 (14:00 +0000)]
XML update.

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

7 years agoprettify.js: add highlight for MDRequireHttps
Luca Toscano [Fri, 15 Sep 2017 12:09:58 +0000 (12:09 +0000)]
prettify.js: add highlight for MDRequireHttps

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

7 years agoDocumentation rebuild
Luca Toscano [Fri, 15 Sep 2017 11:09:19 +0000 (11:09 +0000)]
Documentation rebuild

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

7 years agoOn the trunk:
Stefan Eissing [Fri, 15 Sep 2017 10:35:53 +0000 (10:35 +0000)]
On the trunk:

mod_md: v0.9.6: a "MDRequireHttps permament" configured domain automatically sends out HSTS (rfc 6797) headers in https: responses.

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

7 years agoOn the trunk:
Stefan Eissing [Thu, 14 Sep 2017 13:01:29 +0000 (13:01 +0000)]
On the trunk:

mod_ssl: adding ssl_policies.h[.in] for policy cipher/protocol definitions. Use
     update_policies.py to update manually from Mozilla JSON definitions at
     https://statics.tls.security.mozilla.org/server-side-tls-conf.json

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

7 years agoDocumentation rebuild
Luca Toscano [Wed, 13 Sep 2017 14:58:58 +0000 (14:58 +0000)]
Documentation rebuild

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

7 years agomod_md.xml: fix some typos
Luca Toscano [Wed, 13 Sep 2017 14:57:54 +0000 (14:57 +0000)]
mod_md.xml: fix some typos

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

7 years agoupdate log tag db
Stefan Eissing [Wed, 13 Sep 2017 14:20:29 +0000 (14:20 +0000)]
update log tag db

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

7 years agoupdated mod_ssl log tags
Stefan Eissing [Wed, 13 Sep 2017 14:20:16 +0000 (14:20 +0000)]
updated mod_ssl log tags

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

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