]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
4 years agomod_md: make certain that the post config after ssl part runs really late.
Stefan Eissing [Wed, 24 Mar 2021 13:44:10 +0000 (13:44 +0000)] 
mod_md: make certain that the post config after ssl part runs really late.
        bumped version number.

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

4 years agodrive home the purpose of forward-dns
Eric Covener [Wed, 24 Mar 2021 13:13:05 +0000 (13:13 +0000)] 
drive home the purpose of forward-dns

[skip ci]

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

4 years agopull in forward-dns example from authz_host
Eric Covener [Wed, 24 Mar 2021 12:51:59 +0000 (12:51 +0000)] 
pull in forward-dns example from authz_host

lots of people miss it reading the doc for Require in authz_core only

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

4 years agoMake sure that conn->keepalive is NOT reset after being set in ap_read_request().
Jean-Frederic Clere [Wed, 24 Mar 2021 09:37:15 +0000 (09:37 +0000)] 
Make sure that conn->keepalive is NOT reset after being set in ap_read_request().

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

4 years agoResolving gcc's "error: too many arguments for format [-Werror=format-extra-args]".
Stefan Eissing [Wed, 24 Mar 2021 08:28:58 +0000 (08:28 +0000)] 
Resolving gcc's "error: too many arguments for format [-Werror=format-extra-args]".

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

4 years agoFixing trace logging printf to have the correct args now that we number certs.
Stefan Eissing [Tue, 23 Mar 2021 15:25:34 +0000 (15:25 +0000)] 
Fixing trace logging printf to have the correct args now that we number certs.

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

4 years agomod_md:
Stefan Eissing [Mon, 22 Mar 2021 15:09:05 +0000 (15:09 +0000)] 
mod_md:
     - MDCertificateFile and MDCertificateKeyFile can now be specified several
     times to add multiple, static certificates to a MDomain.

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 20 Mar 2021 13:31:18 +0000 (13:31 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file updates.
Lucien Gentis [Sat, 20 Mar 2021 13:30:06 +0000 (13:30 +0000)] 
fr doc XML file updates.

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

4 years agomod_ssl: Add base64-encoded DER certificate variables as alternative
Joe Orton [Fri, 19 Mar 2021 15:15:36 +0000 (15:15 +0000)] 
mod_ssl: Add base64-encoded DER certificate variables as alternative
to PEM, to avoid newline mangling issues when using PEM in header
values.

* modules/ssl/ssl_private.h (SSL_OPT_EXPORTCB64DATA): New constant.

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_data):
  New function, replacing ssl_var_lookup_ssl_cert_PEM.
  (ssl_var_lookup_ssl): Use it, and add _B64CERT variants of
  SSL_{CLIENT,SERVER}_CERT.
  (ssl_var_lookup_ssl_cert_chain): Use it.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLOptions): Support
  "ExportBase64CertData" argument.

* modules/ssl/ssl_engine_kernel.c (extract_to_env): New function.
  (ssl_hook_Fixup): Use it, also export _B64CERT variables if
  SSL_OPT_EXPORTCB64DATA is set; simplify the client cert chain
  handling.

PR: 65169
Reviewed by: michaelo
Github: closes #177

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

4 years ago* modules/generators/mod_cgid.c (cgid_server): Register cleanup for
Joe Orton [Tue, 16 Mar 2021 15:31:58 +0000 (15:31 +0000)] 
* modules/generators/mod_cgid.c (cgid_server): Register cleanup for
  socket earlier to avoid possible leaks on error paths.  (highlighted
  by Coverity scan)

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

4 years ago* modules/proxy/proxy_util.c (ap_proxy_define_balancer):
Joe Orton [Tue, 16 Mar 2021 12:55:18 +0000 (12:55 +0000)] 
* modules/proxy/proxy_util.c (ap_proxy_define_balancer):
  Fix leak in error path in the do_malloc case, caught by covscan.

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

4 years agoAxe modules.apache.org.
Christophe Jaillet [Sun, 14 Mar 2021 15:57:21 +0000 (15:57 +0000)] 
Axe modules.apache.org.

It has been off-line for a long time now, and there is no plan to bring it up, AFAIK.

[skip ci]

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

4 years ago* build/config_vars.sh.in: Improve comment language, no functional change.
Joe Orton [Thu, 11 Mar 2021 13:48:18 +0000 (13:48 +0000)] 
* build/config_vars.sh.in: Improve comment language, no functional change.
[skip ci]

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

4 years agoFix the fixed timeout, thanks Rüdiger.
Jean-Frederic Clere [Wed, 10 Mar 2021 16:24:21 +0000 (16:24 +0000)] 
Fix the fixed timeout, thanks Rüdiger.
And set the current_thread of the connection.

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

4 years agoAdd CPING to health check logic.
Jean-Frederic Clere [Wed, 10 Mar 2021 10:36:46 +0000 (10:36 +0000)] 
Add CPING to health check logic.

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

4 years agoUsing the new ap_ssl_conn_is_ssl() and ap_ssl_var_lookup() in all internal modules.
Stefan Eissing [Tue, 9 Mar 2021 12:55:55 +0000 (12:55 +0000)] 
Using the new ap_ssl_conn_is_ssl() and ap_ssl_var_lookup() in all internal modules.

 * leaving mod_nw_ssl and mod_ssl itself untouched
 * removing mod_ssl.h includes where no longer necessary
 * some modules might skip post_config hooks, but those were left in, even when empty now.

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

4 years agolets try ASN1_STRING_data() for openssl 1.0.2
Stefan Eissing [Tue, 9 Mar 2021 09:20:24 +0000 (09:20 +0000)] 
lets try ASN1_STRING_data() for openssl 1.0.2

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

4 years agoUse an optional function as adviced by Rüdiger.
Jean-Frederic Clere [Tue, 9 Mar 2021 08:39:21 +0000 (08:39 +0000)] 
Use an optional function as adviced by Rüdiger.

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

4 years agorefrain from handling ip address alt names in pre 1.1 openssl
Stefan Eissing [Mon, 8 Mar 2021 21:51:53 +0000 (21:51 +0000)] 
refrain from handling ip address alt names in pre 1.1 openssl

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

4 years agoUse ASN1_STRING_data() if openssl verison < 1.1.
Stefan Eissing [Mon, 8 Mar 2021 20:15:01 +0000 (20:15 +0000)] 
Use ASN1_STRING_data() if openssl verison < 1.1.

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

4 years agolog tags, my nemesis
Stefan Eissing [Mon, 8 Mar 2021 19:50:54 +0000 (19:50 +0000)] 
log tags, my nemesis

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

4 years ago *) mod_md: v2.4.0 with improvements and bugfixes
Stefan Eissing [Mon, 8 Mar 2021 18:05:50 +0000 (18:05 +0000)] 
  *) mod_md: v2.4.0 with improvements and bugfixes
     - MDPrivateKeys allows the specification of several types. Beside "RSA" plus
     optional key lengths elliptic curves can be configured. This means you can
     have multiple certificates for a Managed Domain with different key types.
     With ```MDPrivateKeys secp384r1 rsa2048``` you get one ECDSA  and one RSA
     certificate and all modern client will use the shorter ECDSA, while older
     client will get the RSA certificate.
     Many thanks to @tlhackque who pushed and helped on this.
     - Support added for MDomains consisting of a wildcard. Configuring
     ```MDomain *.host.net``` will match all virtual hosts matching that pattern
     and obtain one certificate for it (assuming you have 'dns-01' challenge
     support configured). Addresses #239.
     - Removed support for ACMEv1 servers. The only known installation used to
     be Let's Encrypt which has disabled that version more than a year ago for
     new accounts.
     - Andreas Ulm (<https://github.com/root360-AndreasUlm>) implemented the
     ```renewing``` call to ```MDMessageCmd``` that can deny a certificate
     renewal attempt. This is useful in clustered installations, as
     discussed in #233).
     - New event ```challenge-setup:<type>:<domain>```, triggered when the
     challenge data for a domain has been created. This is invoked before the
     ACME server is told to check for it. The type is one of the ACME challenge
     types. This is invoked for every DNS name in a MDomain.
     - The max delay for retries has been raised to daily (this is like all
     retries jittered somewhat to avoid repeats at fixed time of day).
     - Certain error codes reported by the ACME server that indicate a problem
     with the configured data now immediately switch to daily retries. For
     example: if the ACME server rejects a contact email or a domain name,
     frequent retries will most likely not solve the problem. But daily retries
     still make sense as there might be an error at the server and un-supervised
     certificate renewal is the goal. Refs #222.
     - Test case and work around for domain names > 64 octets. Fixes #227.
     When the first DNS name of an MD is longer than 63 octets, the certificate
     request will not contain a CN field, but leave it up to the CA to choose one.
     Currently, Lets Encrypt looks for a shorter name in the SAN list given and
     fails the request if none is found. But it is really up to the CA (and what
     browsers/libs accept here) and may change over the years. That is why
     the decision is best made at the CA.
     - Retry delays now have a random +/-[0-50]% modification applied to let
     retries from several servers spread out more, should they have been
     restarted at the same time of day.
     - Fixed several places where the 'badNonce' return code from an ACME server
     was not handled correctly. The test server 'pebble' simulates this behaviour
     by default and helps nicely in verifying this behaviour. Thanks, pebble!
     - Set the default `MDActivationDelay` to 0. This was confusing to users that
     new certificates were deemed not usably before a day of delay. When clocks are
     correct, using a new certificate right away should not pose a problem.
     - When handling ACME authorization resources, the module no longer requires
     the server to return a "Location" header, as was necessary in ACMEv1.
     Fixes #216.
     - Fixed a theoretical uninitialized read when testing for JSON error responses
     from the ACME CA. Reported at <https://bz.apache.org/bugzilla/show_bug.cgi?id=64297>.
     - ACME problem reports from CAs that include parameters in the Content-Type
     header are handled correctly. (Previously, the problem text would not be
     reported and retries could exist CA limits.)
     - Account Update transactions to V2 CAs now use the correct POST-AS-GET method.
     Previously, an empty JSON object was sent - which apparently LE accepted,
     but others reject.

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

4 years agotypo in old CHANGES entry
Eric Covener [Mon, 8 Mar 2021 01:19:48 +0000 (01:19 +0000)] 
typo in old CHANGES entry

[skip ci]

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 6 Mar 2021 14:03:12 +0000 (14:03 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 6 Mar 2021 14:02:14 +0000 (14:02 +0000)] 
fr doc XML file update.

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

4 years agoFollow-up to r1887244.
Christophe Jaillet [Sat, 6 Mar 2021 07:18:56 +0000 (07:18 +0000)] 
Follow-up to r1887244.

Wrong version of the patch attached :(

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

4 years agoFix a potential duplicated ID generation issue under heavy load.
Christophe Jaillet [Sat, 6 Mar 2021 06:39:24 +0000 (06:39 +0000)] 
Fix a potential duplicated ID generation issue under heavy load.
This is due to a non thread safe use of a counter.

Use a counter for each thread instead to avoid the issue.

PR 65159

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

4 years ago* modules/proxy/mod_proxy_balancer.c (balancer_display_page):
Joe Orton [Fri, 5 Mar 2021 08:35:06 +0000 (08:35 +0000)] 
* modules/proxy/mod_proxy_balancer.c (balancer_display_page):
  Include nonce in XML output.

PR: 63074
Submitted by: Federico Mennite <federico.mennite lifeware.ch>

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

4 years agoAdd balancer_manage() to allow external module to fill workers for balancers.
Jean-Frederic Clere [Thu, 4 Mar 2021 14:00:45 +0000 (14:00 +0000)] 
Add balancer_manage() to allow external module to fill workers for balancers.

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

4 years agoAnd the necessary log tags added just shortly afterwards.
Stefan Eissing [Wed, 3 Mar 2021 15:52:56 +0000 (15:52 +0000)] 
And the necessary log tags added just shortly afterwards.

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

4 years agoChanged ap_ssl_answer_challenge() and its hook to provide PEM data for
Stefan Eissing [Wed, 3 Mar 2021 15:52:18 +0000 (15:52 +0000)] 
Changed ap_ssl_answer_challenge() and its hook to provide PEM data for
certificate and key instead of file names.

Added support for this in mod_ssl and verified with a local mod_md
version that uses it.

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

4 years agoSynch from mod_md github:
Joe Orton [Wed, 3 Mar 2021 14:53:12 +0000 (14:53 +0000)] 
Synch from mod_md github:

mod_md: tolerate missing revokeCert or keyChange resource

RFC 8555 §7.1 states:

  The server MUST provide "directory" and "newNonce" resources.

But RFC 8555 makes no explicit statement anywhere whether other
resources are, or are not, required (with the exception of
"newAuthz" which is optional).

Therefore it is possible that some ACME server implementations may
omit some resources; in particular those that are not an essential
part of the "order" workflow.  Indeed, I am working with one such
server implementation, which does not at this time implement
"keyChange".  mod_md refuses to interact with this server because it
is checking that a certain set of resources are defined in the
directory object - despite some of those resources not currently
being used.

Update the check to require only "newNonce", "newAccount" and
"newOrder".  Omit from the check and therefore tolerate the absense
of resources which are not always required: "revokeCert" and
"keyChange".

If mod_md implements revocation and/or key rollover in the future,
the availability of those features should be predicated on the
server's advertised capabilities.

https://github.com/icing/mod_md/commit/38ff597f3ccb3c942e68701fb185c6a68f0708e4

Submitted by: Fraser Tweedale <ftweedal redhat.com>
Github: closes #122

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

4 years agoUpdate to travis-ci.com URLs from .org. [skip ci]
Joe Orton [Wed, 3 Mar 2021 14:49:02 +0000 (14:49 +0000)] 
Update to travis-ci.com URLs from .org.  [skip ci]

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

4 years agoSimplify balancer-manager XSS protection, no functional change:
Joe Orton [Wed, 3 Mar 2021 14:27:33 +0000 (14:27 +0000)] 
Simplify balancer-manager XSS protection, no functional change:

* modules/proxy/mod_proxy_balancer.c (balancer_process_balancer_worker):
  Drop the ok2change parameter, which makes the function a noop, and
  require the function is not called for that case.
  (balancer_handler): Only call balancer_process_balancer_worker if
  the nonce matches.  Simplify call to balancer_display_page.

Github: closes #174

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

4 years agorollback r1887138. Sorry ;-(
Jean-Frederic Clere [Wed, 3 Mar 2021 13:21:27 +0000 (13:21 +0000)] 
rollback r1887138. Sorry ;-(

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

4 years agoAllow empty <balancer://mycluster/> and add a provider to allow other modules to...
Jean-Frederic Clere [Wed, 3 Mar 2021 11:01:02 +0000 (11:01 +0000)] 
Allow empty <balancer://mycluster/> and add a provider to allow other modules to create workers.

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

4 years agoFixed regression in r1887085 where a SSL function was used that is not available...
Stefan Eissing [Wed, 3 Mar 2021 08:55:23 +0000 (08:55 +0000)] 
Fixed regression in r1887085 where a SSL function was used that is not available in OpenSSL 1.0.2.

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

4 years agoAdding log tags where log tags are needed.
Stefan Eissing [Tue, 2 Mar 2021 14:52:56 +0000 (14:52 +0000)] 
Adding log tags where log tags are needed.

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

4 years agoAdding more ap_ssl_* functions and hooks to the core server.
Stefan Eissing [Tue, 2 Mar 2021 14:21:18 +0000 (14:21 +0000)] 
Adding more ap_ssl_* functions and hooks to the core server.

     - ap_ssl_add_cert_files() to enable other modules like mod_md to provide
       certificate and keys for an SSL module like mod_ssl.
     - ap_ssl_add_fallback_cert_files() to enable other modules like mod_md to
       provide a fallback certificate in case no 'proper' certificate is
       available for an SSL module like mod_ssl.
     - ap_ssl_answer_challenge() to enable other modules like mod_md to
       provide a certificate as used in the RFC 8555 'tls-alpn-01' challenge
       for the ACME protocol for an SSL module like mod_ssl.
    - Hooks for 'ssl_add_cert_files', 'ssl_add_fallback_cert_files' and
      'ssl_answer_challenge' where modules like mod_md can provide providers
      to the above mentioned functions.

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

4 years agoSync CHANGES entries. [skip ci].
Yann Ylavic [Mon, 1 Mar 2021 20:16:50 +0000 (20:16 +0000)] 
Sync CHANGES entries. [skip ci].

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

4 years agomod_session: account for the '&' in identity_concat().
Yann Ylavic [Mon, 1 Mar 2021 20:13:54 +0000 (20:13 +0000)] 
mod_session: account for the '&' in identity_concat().

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

4 years agomod_session: save one apr_strtok() in session_identity_decode().
Yann Ylavic [Mon, 1 Mar 2021 20:07:08 +0000 (20:07 +0000)] 
mod_session: save one apr_strtok() in session_identity_decode().

When the encoding is invalid (missing '='), no need to parse further.

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

4 years agoAdd an exemple.
Christophe Jaillet [Sun, 28 Feb 2021 14:21:09 +0000 (14:21 +0000)] 
Add an exemple.
Synch with 2.4.x (syntax highlight) + secret introduced in 2.4.42.
Small doc rearrangement so that the "Beyond this list of basic attributes" is actually after the description of all items.

[skip ci]

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

4 years agoAdd missing pt translation
Christophe Jaillet [Sun, 28 Feb 2021 11:42:29 +0000 (11:42 +0000)] 
Add missing pt translation

PR 41433

[skip ci]

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 27 Feb 2021 13:21:37 +0000 (13:21 +0000)] 
fr doc rebuild.

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

4 years agoXML file update.
Lucien Gentis [Sat, 27 Feb 2021 13:20:06 +0000 (13:20 +0000)] 
XML file update.

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

4 years agoEnable mod_cgid stderr handling via Unix socket fd transfer by
Joe Orton [Thu, 25 Feb 2021 09:11:57 +0000 (09:11 +0000)] 
Enable mod_cgid stderr handling via Unix socket fd transfer by
default, rather than as an opt-in configure flag.  (This has been
tested in Fedora for >12 months without seeing any new problems)

* configure.in: Check for CMSG_DATA here, and define HAVE_FDPASSING
  and $ap_has_fdpassing if fd passing is supported.

* modules/generator/config5.m4,
  modules/generator/mod_cgid.c: Drop configure flag for mod_cgid
  fdpassing support, instead enable where possible by default.

* modules/proxy/config.m4: Rely on configure test for CMSG_DATA.

* .travis.yml: Switch test for cgid fdpassing for testing w/o
  CMSG_DATA.

Github: closes #172
PR: 54221

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

4 years ago *) core: Adding SSL related inquiry functions to the server API.
Stefan Eissing [Tue, 23 Feb 2021 15:08:24 +0000 (15:08 +0000)] 
  *) core: Adding SSL related inquiry functions to the server API.
     These function are always available, even when no module providing
     SSL is loaded. They provide their own "shadowing" implementation for
     the optional functions of similar name that mod_ssl and impersonators
     of mod_ssl provide.
     This enables loading of several SSL providing modules when all but
     one of them registers itself into the new hooks. Two old-style SSL
     modules will not work, as they replace the others optional functions
     with their own.
     Modules using the old-style optional functions will continue to work
     as core supplies its own versions of those.
     The following has been added so far:
     - ap_ssl_conn_is_ssl() to query if a connection is using SSL.
     - ap_ssl_var_lookup() to query SSL related variables for a
       server/connection/request.
     - Hooks for 'ssl_conn_is_ssl' and 'ssl_var_lookup' where modules
       providing SSL can install their own value supplying functions.

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

4 years agomod_htt2, synch with changes from github module version:
Stefan Eissing [Mon, 22 Feb 2021 14:11:09 +0000 (14:11 +0000)] 
mod_htt2, synch with changes from github module version:
  - logio: improvements to reporting of sent bytes for http2 responses
  - directive H2OutputBuffering, controls if any output should be sent immediately.

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

4 years agomod_http2: Fix workers synchronization on pchild cleanup.
Yann Ylavic [Sat, 6 Feb 2021 12:17:40 +0000 (12:17 +0000)] 
mod_http2: Fix workers synchronization on pchild cleanup.

When the MPM child exits and pre-workers_pool_cleanup() is called, all the
workers are are necessarily in their idle critical section, thus aborting slots
in the ->idle list only may leave worker threads alive, later blocked in the
idle critical section with no one to wake them.

Instead of the per-slot ->aborted flag, workers_pool_cleanup() will now set
workers->aborted "globally" such that slot_run() does not wait to be woken up
from idle in this case, and all workers really exit.

Also, for workers_pool_cleanup() to wait for all the workers to reach the
->zombies list before returning, a new ->all_done condition variable is armed
when the last thread exits. Since this depends on the atomic ->worker_count to
reach zero, for accuracy the increment in activate_slot() is moved before the
thread startup.

* modules/http2/h2_workers.h (struct h2_workers): volatilize ->aborted and
  add the ->all_done condition variable.

* modules/http2/h2_workers.c (push_slot, pop_slot): volatilize the h2_slot*
  being cas-ed.

* modules/http2/h2_workers.c (cleanup_zombies): rename to join_zombies(), and
  move ->worker_count atomic inc to slot_done().

* modules/http2/h2_workers.c (get_next): when workers->aborted, leave and don't
  wait for ->not_idle. Return an int/bool since it's gotten / not gotten.

* modules/http2/h2_workers.c (slot_done): signal ->all_done when the last
  worker and the MPM child are exiting.

* modules/http2/h2_workers.c (slot_run): rework the loops now that get_next()
  is the stop signal.

* modules/http2/h2_workers.c (workers_pool_cleanup): wait for ->all_done when
  needed, and remove the !workers->aborted condition since the cleanup will
  only be called once.

* modules/http2/h2_workers.c (activate_slot): move ->worker_count atomic inc
  before the thread creation and handle failure rollback.

github: closes #169

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

4 years agomod_proxy_http: follow up to r1886141, axe overlong scheme check.
Yann Ylavic [Wed, 3 Feb 2021 11:29:10 +0000 (11:29 +0000)] 
mod_proxy_http: follow up to r1886141, axe overlong scheme check.

Since mod_proxy can see CONNECT URIs, "hostname:port" versus "scheme:"
is hardly distinguishable (we don't want to limit the length of hostnames),
and we don't allocate the scheme anymore while parsing, let's simply decline
unrecognized schemes (overlong or not) and be caught by the no-handler case
if there really is no proxy handler interested.

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

4 years ago* We need to check for (!scheme && (u = strchr(url, ':')) && (u - url) > 14)
Ruediger Pluem [Tue, 2 Feb 2021 19:50:14 +0000 (19:50 +0000)] 
* We need to check for (!scheme && (u = strchr(url, ':')) && (u - url) > 14)
  later as (!scheme || u[0] != '/' || u[1] != '/' || u[2] == '\0') is true
  for requests with the CONNECT method which we need to decline. But in many
  cases requests with the CONNECT method have (u - url) > 14 as in this
  case (u - url) is the length of the FQDN the forward proxy should connect
  to.

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

4 years ago* Do variable setting in a more portable way such that it works on MacOS as well
Ruediger Pluem [Mon, 1 Feb 2021 10:29:07 +0000 (10:29 +0000)] 
* Do variable setting in a more portable way such that it works on MacOS as well

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

4 years ago - fixed a clang error when dividing sizeof(T1i[]) / sizeof(T2).
Stefan Eissing [Mon, 1 Feb 2021 09:01:22 +0000 (09:01 +0000)] 
 - fixed a clang error when dividing sizeof(T1i[]) / sizeof(T2).
   these modern compilers have no respect for code from 2009.

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

4 years agoUpdate Travis LDAP testing to use a CentOS based container, pulled
Joe Orton [Fri, 29 Jan 2021 12:42:56 +0000 (12:42 +0000)] 
Update Travis LDAP testing to use a CentOS based container, pulled
from quay.io, to avoid the new Docker hub pull rate-limiting which
is causing intermittent failures.

Submitted by: jorton, Lubos Uhliarik <luhliari redhat.com>
Github: closes #167

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

4 years ago* Add lognumber
Ruediger Pluem [Wed, 27 Jan 2021 17:07:30 +0000 (17:07 +0000)] 
* Add lognumber

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

4 years ago* Document r1885939 and r1885940
Ruediger Pluem [Wed, 27 Jan 2021 08:20:37 +0000 (08:20 +0000)] 
* Document r1885939 and r1885940

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

4 years agoBefore doing any bind check that the provided username is not NULL and that the
Ruediger Pluem [Wed, 27 Jan 2021 08:08:56 +0000 (08:08 +0000)] 
Before doing any bind check that the provided username is not NULL and that the
password is neither NULL nor empty.

Binds with empty passwords always succeed, but in case the password of the
user was not empty subsequent LDAP operations fail.
This causes authentications that use user supplied credentials
(AuthLDAPInitialBindAsUser set to on) to fail with status code 500 instead of
401 if the user supplied an empty password.

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

4 years agoDo not allow to set empty bind passwords to be set via AuthLDAPBindPassword
Ruediger Pluem [Wed, 27 Jan 2021 08:01:06 +0000 (08:01 +0000)] 
Do not allow to set empty bind passwords to be set via AuthLDAPBindPassword

Binds with empty passwords always succeed, but in case the password of the
user was not empty subsequent LDAP operations fail.

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 23 Jan 2021 14:32:50 +0000 (14:32 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 23 Jan 2021 14:24:04 +0000 (14:24 +0000)] 
fr doc XML file update.

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

4 years agos/2020/2021/
Christophe Jaillet [Sat, 23 Jan 2021 07:20:47 +0000 (07:20 +0000)] 
s/2020/2021/

Happy New Year!

[skip ci]

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

4 years agoAdd some missing hyper links to directives.
Christophe Jaillet [Sat, 23 Jan 2021 06:51:15 +0000 (06:51 +0000)] 
Add some missing hyper links to directives.
Remove some <var> in <syntax> to be more consistant with the rest of the doc.
Remove a duplicated traling ".".

[skip ci]

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

4 years agomod_proxy_hcheck: don't pile up health checks. PR 63010.
Yann Ylavic [Tue, 19 Jan 2021 14:16:44 +0000 (14:16 +0000)] 
mod_proxy_hcheck: don't pile up health checks.  PR 63010.

Prevent health checks from running for a worker until the last one is fully
finished, to avoid making things worse (memory growth, #connections, ..).

This is done by zeroing worker->s->updated before scheduling the worker in the
threadpool, and resetting the time when it's finished. The scheduler then does
nothing if worker->s->updated is zero.

Also, to save some apr_time_now() calls when !HC_USE_THREADS, *baton->now is
updated in the callback and reused by the scheduler.

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

4 years agoUpdate CHANGES entry after r1885659 [skip ci].
Yann Ylavic [Mon, 18 Jan 2021 17:17:04 +0000 (17:17 +0000)] 
Update CHANGES entry after r1885659 [skip ci].

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

4 years agomod_auth_digest: Fast validation of the nonce's base64 to fail early if
Yann Ylavic [Mon, 18 Jan 2021 17:01:53 +0000 (17:01 +0000)] 
mod_auth_digest: Fast validation of the nonce's base64 to fail early if
                 the format can't match anyway.

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

4 years agoUpdate CHANGES entries [skip ci].
Yann Ylavic [Mon, 18 Jan 2021 16:52:04 +0000 (16:52 +0000)] 
Update CHANGES entries [skip ci].

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

4 years agoother half of command
Eric Covener [Sun, 17 Jan 2021 23:56:39 +0000 (23:56 +0000)] 
other half of command

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

4 years agogo back globbing butadd nullglob
Eric Covener [Sun, 17 Jan 2021 23:55:51 +0000 (23:55 +0000)] 
go back globbing butadd nullglob

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

4 years agoGet Lua dev package from liblua5.3-dev.
Yann Ylavic [Sun, 17 Jan 2021 22:29:12 +0000 (22:29 +0000)] 
Get Lua dev package from liblua5.3-dev.

Call sysctl though sudo.

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

4 years agoTrigger ci.
Yann Ylavic [Sun, 17 Jan 2021 21:08:30 +0000 (21:08 +0000)] 
Trigger ci.

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

4 years agoadd AnyEvent::WebSocket::Client
Eric Covener [Sat, 16 Jan 2021 21:11:19 +0000 (21:11 +0000)] 
add  AnyEvent::WebSocket::Client

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

4 years agofr doc rebuils.
Lucien Gentis [Sat, 16 Jan 2021 13:23:42 +0000 (13:23 +0000)] 
fr doc rebuils.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 16 Jan 2021 13:22:47 +0000 (13:22 +0000)] 
fr doc XML file update.

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

4 years agoPR55078: remove old Protocol info
Eric Covener [Thu, 14 Jan 2021 03:01:16 +0000 (03:01 +0000)] 
PR55078: remove old Protocol info

followup to 1885463

[skip ci]

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

4 years agoPR65078: synch "protocol" description between Listen and Protocol directives
Eric Covener [Thu, 14 Jan 2021 02:59:28 +0000 (02:59 +0000)] 
PR65078: synch "protocol" description between Listen and Protocol directives

[skipci]

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 9 Jan 2021 14:32:28 +0000 (14:32 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML files updates.
Lucien Gentis [Sat, 9 Jan 2021 14:31:20 +0000 (14:31 +0000)] 
fr doc XML files updates.

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

4 years ago* acinclude.m4 (APACHE_CHECK_OPENSSL): Use standard "yes/no" output
Joe Orton [Fri, 8 Jan 2021 12:19:48 +0000 (12:19 +0000)] 
* acinclude.m4 (APACHE_CHECK_OPENSSL): Use standard "yes/no" output
  for the OpenSSL version check, rather than OK/FAILED.

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

4 years agomod_proxy_wstunnel: follow up to r1885239: use ap_find_linked_module().
Yann Ylavic [Thu, 7 Jan 2021 17:16:19 +0000 (17:16 +0000)] 
mod_proxy_wstunnel: follow up to r1885239: use ap_find_linked_module().

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

4 years agomod_proxy_http: follow up to r1885239: fix *is_ssl for wss scheme.
Yann Ylavic [Thu, 7 Jan 2021 13:38:37 +0000 (13:38 +0000)] 
mod_proxy_http: follow up to r1885239: fix *is_ssl for wss scheme.

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

4 years agomod_proxy_wstunnel: leave Upgrade requests handling to mod_proxy_http.
Yann Ylavic [Thu, 7 Jan 2021 13:19:08 +0000 (13:19 +0000)] 
mod_proxy_wstunnel: leave Upgrade requests handling to mod_proxy_http.

Let mod_proxy_http's canon and scheme handlers accept "ws[s]:" schemes so that
mod_proxy_wstunnel can decline requests when mod_proxy_http is loaded.

* modules/proxy/{mod_proxy.h,proxy_util.c} (ap_proxy_worker_can_upgrade):
  Add a "dflt" argument to ap_proxy_worker_can_upgrade() which, if not NULL,
  is matched when no worker upgrade= parameter is configured. This allows to
  handle the default "Upgrade: websocket" case for "ws[s]:" schemes.

* modules/proxy/mod_proxy_http.c (proxy_http_canon, proxy_http_handler):
  Add and use the new get_url_scheme() helper to parse URL schemes handled by
  mod_proxy_http and use it in canon and scheme handlers. This helper now
  accepts ws[s] schemes.

* modules/proxy/mod_proxy_wstunnel.c (proxy_wstunnel_post_config):
  New post_config hook to detect whether mod_proxy_http is loaded and set
  global fallback_to_mod_proxy_http flag in this case.

* modules/proxy/mod_proxy_wstunnel.c (proxy_wstunnel_check_trans,
                                      proxy_wstunnel_canon,
                                      proxy_wstunnel_handler):
  These hooks now early return DECLINED if fallback_to_mod_proxy_http is set.

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

4 years agoAdd some <module> to add some links between modules.
Christophe Jaillet [Sun, 3 Jan 2021 18:36:50 +0000 (18:36 +0000)] 
Add some <module> to add some links between modules.

[skip ci]

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

4 years agoFix "-->" alignment to synch with 2.4.x
Christophe Jaillet [Sun, 3 Jan 2021 12:46:09 +0000 (12:46 +0000)] 
Fix "-->" alignment to synch with 2.4.x

[skip ci]

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

4 years agoUse Require instead of Allow and Deny.
Christophe Jaillet [Sun, 3 Jan 2021 09:00:55 +0000 (09:00 +0000)] 
Use Require instead of Allow and Deny.

While at it, removes the "based on the value of" because, it is not really based on the value of the environment variable, but on its existence or not.

PR 65048

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 19 Dec 2020 14:48:03 +0000 (14:48 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML files updates.
Lucien Gentis [Sat, 19 Dec 2020 14:46:52 +0000 (14:46 +0000)] 
fr doc XML files updates.

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

4 years agoxforms
Eric Covener [Fri, 18 Dec 2020 14:23:03 +0000 (14:23 +0000)] 
xforms

[skip ci]

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

4 years agoPR64996: avoid "best" unqualified
Eric Covener [Fri, 18 Dec 2020 14:22:54 +0000 (14:22 +0000)] 
PR64996: avoid "best" unqualified

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

4 years agoxform
Eric Covener [Thu, 17 Dec 2020 19:24:15 +0000 (19:24 +0000)] 
xform

[skip ci]

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

4 years agoPR64997: clarify hostnames inside <virtualhost> tag
Eric Covener [Thu, 17 Dec 2020 14:41:53 +0000 (14:41 +0000)] 
PR64997: clarify hostnames inside <virtualhost> tag

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

4 years agoRegenerate. [skip ci]
Joe Orton [Thu, 17 Dec 2020 12:48:30 +0000 (12:48 +0000)] 
Regenerate. [skip ci]

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

4 years agoTreat non-leaf certificates present in SSLProxyMachineCertificateFile
Joe Orton [Thu, 17 Dec 2020 12:44:41 +0000 (12:44 +0000)] 
Treat non-leaf certificates present in SSLProxyMachineCertificateFile
the same was as non-leaf certs are in SSLCertificateFile - use them to
build the trusted cert chain for the end-entity (client) cert.

* modules/ssl/ssl_engine_init.c (ssl_init_proxy_certs):
  For any non-leaf certificate present in the configured, trust as
  if used in SSLProxyMachineCertificateChainFile.

Github: closes #151

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

4 years ago* modules/ssl/ssl_private.h (modssl_pk_proxy_t): Update comment,
Joe Orton [Thu, 17 Dec 2020 12:40:45 +0000 (12:40 +0000)] 
* modules/ssl/ssl_private.h (modssl_pk_proxy_t): Update comment,
  no functional change. [skip ci]

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

4 years agoAdd job using APR thread debugging, switching to the pthreads
Joe Orton [Thu, 17 Dec 2020 09:27:08 +0000 (09:27 +0000)] 
Add job using APR thread debugging, switching to the pthreads
error-checking mutex as the default type.  This results in
errors rather than undefined behaviour when double-locking
a mutex.

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

4 years agoAdd ab run for TEST_SSL jobs. This now seems to be stable after the
Joe Orton [Thu, 17 Dec 2020 08:20:49 +0000 (08:20 +0000)] 
Add ab run for TEST_SSL jobs.  This now seems to be stable after the
pool fixes in APR/httpd (huge thanks ylavic).

Github: closes #140

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

4 years agoAdd .opus extension for audio/ogg mimetype, per RFC 7845
Joe Orton [Wed, 16 Dec 2020 16:57:44 +0000 (16:57 +0000)] 
Add .opus extension for audio/ogg mimetype, per RFC 7845

RFC 7845: https://tools.ietf.org/html/rfc7845#section-9

Submitted by: Richard de Boer <richard tubul.net>
Github: closes #144

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

4 years ago* modules/mappers/mod_rewrite.c: Remove unused MAX_COOKIE_LEN.
Joe Orton [Wed, 16 Dec 2020 16:47:18 +0000 (16:47 +0000)] 
* modules/mappers/mod_rewrite.c: Remove unused MAX_COOKIE_LEN.

Submitted by: Bryan Heden <b.heden gmail.com>
Github: closes #147

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

4 years ago* support/htpasswd.c: Fix typo. [skip ci]
Joe Orton [Wed, 16 Dec 2020 16:39:44 +0000 (16:39 +0000)] 
* support/htpasswd.c: Fix typo. [skip ci]

Submitted by: Ikko Ashimine <eltociear gmail.com>
Github: closes #149

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