mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-21 02:58:45 +00:00
Disable SSL switch
This commit is contained in:
1 parent
5a61d8f782
commit
87977962dc
12 files changed
+75
-36
No files matched your search
+2
-1
@@ -289,7 +289,8 @@ class _CfWorkerPool:
|
||||
for worker_domain in self.available_domains(worker_domains):
|
||||
try:
|
||||
ws = await RawWebSocket.connect(
|
||||
worker_domain, worker_domain, timeout=8, path=path)
|
||||
worker_domain, worker_domain, timeout=8, path=path,
|
||||
secure=not proxy_config.disable_secure)
|
||||
return ws, worker_domain
|
||||
except Exception as exc:
|
||||
self.report_failure(worker_domain, exc)
|
||||
|
||||
Reference in new issue
Block a user