ZaStoGram_desktop/Telegram
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 6f2f82f667 Close broker admission-field data races found in second review
wakeEndpoint reads RequestState flags under _mutex from lease-releasing
threads, which exposed two unlocked writers:

- commitAdmitted's delayed-open branch stored the admission/openSlot into
  the still-enqueued state and then reset them via releaseAdmission()
  outside _mutex, racing with claimFront/wakeEndpoint reads of
  state->admission (torn std::optional read). The lease/reservation now
  stay in the local verdict and are released after the unlock; the queued
  front's state->admission is never mutated unlocked. Behavior is
  unchanged (a delayed front always ended with an empty admission).

- scheduleOpenRetry cleared openRetryScheduled without the lock; now
  cleared under _mutex, mirroring the wakeScheduled fix.

Also register test_broker_rechecks_scheduler_after_delayed_open_slot in
__main__ (it was defined but never called, so its assertions never ran)
and update it plus the open-scheduler test to the new release path.
2026-07-11 21:42:42 +03:00
..
build Track prepare.py extra Qt patches despite *.patch ignore rule 2026-07-11 14:03:41 +03:00
cmake Unify MTProxy endpoint control plane 2026-07-10 01:12:22 +03:00
codegen@63ec3de727 Fix child field access in styles. 2026-06-09 14:27:37 +04:00
lib_base@dad317d45d Update submodules. 2026-07-03 07:00:51 +04:00
lib_crl@bc81a8ce1b One more attempt to restore context with ANGLE. 2026-06-22 12:16:34 +04:00
lib_lottie@f508c5facc Fork lib_ui and lib_lottie for full frame rate emoji animations 2026-07-11 19:25:37 +03:00
lib_qr@6fdf604614
lib_rpl@c57cccffb0 Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
lib_spellcheck@1f18c1e35b Make InputField menu extension with hooks. 2026-06-23 11:40:19 +04:00
lib_storage@ccdc72548a
lib_tl@665160f915 Scheme generation: skip channelForbidden flags check. 2026-02-01 23:33:57 +04:00
lib_translate@09c1072622 Made Swift 6 local translation support optional. 2026-04-06 17:52:53 +03:00
lib_ui@8803974950 Fork lib_ui and lib_lottie for full frame rate emoji animations 2026-07-11 19:25:37 +03:00
lib_webrtc@52636e86ea Fix joining unmuted on macOS. 2026-04-21 17:10:22 +07:00
lib_webview@b1011367be Fix build with GCC. 2026-06-09 22:21:08 +04:00
Resources Add fast proxy warm-up setting (2 concurrent handshakes when healthy) 2026-07-11 20:36:25 +03:00
shaders Fixed invisible small group call videos. 2026-06-22 11:51:49 +03:00
SourceFiles Close broker admission-field data races found in second review 2026-07-11 21:42:42 +03:00
Telegram Unify macOS icon in Icon name. 2026-05-25 14:07:23 +04:00
ThirdParty Add some more math formula guardrails. 2026-06-23 11:40:19 +04:00
CMakeLists.txt mtproxy: relay-proof lifecycle & generation 2026-07-11 17:01:18 +03:00
configure.bat
configure.py
configure.sh
create.bat
Telegram.plist Fix the "Open With" entry on macOS. 2026-02-13 11:56:46 +04:00