MCPcopy
hub / github.com/MacRimi/ProxMenux / filter

Method filter

AppImage/scripts/flask_server.py:11718–11722  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

11716 # (browsers may cache HTTPS and keep sending TLS ClientHello to an HTTP server)
11717 class TLSNoiseFilter(logging.Filter):
11718 def filter(self, record):
11719 msg = record.getMessage() if record else ""
11720 if "Bad request version" in msg or "Bad request syntax" in msg:
11721 return False
11722 return True
11723
11724 # Silence werkzeug logger and add TLS noise filter
11725 log = logging.getLogger('werkzeug')

Callers 15

searchCheatShFunction · 0.80
ProxmoxDashboardFunction · 0.80
validatePasswordStrengthFunction · 0.80
handleRevokeTokenFunction · 0.80
SecurityFunction · 0.80
StorageMetricsFunction · 0.80
handleDiskLegendClickFunction · 0.80
handleNetworkLegendClickFunction · 0.80
searchCheatShFunction · 0.80
closeTerminalFunction · 0.80
HealthStatusModalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected