ZaStoGram_desktop/Telegram/SourceFiles/mtproto
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 755fe43c87 Check connection: a path test that runs the real client code and writes one log
Desktop twin of the Android module (zsg_pathtest). For every proxy of the list, the official WSS route and two
control hosts it makes 12 attempts 1.5 s apart through the real client code and writes one log,
tdata/pathtest/path-test-YYYYMMDD-HHMMSS.txt with a JSONL twin: per-attempt lines (server_hello, alert, rst, fin,
silent, connect_failed with time to first byte, DNS and TCP times), a summary table and a plain verdict per host and
profile. Same format and same ep-<8 hex> host ids as Android (golden files from the Java implementation are
reproduced byte for byte by tests/run_pathtest_core_test.sh).

The probe is not a second client: WssClientConfig and Zsg::Naive::NaiveClientConfig are now the single builders of the
zsgnaive config for both the real sockets and the probe, and FakeTLS profiles go through PrepareClientHelloRules +
PrepareClientHello, the calls TlsSocket::sendClientHello makes. Secrets are never read (random FakeTLS key, throw-away
Naive credentials, only the cover domain of a secret); every log field is a closed-vocabulary token.

UI: a section in the proxy box, an offer once in 30 minutes when the retry link appears. Guards: test_zsg_pathtest.py,
test_proxy_wss_default.py updated for the shared config builder.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 12:37:16 +00:00
..
auth Поправить сборку после слияния с Telegram Desktop v7.3.1 2026-10-16 01:12:56 +03:00
config Merge upstream Telegram Desktop v7.4.7 2026-11-26 22:18:30 +00:00
details Merge upstream Telegram Desktop v7.4.7 2026-11-26 22:18:30 +00:00
files Merge upstream Telegram Desktop v7.4.4 2026-11-13 20:33:45 +00:00
instance Правки после слияния 7.4.7: NaiveSocket без флага файлов, очередь отложенных запросов, делегат сессии 2026-11-27 08:04:45 -05:00
protocol Merge upstream Telegram Desktop v7.4.7 2026-11-26 22:18:30 +00:00
proxy Check connection: a path test that runs the real client code and writes one log 2026-11-29 12:37:16 +00:00
runtime Naive: тип прокси NaiveProxy и WSS на движке Chrome 158 (zsgnaive) 2026-11-27 06:59:57 -05:00
scheme Update API scheme to layer 234. 2026-11-22 23:45:28 +04:00
session zsg: plain TCP without a proxy is allowed while the WARP entry hop is up (WARP alone as a route; the fork waited for a proxy and sent nothing to the tunnel) 2026-11-28 11:00:31 -05:00
transport Naive: тип прокси NaiveProxy и WSS на движке Chrome 158 (zsgnaive) 2026-11-27 06:59:57 -05:00
web_proxy Merge upstream Telegram Desktop v7.4.2 2026-11-11 05:06:26 +00:00
core_types.h Merge upstream v7.3.1 2026-10-15 21:43:47 +03:00
dc_id.h fix 2026-07-08 17:08:05 +03:00
mtproto_pch.h Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
type_utils.h перенос по папкам 2026-07-07 23:44:39 +03:00