mirror of
https://github.com/therealaleph/MasterHttpRelayVPN-RUST.git
synced 2026-05-18 23:54:48 +03:00
08fe6911b3
Three ports from the upstream Python repo — all straightforward wins for user-facing connection reliability: - plain-tcp: 4s connect timeout for IP literals (10s for hostnames). Ported from upstream 7b1812c. When Telegram MTProto (or any protocol that CONNECTs to a raw IP) hits a DPI-dropped DC, failing fast lets the client rotate to the next DC roughly twice as quickly. Users previously sat on "connecting..." for nearly a minute walking DC1→DC3. - SNI rotation pool: add maps/chat/translate/play/lens.google.com to both the Rust DEFAULT_GOOGLE_SNI_POOL and the Android DEFAULT_SNI_POOL. Ported from upstream 57738ec. Extra fingerprint spread plus a couple of SNIs (maps, play) that reliably pass DPI where shorter *.google.com names don't. - x.com GraphQL URL truncation: when the path matches /i/api/graphql/<hash>/<op>?variables=..., drop everything from the first `&` onward. The combined variables+features+fieldToggles query string regularly exceeds Apps Script's URL length cap and returns a generic relay error; `variables=` alone is enough for x.com's timeline to render. Ported from upstream 2d959d4. No version bump — these are low-risk infrastructure patches; they'll fold into the next release.