]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/lib-httpd: drop SSLMutex config
authorJeff King <peff@peff.net>
Wed, 1 Feb 2023 11:39:06 +0000 (06:39 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Feb 2023 18:10:34 +0000 (10:10 -0800)
The SSL config enabled by setting LIB_HTTPD_SSL does not work with
Apache versions greater than 2.2, as more recent versions complain about
the SSLMutex directive. According to
https://httpd.apache.org/docs/current/upgrading.html:

  Directives AcceptMutex, LockFile, RewriteLock, SSLMutex,
  SSLStaplingMutex, and WatchdogMutexPath have been replaced with a
  single Mutex directive. You will need to evaluate any use of these
  removed directives in your 2.2 configuration to determine if they can
  just be deleted or will need to be replaced using Mutex.

Deleting this line will just use the system default, which seems
sensible. The original came as part of faa4bc35a0 (http-push: add
regression tests, 2008-02-27), but no specific reason is given there (or
on the mailing list) for its presence.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd/apache.conf

index 332617f10d671b08165ff5679bf6ac1ffe90c5fc..51a4fbcf621a4bf023522747e1a1569ecf30edc4 100644 (file)
@@ -203,7 +203,6 @@ SSLCertificateKeyFile httpd.pem
 SSLRandomSeed startup file:/dev/urandom 512
 SSLRandomSeed connect file:/dev/urandom 512
 SSLSessionCache none
-SSLMutex file:ssl_mutex
 SSLEngine On
 </IfDefine>