ZaStoGram_desktop/Telegram/cmake
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh c8120a7a6d
All checks were successful
Desktop source guards / guards (push) Successful in 8s
Treat the WEB proxy carrier as one shared pipe
Every MTProto session through a WEB proxy is a stream on a single
carrier whose relay keeps one FIFO per direction. Bulk media and
uploads filled that FIFO, every session's own 4-8s receive timer then
fired at once, and the reconnects piled new OPENs behind the same
backlog.

- Uplink: a scheduler serves interactive streams first, download
  requests next and uploads round-robin in 64 KiB frames, with at most
  1 MiB of upload bytes uncredited by the relay (one bounded batch in
  front of a chat request); a burst guard keeps uploads from starving.
- Downlink: download streams keep only a share of a 2 MiB credit budget
  (256 KiB..1 MiB each) instead of the full 4 MiB window, so media waits
  in the backend's TCP buffers rather than in front of chat replies.
- Liveness: a WEB session asks the carrier before dropping its stream.
  It waits while its request is still queued or the downlink is busy,
  fails when the pipe is quiet for 8s after delivery, busy for 30s, or
  after 64s total. A carrier with bytes outstanding and no relay
  progress for 20s is recovered once, for all streams.
- A WEB session opens one stream instead of racing identical ones, and
  a -404 on a WEB stream reconnects first; only a second -404 before any
  reply decrypts destroys the temporary key.
- Uploads and downloads use at most two sessions per DC through a WEB
  proxy, and slow upload parts are no longer cancelled and moved.
- web_carrier diagnostics report carrier state, stalls, per-class
  stream and queue counts, credit and throughput every 10s of activity.

The policy lives in web_proxy_flow.{h,cpp} and is covered by the new
test_web_proxy_flow target and a source guard.
2026-09-23 20:29:51 +03:00
..
binobj2obj.py Added engine, renderer, model loader, and widget for new premium star. 2026-06-01 13:59:32 +03:00
generate_appstream_changelog.cmake Get rid of AppData mentions 2025-10-06 11:54:27 +04:00
generate_lang.cmake Fix per-unit lang key subsets with non-Ninja generators 2026-07-18 11:05:40 +04:00
generate_midl.cmake Support building on Windows with Qt 6. 2024-06-21 11:36:18 +04:00
generate_models.cmake Re-pack Qt resources when a shader or model changes 2026-08-11 11:27:06 +04:00
generate_numbers.cmake
generate_scheme.cmake
generate_update_keys.cmake Add v2 update verification core and build channels 2026-08-28 11:14:02 +04:00
lib_argon2.cmake Compile vendored Argon2 the way externals are compiled here 2026-07-31 22:44:11 +03:00
lib_ffmpeg.cmake Runtime Implib detection 2025-06-03 18:25:15 +04:00
lib_fido2.cmake Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
lib_openmls_bridge.cmake Rename the openmls bridge's rust_eh_personality next to tlottie 2026-09-23 17:37:22 +03:00
lib_prisma.cmake
lib_stripe.cmake
lib_tgcalls.cmake Don't bump counters arbitrary. 2026-07-10 17:12:04 +04:00
obj2binobj.py Added engine, renderer, model loader, and widget for new premium star. 2026-06-01 13:59:32 +03:00
qrhi_shaders.cmake Re-pack Qt resources when a shader or model changes 2026-08-11 11:27:06 +04:00
rename_rust_eh_personality.cmake Rename the openmls bridge's rust_eh_personality next to tlottie 2026-09-23 17:37:22 +03:00
td_e2e_cloud.cmake Download protected file chunks only on demand 2026-08-02 01:56:03 +03:00
td_export.cmake
td_iv.cmake Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
td_iv_msvc_warning_suppressions.props Fix build with MSVC. 2026-08-05 14:48:13 +04:00
td_lang.cmake Added per-unit subsets of lang keys to build. 2026-07-13 20:04:42 +03:00
td_mtproto.cmake Make scheme dump support self-contained 2026-08-01 00:13:17 +03:00
td_scheme.cmake Make scheme dump support self-contained 2026-08-01 00:13:17 +03:00
td_tde2e.cmake td -> tde2e 2025-05-12 09:41:26 +04:00
td_ui.cmake [img-editor] Added video file item with animated overlay export. 2026-09-09 13:03:32 +04:00
td_webauthn.cmake Fix launch on some Windows 7. 2026-08-03 10:45:31 +04:00
telegram_apple_swift_runtime.cmake Fix build with Xcode. 2026-03-09 21:23:26 +04:00
telegram_options.cmake Harden canary builds running. 2026-08-28 11:14:03 +04:00
test_update_verify.cmake Harden canary builds running. 2026-08-28 11:14:03 +04:00
tests.cmake Treat the WEB proxy carrier as one shared pipe 2026-09-23 20:29:51 +03:00
update_keys_header.cmake Add v2 update verification core and build channels 2026-08-28 11:14:02 +04:00