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
@@ -13,7 +13,8 @@ from proxy.cf_h2 import (
CfH2Pool, MAX_CHANNEL_REQUESTS, MAX_PACKET, _HttpChannel, _HttpLane,
_ReplayPacket, _encode_reply, _read_packet, bridge_h2,
)
from proxy.raw_websocket import RawWebSocket, connect_cf_domains, reset_cf_timeouts
from proxy.cf_websocket import connect_cf_domains, reset_cf_timeouts
from proxy.raw_websocket import RawWebSocket
from proxy.utils import PROTO_TAG_ABRIDGED, PROTO_TAG_INTERMEDIATE, PROTO_TAG_SECURE
class _IdentityCipher: