]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
4 years ago'md_ocsp_get_stapling_status()' should return int, not apr_status_t.
Christophe Jaillet [Sun, 11 Oct 2020 07:50:46 +0000 (07:50 +0000)] 
'md_ocsp_get_stapling_status()' should return int, not apr_status_t.

This is similar to r1876549 for another function.

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

4 years agoAdjust signal handler before unblocking
Ruediger Pluem [Fri, 9 Oct 2020 19:32:27 +0000 (19:32 +0000)] 
Adjust signal handler before unblocking

* server/mpm/event/event.c: Set the new signal handler before unblocking the
  signal as otherwise queued signals get delivered to the old handler
  immediately when the signal is unblocked.

* server/mpm/worker/worker.c: Same thing as with event.

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

4 years agorebuild all for russian langage integration.
Lucien Gentis [Fri, 9 Oct 2020 14:52:44 +0000 (14:52 +0000)] 
rebuild all for russian langage integration.

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

4 years agodoc rebuild for russian integration.
Lucien Gentis [Fri, 9 Oct 2020 14:33:17 +0000 (14:33 +0000)] 
doc rebuild for russian integration.

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

4 years agorussian doc rebuild.
Lucien Gentis [Fri, 9 Oct 2020 14:26:03 +0000 (14:26 +0000)] 
russian doc rebuild.

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

4 years agorussian doc - obsolete file.
Lucien Gentis [Fri, 9 Oct 2020 14:13:49 +0000 (14:13 +0000)] 
russian doc - obsolete file.

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

4 years agorussian doc - obsolete file.
Lucien Gentis [Fri, 9 Oct 2020 14:10:49 +0000 (14:10 +0000)] 
russian doc - obsolete file.

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

4 years agorussian doc - from KOI8-R to UTF-8, missing change.
Lucien Gentis [Fri, 9 Oct 2020 13:55:30 +0000 (13:55 +0000)] 
russian doc - from KOI8-R to UTF-8, missing change.

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

4 years agorussian doc - adding first files.
Lucien Gentis [Fri, 9 Oct 2020 13:43:21 +0000 (13:43 +0000)] 
russian doc - adding first files.

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

4 years agorussian doc - from KOI8-R to UTF-8
Lucien Gentis [Fri, 9 Oct 2020 13:07:05 +0000 (13:07 +0000)] 
russian doc - from KOI8-R to UTF-8

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

4 years agoFix a compilation error in maintainer mode and be consistent with 'make_autoindex_ent...
Christophe Jaillet [Sun, 4 Oct 2020 08:59:45 +0000 (08:59 +0000)] 
Fix a compilation error in maintainer mode and be consistent with 'make_autoindex_entry()'

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

4 years agoSave a few bytes of memory in mod_autoindex
Christophe Jaillet [Sun, 4 Oct 2020 08:33:52 +0000 (08:33 +0000)] 
Save a few bytes of memory in mod_autoindex

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

4 years agoSave a few bytes of memory when registering Mutex
Christophe Jaillet [Sun, 4 Oct 2020 07:21:59 +0000 (07:21 +0000)] 
Save a few bytes of memory when registering Mutex

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 3 Oct 2020 13:43:06 +0000 (13:43 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 3 Oct 2020 13:41:51 +0000 (13:41 +0000)] 
fr doc XML file update.

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

4 years agoAdd a missing </tr>
Christophe Jaillet [Sat, 3 Oct 2020 06:07:55 +0000 (06:07 +0000)] 
Add a missing </tr>

PR 64754

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

4 years agoxforms [skip ci]
Christophe Jaillet [Fri, 2 Oct 2020 15:55:32 +0000 (15:55 +0000)] 
xforms [skip ci]

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

4 years agoDocument that HTTPS and SSL_TLS_SNI environment variables are always defined, regardl...
Christophe Jaillet [Fri, 2 Oct 2020 15:52:39 +0000 (15:52 +0000)] 
Document that HTTPS and SSL_TLS_SNI environment variables are always defined, regardless of 'SSLOptions StdEnvVars' .

Fix some small style issues to improve syntax hightlight.

PR 64783.

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

4 years agofr doc rebuild.
Lucien Gentis [Sun, 27 Sep 2020 12:34:09 +0000 (12:34 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sun, 27 Sep 2020 12:32:39 +0000 (12:32 +0000)] 
fr doc XML file update.

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

4 years agoAdd missing comma in some 'apr_apr_psprintf()' call if APR_HAS_THREADS is not defined
Christophe Jaillet [Sun, 27 Sep 2020 09:00:35 +0000 (09:00 +0000)] 
Add missing comma in some 'apr_apr_psprintf()' call if APR_HAS_THREADS is not defined

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

4 years agoAdd missing "const" or "static const" qualifiers in some command_rec
Christophe Jaillet [Sun, 27 Sep 2020 07:52:55 +0000 (07:52 +0000)] 
Add missing "const" or "static const" qualifiers in some command_rec
definitions.

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

4 years agomod_proxy: Add support for an optional third argument to ProxyRemote*
Joe Orton [Thu, 17 Sep 2020 11:31:43 +0000 (11:31 +0000)] 
mod_proxy: Add support for an optional third argument to ProxyRemote*
to configure the Basic auth credentials to send to the remote proxy.

(Note that credentials are always sent w/o waiting for a challenge as
with proxy-chain-auth, and only Basic is supported - both of which are
not exactly ideal - but better than nothing.)

* modules/proxy/mod_proxy.h (struct proxy_remote): Add creds field.

* modules/proxy/mod_proxy.c (proxy_handler): Pass forward proxy
  credentials via r->notes.
  (add_proxy): Take credentials and base64-encode into ->creds field if
  passed.
  (add_proxy_noregex, add_proxy_regex): Take optional creds argument.

* modules/proxy/proxy_util.c (ap_proxy_determine_connection):
  Use proxy credentials from r->notes if available.
  (ap_proxy_create_hdrbrgd): Set Proxy-Authorization header from
  credentials in r->notes if present.

PR: 37355
Github: closes #135

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

4 years ago* modules/dav/fs/repos.c (dav_fs_open_stream): Add specific logs for
Joe Orton [Tue, 15 Sep 2020 09:14:39 +0000 (09:14 +0000)] 
* modules/dav/fs/repos.c (dav_fs_open_stream): Add specific logs for
different modes in dav_fs_open_stream(), indicate failure because of
different file open modes. Also add the filepath in the log messages.

Github: closes #138
PR: 64413
Submitted by: Bingyu Shen <ahshenbingyu gmail.com>

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

4 years ago* Update change entries via make update-changes [skip ci]
Ruediger Pluem [Tue, 15 Sep 2020 07:50:26 +0000 (07:50 +0000)] 
* Update change entries via make update-changes [skip ci]

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

4 years ago* Changelog for r1881620 [skip ci]
Ruediger Pluem [Fri, 11 Sep 2020 06:17:34 +0000 (06:17 +0000)] 
* Changelog for r1881620 [skip ci]

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

4 years agofix headers name, spotted by Ivan Zhakov
Giovanni Bechis [Thu, 10 Sep 2020 14:30:08 +0000 (14:30 +0000)] 
fix headers name, spotted by Ivan Zhakov

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

4 years agoProcess early errors via a dummy HTTP/1.1 request as well
Ruediger Pluem [Thu, 10 Sep 2020 10:45:12 +0000 (10:45 +0000)] 
Process early errors via a dummy HTTP/1.1 request as well

Process early errors via a dummy HTTP/1.1 request as well to ensure
that the request gets logged correctly and possible custom error
pages are considered. The previous way of directly sending a HTTP/2
answer with the HTTP status code appropriate for the error is more
efficient, but does not log the request nor sents a possible custom
error page.

* modules/http2/h2.h: Add http_status to h2_request struct and define
  H2_HTTP_STATUS_UNSET.

* modules/http2/h2_request.c(h2_request_create_rec): Check if
  http_status is set for the request and die with the
  status code it contains if set.

* modules/http2/h2_session.c(on_header_cb): Adjust the error condition
  now that we mark early errors via http_status: Only return an error
  if the status is not success and http_status is not H2_HTTP_STATUS_UNSET.

* modules/http2/h2_stream.c(set_error_response): Set http_status
  on the request instead of creating headers for a response and a
  respective brigade.

Github: closes #137

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

4 years agomention 304 headers handling
Giovanni Bechis [Wed, 9 Sep 2020 15:06:29 +0000 (15:06 +0000)] 
mention 304 headers handling

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

4 years agohandle headers when replying a 304 following rfc7234
Giovanni Bechis [Wed, 9 Sep 2020 14:43:07 +0000 (14:43 +0000)] 
handle headers when replying a 304 following rfc7234
as discussed in bz 61820

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

4 years agoFurther re-unification of code duplicated across mod_cgi/mod_cgid into
Joe Orton [Tue, 8 Sep 2020 14:08:22 +0000 (14:08 +0000)] 
Further re-unification of code duplicated across mod_cgi/mod_cgid into
cgi_common.h.  Functional changes:

- brings the PR 61980 fix to mod_cgid as well, and
- some mod_cgid-specific APLOGNOs are dropped in favour of the
  code used in the equivalent error path in mod_cgi

... otherwise no user-visible changes (intended).

* modules/generators/cgi_common.h (log_scripterror, log_script_err): Move
  here from mod_cgi.
  (cgi_handle_exec): Move here, renamed from mod_cgi's handle_exec.
  (cgi_optfns_retrieve): New function, split out from mod_cgi's cgi_post_config.

* modules/generators/mod_cgid.c: Adjust accordingly, update to pass
  logno separately.
  (register_hooks): Register cgi_optfns_retrieve.

* modules/generators/mod_cgi.c: Adjust accordingly.
  (register_hooks): Register cgi_optfns_retrieve.

Github: closes #141

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

4 years agoFound a PR lurking for the method type vs UBSan issue. [skip ci]
Joe Orton [Tue, 8 Sep 2020 12:39:51 +0000 (12:39 +0000)] 
Found a PR lurking for the method type vs UBSan issue. [skip ci]

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

4 years agoDocument PR 64709 fix confirmed for r1881459. [skip ci]
Joe Orton [Tue, 8 Sep 2020 11:46:42 +0000 (11:46 +0000)] 
Document PR 64709 fix confirmed for r1881459.  [skip ci]

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

4 years agoSupport PCRE2 compile and linkage on Windows
William A. Rowe Jr [Sat, 5 Sep 2020 05:24:55 +0000 (05:24 +0000)] 
Support PCRE2 compile and linkage on Windows

 - Embeds the HAVE_PCRE2 define as a compiler flag rather than try to work around
   .h file substitutions, because the flag is only relevant to compiling the single
   server/util_pcre.c file.

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

4 years agoRestore broken win32 build, include apr/std headers before httpd headers
William A. Rowe Jr [Sat, 5 Sep 2020 05:20:59 +0000 (05:20 +0000)] 
Restore broken win32 build, include apr/std headers before httpd headers

 - In httpd we override exit() to trap the true exit code (see os/win32/os.h)
 - process.h was redefining exit() which picked up the macro instead of the
   original exit() declaration
 - Cleaner style pulls in apr, then standard C headers, and finally sets down
   the httpd includes on top of these, resolving the windows build regression

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

4 years ago* modules/generators/cgi_common.h (cgi_handle_response): Avoid trying
Joe Orton [Fri, 4 Sep 2020 13:56:25 +0000 (13:56 +0000)] 
* modules/generators/cgi_common.h (cgi_handle_response): Avoid trying
  to read the output brigade twice in the case of a timeout.

PR: 64709

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

4 years agoBe consistent when handling OOM situation
Christophe Jaillet [Wed, 2 Sep 2020 20:04:47 +0000 (20:04 +0000)] 
Be consistent when handling OOM situation

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

4 years agoCatch assert() failures.
Joe Orton [Wed, 2 Sep 2020 12:31:30 +0000 (12:31 +0000)] 
Catch assert() failures.

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

4 years agoFix a few warnings on 64 bits windows compilation
Christophe Jaillet [Tue, 1 Sep 2020 20:27:27 +0000 (20:27 +0000)] 
Fix a few warnings on 64 bits windows compilation

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

4 years agoAvoid a core dump at startup if "AllowOverride nonfatal" is used without any '='...
Christophe Jaillet [Sun, 30 Aug 2020 06:33:10 +0000 (06:33 +0000)] 
Avoid a core dump at startup if "AllowOverride nonfatal" is used without any '=' after "nonfatal".

Note that "nonfatal=" (without anything else) or "nonfatal=foo" are still not reported as erroneous and are silently ignored.

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

4 years agoFix a few warnings on 64 bits windows compilation
Christophe Jaillet [Sat, 29 Aug 2020 20:58:11 +0000 (20:58 +0000)] 
Fix a few warnings on 64 bits windows compilation

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

4 years agoFix a few warnings on 64 bits windows compilation
Christophe Jaillet [Sat, 29 Aug 2020 20:49:36 +0000 (20:49 +0000)] 
Fix a few warnings on 64 bits windows compilation

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

4 years agoFix a few warnings on 64 bits windows compilation
Christophe Jaillet [Sat, 29 Aug 2020 20:44:03 +0000 (20:44 +0000)] 
Fix a few warnings on 64 bits windows compilation

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

4 years agoFix a few warnings on 64 bits windows compilation
Christophe Jaillet [Sat, 29 Aug 2020 20:30:41 +0000 (20:30 +0000)] 
Fix a few warnings on 64 bits windows compilation

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 29 Aug 2020 14:38:57 +0000 (14:38 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML files updates.
Lucien Gentis [Sat, 29 Aug 2020 14:36:27 +0000 (14:36 +0000)] 
fr doc XML files updates.

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

4 years agosamesite: fix check for 0, add "false" alternative.
Eric Covener [Fri, 28 Aug 2020 00:29:17 +0000 (00:29 +0000)] 
samesite: fix check for 0, add "false" alternative.

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

5 years agoxform
Christophe Jaillet [Wed, 19 Aug 2020 08:55:12 +0000 (08:55 +0000)] 
xform

[skip ci]

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

5 years agoAdd a link for the WiP "New features with Apache 2.5/2.6" page
Christophe Jaillet [Wed, 19 Aug 2020 08:41:44 +0000 (08:41 +0000)] 
Add a link for the WiP "New features with Apache 2.5/2.6" page
[skip ci]

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

5 years agoAdd new transforms. [skip ci]
Joe Orton [Wed, 19 Aug 2020 07:33:25 +0000 (07:33 +0000)] 
Add new transforms. [skip ci]

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

5 years agoFollow up to r1880368 and r1880980:
Joe Orton [Wed, 19 Aug 2020 07:31:23 +0000 (07:31 +0000)] 
Follow up to r1880368 and r1880980:

Complete move to .en.utf8 suffixes in two steps:

1. From fresh checkout, renamed all existing files:

$ for f in *.html.en */*.html.en; do svn mv $f $f.utf8; done

2. Ran "./build.sh all" which also regenerates the typemaps.

[skip ci]

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

5 years agoFollow up to r1880368 by adjusting en.xml to match lang-targets.xml.
Joe Orton [Wed, 19 Aug 2020 07:26:18 +0000 (07:26 +0000)] 
Follow up to r1880368 by adjusting en.xml to match lang-targets.xml.
Ran "./build.sh bootstrap" which regenerates style/xsl/util/designations.xml
which in turn will then be used to regenerate the typemap files.
[skip ci]

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

5 years agoXforms. [skip ci]
Rainer Jung [Tue, 18 Aug 2020 09:48:08 +0000 (09:48 +0000)] 
Xforms. [skip ci]

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

5 years agoDocument limitations for private key format in
Rainer Jung [Tue, 18 Aug 2020 09:47:35 +0000 (09:47 +0000)] 
Document limitations for private key format in
SSLProxyMachineCertificateFile and
SSLProxyMachineCertificatePath. PR 63935.
[skip ci]

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

5 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access_modern): Move
Joe Orton [Mon, 17 Aug 2020 12:32:19 +0000 (12:32 +0000)] 
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access_modern): Move
  fill_reneg_buffer() call down after r->connection->master
  check.

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

5 years ago* Correctly define lua_resume for Lua <= 5.1
Ruediger Pluem [Mon, 17 Aug 2020 11:05:44 +0000 (11:05 +0000)] 
* Correctly define lua_resume for Lua <= 5.1

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

5 years agofr doc rebuild.
Lucien Gentis [Sat, 15 Aug 2020 13:49:34 +0000 (13:49 +0000)] 
fr doc rebuild.

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

5 years agofr doc XML files updates.
Lucien Gentis [Sat, 15 Aug 2020 13:48:26 +0000 (13:48 +0000)] 
fr doc XML files updates.

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

5 years agoRemove problematic version check for OpenSSL < 1.0.2
William A. Rowe Jr [Mon, 10 Aug 2020 20:12:00 +0000 (20:12 +0000)] 
Remove problematic version check for OpenSSL < 1.0.2

This addresses several concerns;

- There is no valid release of OpenSSL < 1.0.2 to incorporate security fixes,
  particularly on Windows, and particularly as vetted by the project.
- File structure of opensslv.h has changed in such as a way as to completely
  invalidate the CMake FindOpenSSL macros, so 3.0.0 cannot be determined.

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

5 years agoimprove Lua 5.4 handling
Giovanni Bechis [Mon, 10 Aug 2020 14:45:14 +0000 (14:45 +0000)] 
improve Lua 5.4 handling

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

5 years agofix quotes, simplify path, add a high port
Eric Covener [Sun, 9 Aug 2020 19:12:14 +0000 (19:12 +0000)] 
fix quotes, simplify path, add a high port

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

5 years agocover overlapp scenario which is straightfoward in trunk
Eric Covener [Sun, 9 Aug 2020 16:56:43 +0000 (16:56 +0000)] 
cover overlapp scenario which is straightfoward in trunk

(as long you get it in the right order)

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

5 years agoSupport building against Lua 5.4 by adjusting to the 3-arg form of
Joe Orton [Fri, 7 Aug 2020 12:21:35 +0000 (12:21 +0000)] 
Support building against Lua 5.4 by adjusting to the 3-arg form of
lua_resume().

* modules/lua/config.m4 (CHECK_LUA): Check for lua5.4 paths.

* modules/lua/mod_lua.c (lua_output_filter_handle,
  lua_input_filter_handle): Check that exactly one item is on the
  stack as indicated by lua_resume().

Submitted by: Lubos Uhliarik <luhliari redhat.com>, jorton
PR: 64591
Github: closes #130, closes #133, closes #134

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

5 years agoFail for more abort() errors in error_log.
Joe Orton [Wed, 5 Aug 2020 08:26:58 +0000 (08:26 +0000)] 
Fail for more abort() errors in error_log.
Fail if a core dump is produced, and dump the backtrace if so.
(e.g. during parent or child process shutdown, core dumps will
not show up as test case failures so would not otherwise be caught)

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

5 years agoUpdate docs for SSLRandomSeed deprecation in r1877467. [skip ci]
Joe Orton [Tue, 4 Aug 2020 10:27:11 +0000 (10:27 +0000)] 
Update docs for SSLRandomSeed deprecation in r1877467. [skip ci]

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

5 years agoThis not a hot path in RL use case, but looks to be one during testing with the test...
Christophe Jaillet [Sat, 1 Aug 2020 16:56:25 +0000 (16:56 +0000)] 
This not a hot path in RL use case, but looks to be one during testing with the test framework.
Sso save a few cycles in this (unusual) use case.

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

5 years agoMerge 2 loops in order to save a few cycles.
Christophe Jaillet [Sat, 1 Aug 2020 11:46:50 +0000 (11:46 +0000)] 
Merge 2 loops in order to save a few cycles.

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

5 years agoSimplify and speed-up ssl_io_data_dump().
Christophe Jaillet [Sat, 1 Aug 2020 10:42:57 +0000 (10:42 +0000)] 
Simplify and speed-up ssl_io_data_dump().

Instead of using a temp buffer for each byte or char written, and calling
strlen over and over again to find the place where to copy this buffer,
write directly at the correct place in the final buffer, and take advantage
of 'apr_snprintf' returning the number of bytes copied.

This looks like a hot path when running the test framework (because of TRACE7), so it could be slighly useful in this use case :)

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

5 years agodon't try to load modules from a NULL path
Eric Covener [Fri, 31 Jul 2020 01:21:25 +0000 (01:21 +0000)] 
don't try to load modules from a NULL path

ap_server_root_relative() can fail if apr_filepath_merge fails,
which can happen with a "bad" drive/volume or who knows what
else on Windows. Regardless, if !fullname we are already
going to retry wih what was actually passed.

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

5 years agoFor non-trunk run a simpler APLOGNO() test using grep which
Joe Orton [Thu, 30 Jul 2020 14:39:01 +0000 (14:39 +0000)] 
For non-trunk run a simpler APLOGNO() test using grep which
only catches missing arguments, but this is better than nothing.

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

5 years agoUpdate some conditions. [skip ci]
Joe Orton [Wed, 29 Jul 2020 14:01:33 +0000 (14:01 +0000)] 
Update some conditions. [skip ci]

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

5 years agoFix the condition_not_24x condition since it's now clear how 2.4 tagged builds look...
Joe Orton [Wed, 29 Jul 2020 13:08:51 +0000 (13:08 +0000)] 
Fix the condition_not_24x condition since it's now clear how 2.4 tagged builds look like:

https://travis-ci.org/github/apache/httpd/jobs/712895950#L447

+: Travis tag = 2.4.44
+: Travis branch = 2.4.44

This should fix the false -ves which currently occur because
trunk-only tests are getting run for 2.4.x tags.

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

5 years agonot my day, it seems
Stefan Eissing [Wed, 29 Jul 2020 12:58:24 +0000 (12:58 +0000)] 
not my day, it seems

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

5 years ago *) mod_http2: remote support for abandoned http-wg draft
Stefan Eissing [Wed, 29 Jul 2020 12:15:58 +0000 (12:15 +0000)] 
  *) mod_http2: remote support for abandoned http-wg draft
     <https://datatracker.ietf.org/doc/draft-kazuho-h2-cache-digest/>.

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

5 years agouse .utf8 output
Eric Covener [Tue, 28 Jul 2020 11:21:32 +0000 (11:21 +0000)] 
use .utf8 output

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

5 years agoFollow up to r1880205, APLOGNO().
Yann Ylavic [Thu, 23 Jul 2020 15:29:12 +0000 (15:29 +0000)] 
Follow up to r1880205, APLOGNO().

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

5 years agomod_proxy_uwsgi: Error out on HTTP header larger than 16K
Yann Ylavic [Thu, 23 Jul 2020 14:09:50 +0000 (14:09 +0000)] 
mod_proxy_uwsgi: Error out on HTTP header larger than 16K

The uwsgi protocol does not let us serialize more than 16K of HTTP header,
so fail early with 500 if it happens.

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

5 years agomod_proxy_http: follow up to r1879419.
Yann Ylavic [Thu, 23 Jul 2020 14:03:24 +0000 (14:03 +0000)] 
mod_proxy_http: follow up to r1879419.

Better ap_proxy_tunnel_run() error handling.

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

5 years agomod_proxy: follow up to r1879401: call filters on tunnel POLLERR.
Yann Ylavic [Thu, 23 Jul 2020 12:00:04 +0000 (12:00 +0000)] 
mod_proxy: follow up to r1879401: call filters on tunnel POLLERR.

proxy_util.c:
    Set POLLERR in reqevents for pollset providers that require it to detect
    socket errors (like select() based one).
    Call filters to read/write on POLLERR socket event, so that they know about
    the error by experiencing the failure. If no POLLIN|POLLOUT is returned
    with POLLERR (depending on the system or pollset provider), go with the
    requested read or write event handling.
    Restore ap_proxy_transfer_between_connections() so that it always tries to
    read first (i.e. move yielding conditions afterward).
    Add proxy_tunnel_forward() helper that calls transfer_between_connections()
    and handles errors pollset updates.
    Call proxy_tunnel_forward() when write completion finishes and there are
    pending input data.

mod_proxy.h:
    Add read_buf_size to proxy_tunnel_rec (trunk only, no MMN minor bump).

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

5 years agoAdd some features & API changes. [skip ci]
Joe Orton [Wed, 15 Jul 2020 14:53:05 +0000 (14:53 +0000)] 
Add some features & API changes. [skip ci]

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

5 years agoThe cgid-fdpassing failures are fixed by r1879883 in test/framework,
Joe Orton [Wed, 15 Jul 2020 14:44:21 +0000 (14:44 +0000)] 
The cgid-fdpassing failures are fixed by r1879883 in test/framework,
no longer mark as allowed_failure.  [skip ci]

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

5 years agomod_dav: Some DAV extensions, like CalDAV, specify both document
Graham Leggett [Wed, 15 Jul 2020 13:56:55 +0000 (13:56 +0000)] 
mod_dav: Some DAV extensions, like CalDAV, specify both document
elements and property elements that need to be taken into account
when generating a property. The document element and property element
are made available in the dav_liveprop_elem structure under the
DAV_PROP_ELEMENT key in the resource pool.

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

5 years agomod_dav: Add utility functions dav_validate_root_ns(),
Graham Leggett [Wed, 15 Jul 2020 13:16:19 +0000 (13:16 +0000)] 
mod_dav: Add utility functions dav_validate_root_ns(),
dav_find_child_ns(), dav_find_next_ns(), dav_find_attr_ns() and
dav_find_attr() so that other modules get to play too.

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

5 years agoAvoid NULL pointer dereferences for empty environment variable values
Ruediger Pluem [Wed, 15 Jul 2020 08:24:13 +0000 (08:24 +0000)] 
Avoid NULL pointer dereferences for empty environment variable values

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

5 years ago* docs/log-message-tags/update-log-msg-tags: Exit with non-zero
Joe Orton [Wed, 15 Jul 2020 07:25:51 +0000 (07:25 +0000)] 
* docs/log-message-tags/update-log-msg-tags: Exit with non-zero
  so inconsistent state is caught as a failure.

* test/README.travis: APLOGNO() sanity checking is done.

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

5 years ago* modules/generators/mod_cgid.c (get_cgi_pid): Fix test for pid=0.
Joe Orton [Tue, 14 Jul 2020 16:25:43 +0000 (16:25 +0000)] 
* modules/generators/mod_cgid.c (get_cgi_pid): Fix test for pid=0.
  (cgid_handler): Remove duplicated test for pid=0 here added in
  r1879119.

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

5 years agoConsider case insensitive filessystems
Ruediger Pluem [Mon, 13 Jul 2020 18:47:34 +0000 (18:47 +0000)] 
Consider case insensitive filessystems

Consider case insensitive filessystems and thus choose a new non conflicting
name for the directory to store CHANGES entries.

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

5 years ago *) mod_http2:
Stefan Eissing [Mon, 13 Jul 2020 15:36:53 +0000 (15:36 +0000)] 
  *) mod_http2:
     Fixes <https://github.com/icing/mod_h2/issues/200>:
     "LimitRequestFields 0" now disables the limit, as documented.
     Fixes <https://github.com/icing/mod_h2/issues/201>:
     Do not count repeated headers with same name against the field
     count limit. The are merged internally, as if sent in a single HTTP/1 line.

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

5 years agoCan we have mercy with people working on case-preserving file systems?
Stefan Eissing [Mon, 13 Jul 2020 15:24:45 +0000 (15:24 +0000)] 
Can we have mercy with people working on case-preserving file systems?

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

5 years agoTest VPATH build in Travis, update docs.
Joe Orton [Mon, 13 Jul 2020 14:02:39 +0000 (14:02 +0000)] 
Test VPATH build in Travis, update docs.

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

5 years agoAdd a new way to document changes
Ruediger Pluem [Mon, 13 Jul 2020 10:29:11 +0000 (10:29 +0000)] 
Add a new way to document changes

* Makefile.in: Define the update-changes target to merge the change files
  from the changes directory to the top of the CHANGES file and remove
  them afterwards. If a Subversion binary was found during configure try
  to svn rm them otherwise just delete them.

* configure.in: Search for the Subversion binary.

* acinclude.m4: Set the corresponding Makefile variable for the Subversion
  binary.

* README.CHANGES: New file to document the new approach.

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

5 years agoActually clear the cache for the worker MPM (missed in r1879757).
Joe Orton [Mon, 13 Jul 2020 07:27:04 +0000 (07:27 +0000)] 
Actually clear the cache for the worker MPM (missed in r1879757).

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

5 years agoTry removing the cached ~/perl5 to reset the broken worker
Joe Orton [Fri, 10 Jul 2020 11:25:14 +0000 (11:25 +0000)] 
Try removing the cached ~/perl5 to reset the broken worker
MPM test job.

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

5 years agoFor TEST_SSL=1 runs, test SSLSessionCache with shmcb, memcached
Joe Orton [Tue, 7 Jul 2020 16:00:55 +0000 (16:00 +0000)] 
For TEST_SSL=1 runs, test SSLSessionCache with shmcb, memcached
and redis socache providers.  Force TLSv1.2 for these runs since
TLSv1.3 doesn't use the cache.

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

5 years agoCheck for and use gettid() directly if available; glibc 2.30 and later
Joe Orton [Tue, 7 Jul 2020 13:40:15 +0000 (13:40 +0000)] 
Check for and use gettid() directly if available; glibc 2.30 and later
provides a wrapper for the system call:

* configure.in: Check for gettid() and define HAVE_SYS_GETTID if
  gettid() is only usable via syscall().

* server/log.c (log_tid): Use gettid() directly if available.

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

5 years agoBump the logno.
Graham Leggett [Mon, 6 Jul 2020 12:17:47 +0000 (12:17 +0000)] 
Bump the logno.

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

5 years ago* Update logno
Ruediger Pluem [Mon, 6 Jul 2020 12:15:02 +0000 (12:15 +0000)] 
* Update logno

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

5 years ago* Make get_line more robust in the case that it is called multiple times:
Ruediger Pluem [Mon, 6 Jul 2020 12:13:33 +0000 (12:13 +0000)] 
* Make get_line more robust in the case that it is called multiple times:

  - Safe the brigade between mutiple calls to correctly handle transient
    buckets.
  - Detect possible endless loops.

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

5 years ago* Do not try to parse already aborted requests
Ruediger Pluem [Mon, 6 Jul 2020 11:55:21 +0000 (11:55 +0000)] 
* Do not try to parse already aborted requests

Submitted by: icing

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

5 years agoUse a brigade instead of direct reads, allow APR to handle MMAP.
Graham Leggett [Mon, 6 Jul 2020 10:06:08 +0000 (10:06 +0000)] 
Use a brigade instead of direct reads, allow APR to handle MMAP.

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