Cloudflare connections can now use plaintext WebSocket transport when network
TLS interception prevents wss:// upgrades.
Changes
- Added
--cf-disable-tlsandTG_CF_DISABLE_TLS. When enabled, Cloudflare
proxy and Worker connections usews://on port 80 instead ofwss://on
port 443. - Applied the same transport choice to connection-pool refills and
--check,
so background and diagnostic connections match live routing. - Kept direct Telegram WebSocket connections on TLS regardless of this option.
What it costs
MTProto payloads retain their own transport encryption, but plaintext HTTP
exposes the Cloudflare hostname and traffic metadata. TLS remains the default;
use this option only where network interception makes it necessary.