Move CF-proxy websocket connection to a separate file

This commit is contained in:
Flowseal
2026-11-23 11:56:41 +03:00
parent 45fee6c576
commit f42468b77a
8 changed files with 119 additions and 106 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ from .utils import *
from .stats import stats
from .config import proxy_config, parse_dc_ip_list, start_cfproxy_domain_refresh, coerce_domain_list
from .bridge import MsgSplitter, CryptoCtx, do_fallback, bridge_ws_reencrypt, reset_tcp_backoff
from .raw_websocket import reset_cf_timeouts, set_sock_opts
from .cf_websocket import reset_cf_timeouts
from .raw_websocket import set_sock_opts
from .fake_tls import (
proxy_to_masking_domain, verify_client_hello, parse_client_hello, build_server_hello,
probe_appdata_len, set_profiled_appdata_len, FakeTlsStream, TLS_RECORD_HANDSHAKE,