apache-httpd.git
17 hours agoPR64172: drop severity of AH01666 trunk trunk
Eric Covener [Sun, 23 Feb 2020 13:29:52 +0000 (13:29 +0000)]
PR64172: drop severity of AH01666

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

37 hours agoPR64077: samesite/httponly/secure flags for usertrack
Eric Covener [Sat, 22 Feb 2020 17:10:10 +0000 (17:10 +0000)]
PR64077: samesite/httponly/secure flags for usertrack

Submitted By: Prashant Keshvani <prashant2400 gmail.com>, Eric Covener
Committed By: covener

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

2 days agoAvoid printing NULL strings in logs
Giovanni Bechis [Sat, 22 Feb 2020 00:14:49 +0000 (00:14 +0000)]
Avoid printing NULL strings in logs

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

2 days agohandle LOCAL ver_cmd proxy headers
Giovanni Bechis [Fri, 21 Feb 2020 23:19:07 +0000 (23:19 +0000)]
handle LOCAL ver_cmd proxy headers
bz 63893

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

2 days agomore correct explanation about certificates handling
Giovanni Bechis [Fri, 21 Feb 2020 18:57:48 +0000 (18:57 +0000)]
more correct explanation about certificates handling

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

2 days agomod_ssl: follow up to r1861950: allow for OPENSSL_init_ssl() without autoconf.
Yann Ylavic [Fri, 21 Feb 2020 14:22:10 +0000 (14:22 +0000)]
mod_ssl: follow up to r1861950: allow for OPENSSL_init_ssl() without autoconf.

For systems with no autoconf (eg. Windows), still check for and use
OPENSSL_init_ssl() based on OpenSSL version >= 1.1.0.

Usual LibreSSL gotcha, exclude LIBRESSL_VERSION_NUMBER from this new heuristic
since autoconf is likely available in this case.

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

2 days agomod_md: re-applying the parts of r1873985 that got overwritten by the latest github...
Stefan Eissing [Fri, 21 Feb 2020 12:05:18 +0000 (12:05 +0000)]
mod_md: re-applying the parts of r1873985 that got overwritten by the latest github sync.

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

3 days agompm_event: avoid possible KeepAlveTimeout off by -100 ms.
Yann Ylavic [Thu, 20 Feb 2020 23:41:21 +0000 (23:41 +0000)]
mpm_event: avoid possible KeepAlveTimeout off by -100 ms.

Use TIMEOUT_FUDGE_FACTOR to limit wakeups from queues_next_expiry, yet consider
the current/unfudged timestamp to process/cleanup the queues (once woken up).

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

3 days agofr doc XML file update.
Lucien Gentis [Thu, 20 Feb 2020 16:31:36 +0000 (16:31 +0000)]
fr doc XML file update.

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

3 days agoAdd gcc 9 job, enable enhanced malloc debugging for pool-debug job.
Joe Orton [Thu, 20 Feb 2020 14:36:46 +0000 (14:36 +0000)]
Add gcc 9 job, enable enhanced malloc debugging for pool-debug job.

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

3 days agoPKCS#11 URIs usable from 2.4.42 and later now. [skip ci]
Joe Orton [Thu, 20 Feb 2020 08:46:39 +0000 (08:46 +0000)]
PKCS#11 URIs usable from 2.4.42 and later now. [skip ci]

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

4 days agoAdd Travis job which runs under UBSan ("Undefined Behaviour Sanitizer").
Joe Orton [Wed, 19 Feb 2020 11:18:21 +0000 (11:18 +0000)]
Add Travis job which runs under UBSan ("Undefined Behaviour Sanitizer").
mod_http2 disabled for now until https://github.com/icing/mod_h2/pull/194
is merged.

Github: closes #96

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

4 days agomod_md: fixed version string by removing -git, thanks for spotting @steffenal.
Stefan Eissing [Wed, 19 Feb 2020 10:54:30 +0000 (10:54 +0000)]
mod_md: fixed version string by removing -git, thanks for spotting @steffenal.

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

4 days agoWarn against using "nobody" for User/Group since it's bad practice.
Joe Orton [Wed, 19 Feb 2020 10:52:38 +0000 (10:52 +0000)]
Warn against using "nobody" for User/Group since it's bad practice.
Add note on supplementary groups. [skip ci]

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

5 days ago* support/suexec.c (clean_env): Revert use of ap_calloc in
Joe Orton [Tue, 18 Feb 2020 08:27:43 +0000 (08:27 +0000)]
* support/suexec.c (clean_env): Revert use of ap_calloc in
r1874156 which broke the build.
https://travis-ci.org/apache/httpd/builds/651858409

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

5 days agoconvert malloc(3) into ap_malloc
Giovanni Bechis [Tue, 18 Feb 2020 07:37:45 +0000 (07:37 +0000)]
convert malloc(3) into ap_malloc
bz 64049

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

6 days agoFix spelling errors in docs found by codespell. [skip ci]
Mike Rumph [Mon, 17 Feb 2020 21:41:22 +0000 (21:41 +0000)]
Fix spelling errors in docs found by codespell.  [skip ci]

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

6 days ago* module/dav/main/util.c (dav_check_bufsize): Don't call
Joe Orton [Mon, 17 Feb 2020 17:18:57 +0000 (17:18 +0000)]
* module/dav/main/util.c (dav_check_bufsize): Don't call
  memcpy(,NULL,0) if the buffer is uninitialized, to avoid tripping
  UBSan.  (Unclear if this is valid for this API.)

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

6 days agoCleanup of backported entries in CHANGES.
Stefan Eissing [Mon, 17 Feb 2020 14:44:26 +0000 (14:44 +0000)]
Cleanup of backported entries in CHANGES.

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

6 days agomod_md: adding documentation for new MDContactEmail directive.
Stefan Eissing [Mon, 17 Feb 2020 14:15:32 +0000 (14:15 +0000)]
mod_md: adding documentation for new MDContactEmail directive.

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

6 days ago *) mod_md:
Stefan Eissing [Mon, 17 Feb 2020 14:05:03 +0000 (14:05 +0000)]
  *) mod_md:
     - Prefer MDContactEmail directive to ServerAdmin for registration. New directive
       thanks to Timothe Litt (@tlhackque).
     - protocol check for pre-configured "tls-alpn-01" challenge has been improved. It will now
       check all matching virtual hosts for protocol support. Thanks to @mkauf.
     - Corrected a check when OCSP stapling was configured for hosts
       where the responsible MDomain is not clear, by Michal Karm Babacek (@Karm).
     - Softening the restrictions where mod_md configuration directives may appear. This should
       allow for use in <If> and <Macro> sections. If all possible variations lead to the configuration
       you wanted in the first place, is another matter.
     [Michael Kaufmann <mail michael-kaufmann.ch>, Timothe Litt (@tlhackque),
      Michal Karm Babacek (@Karm), Stefan Eissing (@icing)]

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

6 days agoBack off a little when svn export is timing out.
Joe Orton [Mon, 17 Feb 2020 11:59:28 +0000 (11:59 +0000)]
Back off a little when svn export is timing out.

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

6 days agoDefine ap_method_mask_t (typedef for apr_uint64_t) and use for method
Joe Orton [Mon, 17 Feb 2020 10:11:56 +0000 (10:11 +0000)]
Define ap_method_mask_t (typedef for apr_uint64_t) and use for method
bitmasks rather than apr_int64_t.  Fixes UBSan errors shifting to the
top bit of a signed integer.

* include/httpd.h: Add ap_method_mask_t, use it for AP_METHOD_BIT.
  (struct ap_method_mask_t): Likewise for method_mask field.
  (struct request_rec): Likewise for allowed field.

* include/http_config.h (struct cmd_parms): Likewise for limited field.

* include/ap_mmn.h: Bump MMN major.

* modules/*/*.c: Adjust all method masks to use ap_method_mask_t.

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

6 days ago* modules/http/http_filters.c (parse_chunk_size): Reduce by four the
Joe Orton [Mon, 17 Feb 2020 08:20:52 +0000 (08:20 +0000)]
* modules/http/http_filters.c (parse_chunk_size): Reduce by four the
  limit to the number of bits that can be handled in a chunk size, to
  avoid undefined behaviour bitshifting a signed integer left.  Max
  chunk size on 32-bit arch is now 32MiB.  Avoids UBSan error in:

http_filters.c:227:46: runtime error: left shift of 768614336404564650 by 4 places cannot be represented in type 'long int'

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

6 days agofix build with LibreSSL 2.0.7+
Giovanni Bechis [Mon, 17 Feb 2020 07:52:55 +0000 (07:52 +0000)]
fix build with LibreSSL 2.0.7+
bz 64047

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

7 days agoFollow up to r1873941: define AP_REG_NO_DEFAULT for raw ap_regcomp() usage.
Yann Ylavic [Sun, 16 Feb 2020 23:08:32 +0000 (23:08 +0000)]
Follow up to r1873941: define AP_REG_NO_DEFAULT for raw ap_regcomp() usage.

This avoids having to define AP_REG_NO_* for each APR_REG_* specific option,
thus replacing AP_REG_NO_DOTALL introduced lately.

For ap_rxplus_compile() and mod_substitute where default AP_REG_DOTALL is not
suitable, let's use:
    AP_REG_NO_DEFAULT | ap_regcomp_get_default_cflags() & AP_REG_DOLLAR_ENDONLY
to keep the default AP_REG_DOLLAR_ENDONLY unless RegexDefaultOptions unsets it.

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

8 days agoFollow up to r1874055: fix typo.
Yann Ylavic [Sat, 15 Feb 2020 19:13:09 +0000 (19:13 +0000)]
Follow up to r1874055: fix typo.

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

8 days agoRHEL and CentOS now use dnf. Call out yum as the outlier, rather than
Rich Bowen [Sat, 15 Feb 2020 14:46:17 +0000 (14:46 +0000)]
RHEL and CentOS now use dnf. Call out yum as the outlier, rather than
the other way around.

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

8 days agoAvoid UBSan exception calling memcpy(,NULL,0) at startup.
Christophe Jaillet [Sat, 15 Feb 2020 14:22:22 +0000 (14:22 +0000)]
Avoid UBSan exception  calling memcpy(,NULL,0) at startup.

Follow-up to r1874011 which did the same for the event MPM.

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

9 days ago* server/mpm/event/event.c (event_open_logs): Avoid UBSan exception
Joe Orton [Fri, 14 Feb 2020 10:47:36 +0000 (10:47 +0000)]
* server/mpm/event/event.c (event_open_logs): Avoid UBSan exception
  calling memcpy(,NULL,0) at startup.  Thanks to rpluem.

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

9 days ago* modules/ssl/ssl_util_ocsp.c (serialize_request): Set the Connection header
Ruediger Pluem [Fri, 14 Feb 2020 09:38:12 +0000 (09:38 +0000)]
* modules/ssl/ssl_util_ocsp.c (serialize_request): Set the Connection header
  to close to indicate that we do not want to keep the HTTP connection to the
  OCSP responder alive. We don't reuse the connections currently and if the
  OCSP responder keeps the connection alive this could cause us to wait for
  keepalive timeout of the OCSP responder to timeout until we finish our
  reading of the OCSP response.

PR: 64135

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

9 days ago* modules/ssl/ssl_engine_init.c (ssl_init_Module): Avoid some bogus
Joe Orton [Fri, 14 Feb 2020 08:53:21 +0000 (08:53 +0000)]
* modules/ssl/ssl_engine_init.c (ssl_init_Module): Avoid some bogus
  gcc -Wmaybe-uninitialized warnings in (slightly odd) SSLFIPS
  handling.

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

10 days agoFix spelling errors found by codespell. [skip ci]
Mike Rumph [Thu, 13 Feb 2020 18:15:57 +0000 (18:15 +0000)]
Fix spelling errors found by codespell.  [skip ci]

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

11 days agodon't use DOTALL from mod_substitute which leaves \n at the end of the line.
Eric Covener [Wed, 12 Feb 2020 13:36:40 +0000 (13:36 +0000)]
don't use DOTALL from mod_substitute which leaves \n at the end of the line.

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

12 days agoAdd a missing APLOGNO()
Christophe Jaillet [Wed, 12 Feb 2020 05:36:31 +0000 (05:36 +0000)]
Add a missing APLOGNO()

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

12 days agoReserve a number
Christophe Jaillet [Wed, 12 Feb 2020 05:34:10 +0000 (05:34 +0000)]
Reserve a number

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

12 days agoClarify compatibility and interpretation of CGIDScriptTimeout. [skip ci]
Joe Orton [Tue, 11 Feb 2020 16:18:14 +0000 (16:18 +0000)]
Clarify compatibility and interpretation of CGIDScriptTimeout. [skip ci]

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

12 days agoUpdate xforms. [skip ci]
Joe Orton [Tue, 11 Feb 2020 10:50:40 +0000 (10:50 +0000)]
Update xforms. [skip ci]

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

12 days agoAdd some blurb on correctly stopping the service w/mod_systemd. [skip ci]
Joe Orton [Tue, 11 Feb 2020 10:38:13 +0000 (10:38 +0000)]
Add some blurb on correctly stopping the service w/mod_systemd. [skip ci]

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

12 days ago *) mod_ssl: Disable client verification on ACME ALPN challenges. Fixes github
Stefan Eissing [Tue, 11 Feb 2020 10:13:24 +0000 (10:13 +0000)]
  *) mod_ssl: Disable client verification on ACME ALPN challenges. Fixes github
     issue mod_md#172 (https://github.com/icing/mod_md/issues/172).
     [Michael Kaufmann <mail michael-kaufmann.ch>, Stefan Eissing]

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

2 weeks agomod_systemd.xml: add basic unit example [skip ci]
Luca Toscano [Sun, 9 Feb 2020 17:08:04 +0000 (17:08 +0000)]
mod_systemd.xml: add basic unit example [skip ci]

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

2 weeks agofr doc rebuild.
Lucien Gentis [Sun, 9 Feb 2020 16:46:53 +0000 (16:46 +0000)]
fr doc rebuild.

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

2 weeks agofr doc XML files updates.
Lucien Gentis [Sun, 9 Feb 2020 16:44:42 +0000 (16:44 +0000)]
fr doc XML files updates.

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

2 weeks agoAdd some missing spaces
Christophe Jaillet [Sun, 9 Feb 2020 08:28:25 +0000 (08:28 +0000)]
Add some missing spaces

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

2 weeks agoflags.xml: remove extra </dl> to allow clean builds
Luca Toscano [Sat, 8 Feb 2020 17:09:54 +0000 (17:09 +0000)]
flags.xml: remove extra </dl> to allow clean builds

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

2 weeks agoFix a typo (doubled "(") and a small grammar issue
Christophe Jaillet [Sat, 8 Feb 2020 08:15:12 +0000 (08:15 +0000)]
Fix a typo (doubled "(") and a small grammar issue

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

2 weeks agoadd SameSite to RewriteRule ... ... [CO]
Eric Covener [Sat, 8 Feb 2020 01:14:28 +0000 (01:14 +0000)]
add SameSite to RewriteRule ... ... [CO]

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

2 weeks agofactor out TE=chunked checking
Eric Covener [Fri, 7 Feb 2020 17:14:05 +0000 (17:14 +0000)]
factor out TE=chunked checking

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

2 weeks agofactor out default regex flags
Eric Covener [Fri, 7 Feb 2020 17:08:41 +0000 (17:08 +0000)]
factor out default regex flags

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

2 weeks agobump
Eric Covener [Fri, 7 Feb 2020 17:04:53 +0000 (17:04 +0000)]
bump

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

2 weeks agotrap bad FTP responses
Eric Covener [Fri, 7 Feb 2020 17:04:45 +0000 (17:04 +0000)]
trap bad FTP responses

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

2 weeks agoAdd compatibility note for "DeflateAlterETag" (already present in 2.4.x)
Christophe Jaillet [Thu, 6 Feb 2020 21:27:30 +0000 (21:27 +0000)]
Add compatibility note for "DeflateAlterETag" (already present in 2.4.x)
Re-order to match 2.4.x order.
Fix a color syntax highlight to synch with 2.4.x

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

2 weeks agoAdd new module in "new features" in 2.4.x section
Christophe Jaillet [Thu, 6 Feb 2020 21:01:13 +0000 (21:01 +0000)]
Add new module in "new features" in 2.4.x section

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

2 weeks agoAdd compatibility note for mod_systemd.
Christophe Jaillet [Thu, 6 Feb 2020 20:56:26 +0000 (20:56 +0000)]
Add compatibility note for mod_systemd.

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

2 weeks agomore alignment in wording
Eric Covener [Thu, 6 Feb 2020 01:40:21 +0000 (01:40 +0000)]
more alignment in wording

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

2 weeks agomake the condition guidance stand out
Eric Covener [Wed, 5 Feb 2020 23:28:47 +0000 (23:28 +0000)]
make the condition guidance stand out

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

2 weeks agorework the mysteries of onsuccess and always
Eric Covener [Wed, 5 Feb 2020 23:05:44 +0000 (23:05 +0000)]
rework the mysteries of onsuccess and always

I thought I was well-versed in this topic but reading my own text and
r1844401 while playing with samesite recipes made me want to rewrite it.

Pushed the advice down into the actions.

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

3 weeks agofr doc rebuild.
Lucien Gentis [Sat, 1 Feb 2020 15:14:42 +0000 (15:14 +0000)]
fr doc rebuild.

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

3 weeks agofr doc XML files updates.
Lucien Gentis [Sat, 1 Feb 2020 15:13:38 +0000 (15:13 +0000)]
fr doc XML files updates.

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

3 weeks agoPR62989: DOCTYPE tags in server-generated HTML.
Eric Covener [Fri, 31 Jan 2020 02:38:05 +0000 (02:38 +0000)]
PR62989: DOCTYPE tags in server-generated HTML.

Submitted By: Andra Farkas <deepbluemistake gmail.com>, Giovanni Bechis <giovanni paclan.it>

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

3 weeks agoPR63678: Clarify fcgistarter -c parm
Eric Covener [Fri, 31 Jan 2020 02:28:33 +0000 (02:28 +0000)]
PR63678: Clarify fcgistarter -c parm

Submitted By: Giovanni Bechis <giovanni paclan.it>

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

3 weeks agoPR63669: handle APR_BADARG return from ap_rgetline
Eric Covener [Fri, 31 Jan 2020 02:15:57 +0000 (02:15 +0000)]
PR63669: handle APR_BADARG return from ap_rgetline

Submitted By: Giovanni Bechis <giovanni paclan.it>

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

3 weeks agoUpdate generated docs.
Mike Rumph [Thu, 30 Jan 2020 19:05:40 +0000 (19:05 +0000)]
Update generated docs.

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

3 weeks agoFix some grammar errors in the docs
Mike Rumph [Thu, 30 Jan 2020 18:44:30 +0000 (18:44 +0000)]
Fix some grammar errors in the docs

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

3 weeks agoUpdate generated docs
Mike Rumph [Wed, 29 Jan 2020 23:00:35 +0000 (23:00 +0000)]
Update generated docs

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

3 weeks agoFixed some grammar errors in the docs.
Mike Rumph [Mon, 27 Jan 2020 22:37:22 +0000 (22:37 +0000)]
Fixed some grammar errors in the docs.

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

3 weeks agoUpdate generated docs.
Mike Rumph [Mon, 27 Jan 2020 21:42:31 +0000 (21:42 +0000)]
Update generated docs.

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

5 weeks agofr doc rebuild.
Lucien Gentis [Sat, 18 Jan 2020 14:27:25 +0000 (14:27 +0000)]
fr doc rebuild.

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

5 weeks agofr doc XML file update.
Lucien Gentis [Sat, 18 Jan 2020 14:26:35 +0000 (14:26 +0000)]
fr doc XML file update.

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

5 weeks agofr doc rebuild.
Lucien Gentis [Sat, 18 Jan 2020 14:21:45 +0000 (14:21 +0000)]
fr doc rebuild.

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

5 weeks agofr doc XML files updates.
Lucien Gentis [Sat, 18 Jan 2020 14:20:24 +0000 (14:20 +0000)]
fr doc XML files updates.

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

5 weeks agomod_setenvif: add "early mode"
Eric Covener [Tue, 14 Jan 2020 23:25:24 +0000 (23:25 +0000)]
mod_setenvif: add "early mode"

Primarily to run before `RequestHeader ... ... early`

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

5 weeks agoconfig: Speed up graceful restarts by using pre-hashed command table. PR 64066.
Jim Jagielski [Tue, 14 Jan 2020 17:31:49 +0000 (17:31 +0000)]
config: Speed up graceful restarts by using pre-hashed command table. PR 64066.
        [Giovanni Bechis <giovanni paclan.it>, Jim Jagielski]

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

5 weeks ago* modules/loggers/config.m4: Don't override shared/static
Joe Orton [Tue, 14 Jan 2020 13:22:08 +0000 (13:22 +0000)]
* modules/loggers/config.m4: Don't override shared/static
  selection for mod_journald, mod_syslog and mod_log_json.

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

5 weeks agoAdd Travis job with --enable-mods-static=reallyall.
Joe Orton [Tue, 14 Jan 2020 12:51:25 +0000 (12:51 +0000)]
Add Travis job with --enable-mods-static=reallyall.

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

5 weeks ago* modules/loggers/config.m4, modules/md/config2.m4, acinclude.m4:
Joe Orton [Tue, 14 Jan 2020 12:50:12 +0000 (12:50 +0000)]
* modules/loggers/config.m4, modules/md/config2.m4, acinclude.m4:
  Correctly link mod_md and mod_log_json (and no other objects)
  against -ljansson.  Removes unnecessary deps on libjansson
  from other linked objects, and fixes mod_md static build.  (see
  https://travis-ci.org/apache/httpd/jobs/636789380)

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

5 weeks agoTransforms. [skip ci]
Joe Orton [Tue, 14 Jan 2020 11:53:14 +0000 (11:53 +0000)]
Transforms. [skip ci]

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

5 weeks agoFix link to ExtendedStatus. [skip ci]
Joe Orton [Tue, 14 Jan 2020 11:52:59 +0000 (11:52 +0000)]
Fix link to ExtendedStatus.  [skip ci]

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

5 weeks agoTransforms. [skip ci]
Joe Orton [Tue, 14 Jan 2020 10:49:47 +0000 (10:49 +0000)]
Transforms. [skip ci]

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

5 weeks agoRemove IdleShutdown docs.
Joe Orton [Tue, 14 Jan 2020 10:48:53 +0000 (10:48 +0000)]
Remove IdleShutdown docs.

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

5 weeks ago* modules/arch/unix/config5.m4: Don't override enable_systemd, fixing
Joe Orton [Tue, 14 Jan 2020 10:29:19 +0000 (10:29 +0000)]
* modules/arch/unix/config5.m4: Don't override enable_systemd, fixing
  --enable-systemd=static per covener's suggestion in
  <CALK=YjPrN644NtLROwYPyBeCpev-GHSAD2J-Z2hupLymZ0op-g@mail.gmail.com>
  Also fix the APACHE_MODULE() usage; disable the module by default
  for the "all" modules selection.

PR: 57632

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

5 weeks ago* modules/arch/unix/mod_systemd.c: Remove IdleShutdown feature which
Joe Orton [Tue, 14 Jan 2020 09:50:29 +0000 (09:50 +0000)]
* modules/arch/unix/mod_systemd.c: Remove IdleShutdown feature which
  was buggy per sf's feedback in 2.4.x backport proposal, and would
  probably be more appropriate outside this module anyway.

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

5 weeks agoNon-x86 testing seems reasonably reliable; note some known failures
Joe Orton [Mon, 13 Jan 2020 17:13:08 +0000 (17:13 +0000)]
Non-x86 testing seems reasonably reliable; note some known failures
currently.

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

6 weeks agoproxy: add local address to body-forwarding errors
Eric Covener [Sun, 12 Jan 2020 12:56:12 +0000 (12:56 +0000)]
proxy: add local address to body-forwarding errors

Adds the local/ephemeral port for the backend connection

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

6 weeks agoEnable verbose test output to debug failures on arm.
Joe Orton [Fri, 10 Jan 2020 12:32:29 +0000 (12:32 +0000)]
Enable verbose test output to debug failures on arm.

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

6 weeks agoAdd Travis job running the litmus WebDAV test suite.
Joe Orton [Fri, 10 Jan 2020 10:20:07 +0000 (10:20 +0000)]
Add Travis job running the litmus WebDAV test suite.

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

6 weeks agotravis: remove verbose arg for Ubuntu Worker
Luca Toscano [Thu, 9 Jan 2020 14:00:05 +0000 (14:00 +0000)]
travis: remove verbose arg for Ubuntu Worker

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

6 weeks agoAdd arm64 support for Travis testing.
Mike Rumph [Wed, 8 Jan 2020 21:41:22 +0000 (21:41 +0000)]
Add arm64 support for Travis testing.
This support is experimental.

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

6 weeks agoUse https instead of http when searching with Google.
Christophe Jaillet [Tue, 7 Jan 2020 21:35:58 +0000 (21:35 +0000)]
Use https instead of http when searching with Google.

PR 64058
Fixed by [stephane.blondon gmail.com]

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

6 weeks agoadd r/o iterable tables
Eric Covener [Tue, 7 Jan 2020 19:18:13 +0000 (19:18 +0000)]
add r/o iterable tables

The current apr tables exposed support get/set but we cannot get the keys
or iterate. add _table() alternatives

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

6 weeks agofr doc rebuild.
Lucien Gentis [Tue, 7 Jan 2020 16:57:36 +0000 (16:57 +0000)]
fr doc rebuild.

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

6 weeks agofr doc XML updates.
Lucien Gentis [Tue, 7 Jan 2020 16:55:45 +0000 (16:55 +0000)]
fr doc XML updates.

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

6 weeks agoIn winnt_accept() (server/mpm/winnt/child.c), there's a call to PostQueuedCompletionS...
Christophe Jaillet [Mon, 6 Jan 2020 21:29:42 +0000 (21:29 +0000)]
In winnt_accept() (server/mpm/winnt/child.c), there's a call to PostQueuedCompletionStatus() with a buffer (BytesRead) for the number of bytes read.

When compiling the code with Visual Studio 2019 (v 16.3.10), we get a warning than BytesRead is not initialized. When using /RTCu (run-time checks for uninitialzed variables), the program crashes on this line with an exception.

If we initialize the variable to 0, the problem is solved.

PR 63965

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

6 weeks agotravis: disable email notifications
Luca Toscano [Mon, 6 Jan 2020 19:49:26 +0000 (19:49 +0000)]
travis: disable email notifications

There are still some spurious failures to iron out,
turn off email notification to avoid too many failure
emails to dev@.

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

6 weeks agotravis: add verbose config to perl test suite for Ubuntu Worker All Modules
Luca Toscano [Mon, 6 Jan 2020 18:28:45 +0000 (18:28 +0000)]
travis: add verbose config to perl test suite for Ubuntu Worker All Modules

For some reason we get sporadic failures only in Ubuntu Worker All Modules' test:

t/apache/rwrite.t ................... 53/? # Failed test 113 in /home/travis/build/apache/httpd/test/perl-framework/blib/lib/Apache/TestCommon.pm at line 56 fail #113
t/apache/rwrite.t ................... Failed 1/114 subtests

Recent examples:
https://travis-ci.org/apache/httpd/jobs/632425202
https://travis-ci.org/apache/httpd/jobs/633250739

Add "-verbose" as test option to capture more data about the failure
when it happens.

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

6 weeks agoAdd Travis job which runs tests in random order.
Joe Orton [Mon, 6 Jan 2020 11:52:48 +0000 (11:52 +0000)]
Add Travis job which runs tests in random order.

Github: closes #86

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

6 weeks agoCache SVN checkout of test/framework across Travis builds. Should
Joe Orton [Mon, 6 Jan 2020 10:36:39 +0000 (10:36 +0000)]
Cache SVN checkout of test/framework across Travis builds.  Should
improve reliability (the checkout fails frequently) and performance,
plus reduces load on ASF infra.

Github: closes #85

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

7 weeks agotest/travis_before_linux.sh: increase backoff time before executing svn export
Luca Toscano [Sat, 4 Jan 2020 09:23:10 +0000 (09:23 +0000)]
test/travis_before_linux.sh: increase backoff time before executing svn export

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

7 weeks agoVariables may also be set using the Define directive
Rich Bowen [Fri, 3 Jan 2020 19:55:24 +0000 (19:55 +0000)]
Variables may also be set using the Define directive

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

7 weeks agorebuild metafiles
Rich Bowen [Fri, 3 Jan 2020 19:50:48 +0000 (19:50 +0000)]
rebuild metafiles

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