Squelch excessive certificate validation error logging from client

This commit is contained in:
Mark Qvist 2024-12-11 17:49:55 +01:00
parent a4e22c7868
commit 887c0a9a16

View File

@ -4730,6 +4730,7 @@ class SidebandCore():
# invalid certificate to the server. This will always
# happen from some clients when using a self-signed
# certificate, so we don't care.
if not hasattr(server.BaseHTTPRequestHandler, "handle_orig"):
server.BaseHTTPRequestHandler.handle_orig = server.BaseHTTPRequestHandler.handle
def handle(self):
try: