]> granicus.if.org Git - apache/log
apache
6 years agoOn the trunk:
Stefan Eissing [Thu, 23 Nov 2017 14:24:35 +0000 (14:24 +0000)]
On the trunk:

removed a2md from Windows makefile and .dsw

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

6 years agoOn the trunk:
Stefan Eissing [Thu, 23 Nov 2017 13:55:25 +0000 (13:55 +0000)]
On the trunk:

mod_md: v1.0.4, removed the 'a2md' utility command from build. Only used in github
     testing. Avoid problems with our build system that had problems after the latest
     changes to make a clean initial build. Remove the windows a2md.dsp therefore also.

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

6 years agoRegenerate.
Joe Orton [Thu, 23 Nov 2017 08:59:21 +0000 (08:59 +0000)]
Regenerate.

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

6 years agoDocument special cases where changing Listen across a restart will
Joe Orton [Thu, 23 Nov 2017 08:57:18 +0000 (08:57 +0000)]
Document special cases where changing Listen across a restart will
fail.

PR: 61666

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

6 years agospelling fixes from Josh Soref via github
Stefan Eissing [Wed, 22 Nov 2017 13:28:28 +0000 (13:28 +0000)]
spelling fixes from Josh Soref via github

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

6 years agoRebuild.
Lucien Gentis [Sat, 18 Nov 2017 15:13:37 +0000 (15:13 +0000)]
Rebuild.

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

6 years agoXML updates.
Lucien Gentis [Sat, 18 Nov 2017 15:12:49 +0000 (15:12 +0000)]
XML updates.

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

6 years agoAdd note on special character handling with FakeBasicAuth.
Joe Orton [Fri, 17 Nov 2017 17:24:27 +0000 (17:24 +0000)]
Add note on special character handling with FakeBasicAuth.

PR: 52644

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

6 years agoBumped.
Joe Orton [Fri, 17 Nov 2017 17:14:45 +0000 (17:14 +0000)]
Bumped.

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

6 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_UserCheck): Check username
Joe Orton [Fri, 17 Nov 2017 17:14:32 +0000 (17:14 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_UserCheck): Check username
  does not contain a colon before constructing Authorization header
  for FakeBasicAuth mode. (Also constify 'user' variable.)

PR: 52644

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

6 years agoOn the trunk:
Stefan Eissing [Thu, 16 Nov 2017 16:50:58 +0000 (16:50 +0000)]
On the trunk:

mod_md v1.0.3: fixes for getting stalled on new license agreemnet from CA. Job properties persisted now to preserve change when watchdog child changes.

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

6 years agoxform
Eric Covener [Thu, 16 Nov 2017 16:45:28 +0000 (16:45 +0000)]
xform

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

6 years agoaddress comment about substitution syntax
Eric Covener [Thu, 16 Nov 2017 16:45:20 +0000 (16:45 +0000)]
address comment about substitution syntax

http://httpd.apache.org/docs/trunk/mod/mod_substitute.html#comment_7147

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

6 years agoFollow up to r1815264
Gregg Lewis Smith [Wed, 15 Nov 2017 20:47:20 +0000 (20:47 +0000)]
Follow up to r1815264
Get items in dsw files, BuildBin.dsp that didn't make 1815264
Make sure abs builds before a2md so applink.c in OpenSSL 1.1.0 gets copied
into same location as it exists in 1.0.2.

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

6 years agoWin32 legacy bits for mod_md
Gregg Lewis Smith [Tue, 14 Nov 2017 21:01:37 +0000 (21:01 +0000)]
Win32 legacy bits for mod_md

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 13 Nov 2017 10:47:35 +0000 (10:47 +0000)]
On the trunk:

mod_md: v1.0.2, fix staging reset when MDCertificateAgreemen was initially missing.

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

6 years agoDocumentation rebuild
Luca Toscano [Mon, 13 Nov 2017 10:22:04 +0000 (10:22 +0000)]
Documentation rebuild

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

6 years agoFix false positive compiler warning
Rainer Jung [Sun, 12 Nov 2017 11:46:36 +0000 (11:46 +0000)]
Fix false positive compiler warning
"'percent' may be used uninitialized in this function".

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

6 years agomod_watchdog: Correct some log messages and fix
Rainer Jung [Sun, 12 Nov 2017 11:44:37 +0000 (11:44 +0000)]
mod_watchdog: Correct some log messages and fix
compiler warning
"'rv' may be used uninitialized in this function".

Follow up to r1722154.

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

6 years agocore: silently ignore a not existent file path when IncludeOptional
Luca Toscano [Sat, 11 Nov 2017 19:20:01 +0000 (19:20 +0000)]
core: silently ignore a not existent file path when IncludeOptional
     is used.

In https://bz.apache.org/bugzilla/show_bug.cgi?id=57585 some use cases
were reported in which IncludeOptional seems to be too strict in its
sanity checks.

This change is a proposal to relax IncludeOptional checks to silently
fail when a file path is not existent rather than returning SyntaxError.

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

6 years agoRevert r1814940: serf-1 has a different API,
Rainer Jung [Sat, 11 Nov 2017 14:45:26 +0000 (14:45 +0000)]
Revert r1814940: serf-1 has a different API,
so in order to support it more changes are necessary.

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

6 years agoLook for serf-1 instead of serf-0 during configure.
Rainer Jung [Sat, 11 Nov 2017 10:36:17 +0000 (10:36 +0000)]
Look for serf-1 instead of serf-0 during configure.
Using a fixed major version might not be the best
choice but using a fixed outdated one is even worse.

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

6 years agoFix static compilation when including mod_md.
Rainer Jung [Sat, 11 Nov 2017 10:30:54 +0000 (10:30 +0000)]
Fix static compilation when including mod_md.

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

7 years agomod_noloris: Remove unused variable.
Rainer Jung [Thu, 9 Nov 2017 14:40:04 +0000 (14:40 +0000)]
mod_noloris: Remove unused variable.
Follup up to r821307.

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

7 years agoComplete build setup of mod_noloris.
Rainer Jung [Thu, 9 Nov 2017 13:35:11 +0000 (13:35 +0000)]
Complete build setup of mod_noloris.

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

7 years agoFix compilation of mod_md helper binary a2md.
Rainer Jung [Thu, 9 Nov 2017 12:23:56 +0000 (12:23 +0000)]
Fix compilation of mod_md helper binary a2md.

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

7 years agoFollow up to r1809273: CHANGES entry.
Yann Ylavic [Thu, 9 Nov 2017 12:18:15 +0000 (12:18 +0000)]
Follow up to r1809273: CHANGES entry.

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

7 years agoFix pcre feature detection in configure when
Rainer Jung [Wed, 8 Nov 2017 23:58:16 +0000 (23:58 +0000)]
Fix pcre feature detection in configure when
using pcre2.
Follow up to r1773454.

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

7 years agoFollow up to r1814659.
Yann Ylavic [Wed, 8 Nov 2017 23:49:13 +0000 (23:49 +0000)]
Follow up to r1814659.

One more style fix in ap_process_http_async_connection().

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

7 years agoWe can't possibly loop in ap_process_http_async_connection().
Yann Ylavic [Wed, 8 Nov 2017 23:41:23 +0000 (23:41 +0000)]
We can't possibly loop in ap_process_http_async_connection().

While at it, fix style. No functional change overall.

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

7 years agoPost 2.5.0-alpha tag updates
Daniel Ruggeri [Wed, 8 Nov 2017 01:13:42 +0000 (01:13 +0000)]
Post 2.5.0-alpha tag updates

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

7 years agoOn the trunk:
Stefan Eissing [Tue, 7 Nov 2017 09:02:41 +0000 (09:02 +0000)]
On the trunk:

update CHANGES after backport

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

7 years ago* configure.in: Fix help text for --with-suexec-syslog.
Joe Orton [Tue, 7 Nov 2017 08:36:27 +0000 (08:36 +0000)]
* configure.in: Fix help text for --with-suexec-syslog.

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

7 years agoOn the trunk:
Stefan Eissing [Mon, 6 Nov 2017 15:21:38 +0000 (15:21 +0000)]
On the trunk:

cleanup changes and mod_http2 version number after backport.

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

7 years agoRebuild.
Lucien Gentis [Sat, 4 Nov 2017 16:09:24 +0000 (16:09 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sat, 4 Nov 2017 16:08:27 +0000 (16:08 +0000)]
XML update.

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

7 years agoRebuild.
Lucien Gentis [Sat, 4 Nov 2017 15:31:48 +0000 (15:31 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sat, 4 Nov 2017 15:30:26 +0000 (15:30 +0000)]
XML update.

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

7 years agoRemove an already backported entry
Christophe Jaillet [Fri, 3 Nov 2017 06:41:19 +0000 (06:41 +0000)]
Remove an already backported entry

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

7 years agoab: follow up to r1811664.
Yann Ylavic [Thu, 2 Nov 2017 22:19:23 +0000 (22:19 +0000)]
ab: follow up to r1811664.

apr_socket_send() can return both an error and data, account for data in
the latter case (i.e. let next call fail, if any).

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

7 years agompm_unix(es): cleanup properly on exit in one_process mode.
Yann Ylavic [Thu, 2 Nov 2017 21:49:43 +0000 (21:49 +0000)]
mpm_unix(es): cleanup properly on exit in one_process mode.

We can't destroy ap_pglobal because clean_child_exit() runs in DSO which would
be unloaded under us, so use atexit() to defer the final apr_terminate().

[Reverted by 1822535]

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

7 years agoFix some syntax highlight
Christophe Jaillet [Thu, 2 Nov 2017 06:59:35 +0000 (06:59 +0000)]
Fix some syntax highlight

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

7 years agoRemove backported entry (see part of r1651081)
Christophe Jaillet [Thu, 2 Nov 2017 00:15:33 +0000 (00:15 +0000)]
Remove backported entry (see part of r1651081)

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

7 years agoRemove backported entry (see r1796850 with a slighly different wording)
Christophe Jaillet [Thu, 2 Nov 2017 00:08:09 +0000 (00:08 +0000)]
Remove backported entry (see r1796850 with a slighly different wording)

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

7 years agoRemove backported entry (see part of r1772678 which backports r1426827)
Christophe Jaillet [Wed, 1 Nov 2017 23:40:43 +0000 (23:40 +0000)]
Remove backported entry (see part of r1772678  which backports r1426827)

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

7 years agoRemove backported entry (see r1684515)
Christophe Jaillet [Wed, 1 Nov 2017 23:31:00 +0000 (23:31 +0000)]
Remove backported entry (see r1684515)

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

7 years agoImprove mod_proxy_html doc
Christophe Jaillet [Wed, 1 Nov 2017 21:02:05 +0000 (21:02 +0000)]
Improve mod_proxy_html doc
   - add some links and color highligh
   - remove some <var> (i.e. italic) around parameters that should be written unmodified (On|Off...)

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

7 years agoSave a few bytes in the conf pool when handling 'ProxyHTMLDoctype' directive with...
Christophe Jaillet [Wed, 1 Nov 2017 20:29:12 +0000 (20:29 +0000)]
Save a few bytes in the conf pool when handling 'ProxyHTMLDoctype' directive with a user defined  FPI

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

7 years agoRemove backported entry
Christophe Jaillet [Wed, 1 Nov 2017 17:38:55 +0000 (17:38 +0000)]
Remove backported entry

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

7 years agoRemove backported entries
Christophe Jaillet [Wed, 1 Nov 2017 17:29:11 +0000 (17:29 +0000)]
Remove backported entries

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

7 years ago *) mod_http2: avoid unnecessary data retrieval for a trace log. Allow certain
Stefan Eissing [Mon, 30 Oct 2017 14:27:18 +0000 (14:27 +0000)]
  *) mod_http2: avoid unnecessary data retrieval for a trace log. Allow certain
     information retrievals on null bucket beams where it makes sense. [Stefan Eissing]

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

7 years agomod_macro: fix usability of globally defined macros in .htaccess files.
Yann Ylavic [Sat, 28 Oct 2017 16:05:51 +0000 (16:05 +0000)]
mod_macro: fix usability of globally defined macros in .htaccess files.
PR 57525.

Reverts pre_config hook from r1656669 (happens too late for EXEC_ON_READ), and
ensures ap_macros is reset on restart with a pconf cleanup.

Proposed by: Jose Kahan <jose w3.org>
Reviewed by: ylavic

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

7 years agomod_md: fix [-Werror=unused-but-set-variable].
Yann Ylavic [Sat, 28 Oct 2017 15:53:26 +0000 (15:53 +0000)]
mod_md: fix [-Werror=unused-but-set-variable].

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

7 years agoRevert r1813167 (per review).
Yann Ylavic [Wed, 25 Oct 2017 07:23:34 +0000 (07:23 +0000)]
Revert r1813167 (per review).

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

7 years agomod_proxy_balancer: fix runtime lbfactor value changed in 2.4.28.
Yann Ylavic [Tue, 24 Oct 2017 10:50:34 +0000 (10:50 +0000)]
mod_proxy_balancer: fix runtime lbfactor value changed in 2.4.28.

It is assumed to be between 1 and 100 by lbmethods, so normalize it
accordingly.

[Reverted by r1813255]

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

7 years agoFix compilation failure :
Christophe Jaillet [Tue, 24 Oct 2017 03:20:56 +0000 (03:20 +0000)]
Fix compilation failure :

unixd.c: In function ‘ap_unixd_mpm_set_signals’:
unixd.c:579:5: error: implicit declaration of function ‘apr_signal’; did you mean ‘strsignal’? [-Werror=implicit-function-declaration]
     apr_signal(SIGPIPE, SIG_IGN);
     ^~~~~~~~~~
     strsignal

Not sure where it comes from, maybe related to r1812301.

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

7 years agoOn the trunk:
Stefan Eissing [Mon, 23 Oct 2017 11:55:33 +0000 (11:55 +0000)]
On the trunk:

  *) mod_md: v1.0.1, ServerName/Alias names from pure-http: virtual hosts are no longer
     auto-added to a Managed Domain. Error counts of jobs are presisted. When the server
     restarts (gracefully) any errored staging areas are purged to reset the signup/renewal
     process.

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

7 years agoRebuild.
Lucien Gentis [Sat, 21 Oct 2017 13:59:12 +0000 (13:59 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sat, 21 Oct 2017 13:58:11 +0000 (13:58 +0000)]
XML update.

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

7 years ago* support/htpasswd.c (main): Only check for readability if running in
Joe Orton [Fri, 20 Oct 2017 15:40:37 +0000 (15:40 +0000)]
* support/htpasswd.c (main): Only check for readability if running in
  verify (-v) mode.

PR: 61631

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

7 years agoDocumentation rebuild
Luca Toscano [Wed, 18 Oct 2017 14:22:44 +0000 (14:22 +0000)]
Documentation rebuild

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

7 years agomod_md.xml: fix typo
Luca Toscano [Wed, 18 Oct 2017 14:22:02 +0000 (14:22 +0000)]
mod_md.xml: fix typo

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

7 years agomod_md: some strong advice about the consequences of permanent MDRequireHttps in...
Stefan Eissing [Wed, 18 Oct 2017 14:11:37 +0000 (14:11 +0000)]
mod_md: some strong advice about the consequences of permanent MDRequireHttps in the manual

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

7 years agomod_journald: work around possible use of "inline" keyword in systemd #include.
Yann Ylavic [Tue, 17 Oct 2017 00:08:20 +0000 (00:08 +0000)]
mod_journald: work around possible use of "inline" keyword in systemd #include.

This fails to compile before c99, override with APR_INLINE.

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

7 years agoFix format pattern (%lu => %APR_SIZE_T_FMT).
Rainer Jung [Mon, 16 Oct 2017 21:41:15 +0000 (21:41 +0000)]
Fix format pattern (%lu => %APR_SIZE_T_FMT).

Detected by maintainer mode compilation and GCC error:

.../modules/metadata/mod_remoteip.c:
In function 'remoteip_input_filter':
.../include/http_log.h:117:33:
error: format '%lu' expects argument of type
'long unsigned int', but argument 8 has type
'apr_size_t {aka unsigned int}' [-Werror=format=]

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

7 years ago* server/util_expr_eval.c (ap_expr_eval_re_backref): Fix gcc 7.x warning.
Joe Orton [Mon, 16 Oct 2017 16:40:52 +0000 (16:40 +0000)]
* server/util_expr_eval.c (ap_expr_eval_re_backref): Fix gcc 7.x warning.

util_expr_eval.c: In function ‘ap_expr_eval_re_backref’:
util_expr_eval.c:265:63: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
     if (!ctx->re_pmatch || !ctx->re_source || *ctx->re_source == '\0' ||

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

7 years agoFollow up to r1812263.
Yann Ylavic [Mon, 16 Oct 2017 16:12:26 +0000 (16:12 +0000)]
Follow up to r1812263.

As suggested by Joe, add --maintainer/debugger-mode's CFLAGS in
NOTEST_CFLAGS to avoid interractions with autoconf's AC_LANG_PROGRAM.

APACHE_ADD_GCC_CFLAG now also forces -Wno-strict-prototypes for -Werror
to work despite AC_LANG_PROGRAM generating this warning by itself.

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

7 years agoFix maintainer mode with GCC/Clang.
Rainer Jung [Mon, 16 Oct 2017 09:22:38 +0000 (09:22 +0000)]
Fix maintainer mode with GCC/Clang.

Setting -Wstrict-prototypes in combination
with -Werror leads to compiler errors during
configure checks (autoconf generates incomplete
prototypes).

Adding -Wno-error=strict-prototypes lets the
compiler tolerate those.

Possible future enhancement: remember such
"configure time only" flags and remove them
from CFLAGS before generating our build time
files (Makefile, config_vars.mk etc.), so that
the full -Werror is in place during building.

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

7 years agoGCC/Clang strict-prototypes handling in configure:
Rainer Jung [Mon, 16 Oct 2017 09:15:27 +0000 (09:15 +0000)]
GCC/Clang strict-prototypes handling in configure:
revert r1810998 and r1810448 before applying a
more general solution.

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

7 years agoFollow up to r1812193: really change MMN major.
Yann Ylavic [Sat, 14 Oct 2017 17:27:21 +0000 (17:27 +0000)]
Follow up to r1812193: really change MMN major.

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

7 years agoFollow up to r1740928: including NOT_IN_PROXY in NOT_IN_DIR_LOC_FILE is both
Yann Ylavic [Sat, 14 Oct 2017 16:27:14 +0000 (16:27 +0000)]
Follow up to r1740928: including NOT_IN_PROXY in NOT_IN_DIR_LOC_FILE is both
incomplete and not backportable, fix it by introducing NOT_IN_DIR_CONTEXT and
restoring NOT_IN_DIR_LOC_FILE to its previous value.

Per ap_check_cmd_context(), NOT_IN_DIR_LOC_FILE actually/really means "not in
any directory context", while the definition itself does not include all the
existing directory contexts (e.g. <Limit>, or <Proxy> before r1740928).

This is a bit of a misnomer, at least, so instead of (ab)using it by adding the
missing contexts (in an incompatible way), let's define NOT_IN_DIR_CONTEXT to
really exclude all directory context (i.e. NOT_IN_DIR_LOC_FILE + NOT_IN_LIMIT +
NOT_IN_PROXY) and use it wherever NOT_IN_DIR_LOC_FILE was used.

This is by itself a major MMN bump (modules not compiled with this commit and
having directives checked against NOT_IN_DIR_LOC_FILE won't be caught the same
way by NOT_IN_DIR_CONTEXT in the new ap_check_cmd_context() code), but with the
below change, 2.4.x should work as before:

-   if ((forbidden & NOT_IN_DIR_CONTEXT) == NOT_IN_DIR_CONTEXT) {
+   if ((forbidden & NOT_IN_DIR_LOC_FILE) == NOT_IN_DIR_LOC_FILE) {
        if (cmd->path != NULL) {
            return apr_pstrcat(cmd->pool, cmd->cmd->name, gt,
-                           " cannot occur within directory context", NULL);
+                           " cannot occur within <Directory/Location/Files/Proxy> "
+                           "section", NULL);
        }
        ...
    }

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

7 years agoFollow up to r1809881: CHANGES entry.
Yann Ylavic [Fri, 13 Oct 2017 07:47:08 +0000 (07:47 +0000)]
Follow up to r1809881: CHANGES entry.

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

7 years agoEntry for 2.4.28 regression (r1808855 missing r1805195).
Yann Ylavic [Thu, 12 Oct 2017 19:43:57 +0000 (19:43 +0000)]
Entry for 2.4.28 regression (r1808855 missing r1805195).

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

7 years agoAdd optional _RAW suffix to SSL_*_DN_xx attribute names, allowing
Joe Orton [Thu, 12 Oct 2017 15:11:50 +0000 (15:11 +0000)]
Add optional _RAW suffix to SSL_*_DN_xx attribute names, allowing
users to convert an attribute value without conversion to UTF-8.  (A
public CA has issued certs with attributes tagged as the wrong ASN.1
string types.)

* modules/ssl/ssl_util_ssl.c (asn1_string_convert): Rename from
  asn1_string_to_utf8; add raw argument. Reimplement _to_utf8 as
  macro.
  (modssl_X509_NAME_ENTRY_to_string): Add raw argument.

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_dn): Use raw
  string conversion if _RAW suffix is present in DN component.

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

7 years ago* server/util_script.c (ap_add_common_vars): Allow mod_env to override
Joe Orton [Wed, 11 Oct 2017 14:48:55 +0000 (14:48 +0000)]
* server/util_script.c (ap_add_common_vars): Allow mod_env to override
  all system path environment variables, not just PATH.  (The
  behaviour for PATH alone was changed in r965679 for PR 43906.)

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

7 years agoDocumentation rebuild
Luca Toscano [Wed, 11 Oct 2017 11:49:17 +0000 (11:49 +0000)]
Documentation rebuild

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

7 years agoOn the trunk:
Stefan Eissing [Wed, 11 Oct 2017 11:35:19 +0000 (11:35 +0000)]
On the trunk:

mod_md: v1.0.0, new config directive 'MDNotifyCmd' to hook in a program when Managed
     Domains have obtained/renewed their certificates successfully.

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

7 years agocore, mod_rewrite: introduce the 'redirect-keeps-vary' note
Luca Toscano [Tue, 10 Oct 2017 17:41:37 +0000 (17:41 +0000)]
core, mod_rewrite: introduce the 'redirect-keeps-vary' note
                   to allow proper Vary header insertion when
                   dealing with a RewriteRule in a directory
                   context.

This change is an attempt to fix a long standing problem,
brought up while working on PR 58231. Our documentation clearly
states the following:

"If a HTTP header is used in a condition this header is added
to the Vary header of the response in case the condition
evaluates to true for the request."

This is currently not true for RewriteCond/Rules working in
a directory context, since when an internal redirect happens
all the outstanding response headers get dropped.

There might be a better solution so I am looking forward to
hear more opinions and comments. My goal for a delicate change
like this one would be to affect the least amount of configurations
possible, without triggering unwanted side effects.

If the solution is good for everybody tests will be written
in the suite asap.

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

7 years agoRebuild.
Lucien Gentis [Tue, 10 Oct 2017 11:15:25 +0000 (11:15 +0000)]
Rebuild.

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

7 years agoXML updates.
Lucien Gentis [Tue, 10 Oct 2017 11:14:30 +0000 (11:14 +0000)]
XML updates.

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

7 years agoab: Make the TLS layer aware that the underlying socket is nonblocking,
Yann Ylavic [Tue, 10 Oct 2017 10:54:48 +0000 (10:54 +0000)]
ab: Make the TLS layer aware that the underlying socket is nonblocking,
and use/handle POLLOUT where needed to avoid busy IOs and recover write
errors when appropriate.

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

7 years agoab: Keep reading nonblocking to exhaust TCP or SSL buffers when previous
Yann Ylavic [Tue, 10 Oct 2017 09:09:22 +0000 (09:09 +0000)]
ab: Keep reading nonblocking to exhaust TCP or SSL buffers when previous
read was incomplete (the SSL case can cause the next poll() to timeout
since data are buffered already).  PR 61301

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

7 years ago* Make it compatible with Python 3
Ruediger Pluem [Mon, 9 Oct 2017 13:50:15 +0000 (13:50 +0000)]
* Make it compatible with Python 3

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

7 years ago* The calculation of the sizes was flawed:
Ruediger Pluem [Mon, 9 Oct 2017 13:30:26 +0000 (13:30 +0000)]
* The calculation of the sizes was flawed:
  The index tells us the size of the node in 4096 byte pages minus 1.
  Hence we need to multiply back with 4096 aka << 12 (plus adding the
  missing page).

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

7 years ago* Convert to int before using
Ruediger Pluem [Mon, 9 Oct 2017 08:58:57 +0000 (08:58 +0000)]
* Convert to int before using

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

7 years ago* It needs to be the dereferenced node
Ruediger Pluem [Mon, 9 Oct 2017 08:58:03 +0000 (08:58 +0000)]
* It needs to be the dereferenced node

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

7 years agomod_ssl: fix add_policy() w.r.t. OPENSSL_NO_COMP. PR 61592.
Yann Ylavic [Sun, 8 Oct 2017 11:40:03 +0000 (11:40 +0000)]
mod_ssl: fix add_policy() w.r.t. OPENSSL_NO_COMP.  PR 61592.

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

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

7 years ago* Take the pointer from Yann: s/childs/children/
Ruediger Pluem [Fri, 6 Oct 2017 06:25:27 +0000 (06:25 +0000)]
* Take the pointer from Yann: s/childs/children/

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

7 years ago* Add dump_all_pools and dump_pool_and_childs.
Ruediger Pluem [Thu, 5 Oct 2017 12:01:25 +0000 (12:01 +0000)]
* Add dump_all_pools and dump_pool_and_childs.

  - dump_all_pools: Dump the whole pool hierarchy starting from apr_global_pool.
                    Requires an arbitrary pool as starting parameter.
  - dump_pool_and_childs: Dump the whole pool hierarchy starting from
                          the given pool.

  dump_pool_and_childs is written in Python using the GDB Python API
  as doing recursive stuff in standard GDB macros is very difficult.

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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