ZaStoGram_desktop/Telegram/SourceFiles
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
..
_other Self-hosted auto-updates via GitHub releases 2026-07-05 13:25:13 +03:00
api Fix more MTProto instance includes 2026-07-08 18:12:23 +03:00
boxes Add fast proxy warm-up setting (2 concurrent handshakes when healthy) 2026-07-11 20:36:25 +03:00
calls Complete borrowed RHI onscreen split for the VideoStream proxy 2026-07-11 18:14:13 +03:00
chat_helpers Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
codegen/scheme перенос по папкам 2026-07-07 23:44:39 +03:00
core Fix broker deadlock and over-broad cooldown reset from review 2026-07-11 21:11:03 +03:00
countries Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
data fix 2026-07-11 02:30:23 +03:00
dialogs fix 2026-07-11 02:30:23 +03:00
editor Fix possible clamp contract violation. 2026-07-04 16:46:46 +04:00
export Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
ffmpeg Wire experimental FFmpeg threading options into decoder policy 2026-07-05 23:18:26 +03:00
history GPU 2026-07-11 13:59:03 +03:00
info Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
inline_bots Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
intro Guard MTProto instance includes 2026-07-08 19:04:49 +03:00
iv Fix build with GCC. 2026-07-03 07:00:35 +04:00
lang Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
layout Moved out highlight scroll logic from sections to single place. 2026-03-30 11:01:56 +03:00
main Fix broker deadlock and over-broad cooldown reset from review 2026-07-11 21:11:03 +03:00
media Complete borrowed RHI onscreen split for the VideoStream proxy 2026-07-11 18:14:13 +03:00
menu Mark premium actions better. 2026-07-02 17:49:08 +04:00
mtproto Close broker admission-field data races found in second review 2026-07-11 21:42:42 +03:00
overview Added support of zoom in shared media for photos. 2026-06-26 15:22:28 +03:00
passport Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
payments Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
platform Merge remote-tracking branch 'upstream/dev' into dev 2026-07-05 21:47:12 +03:00
poll [poll-create] Extracted poll answer link box helper into shared module. 2026-06-09 14:28:12 +04:00
profile Removed 114 unused style entries. 2026-05-04 11:32:33 +07:00
settings Guard MTProto instance includes 2026-07-08 19:04:49 +03:00
statistics Fixed long chart filter labels in statistics. 2026-05-05 10:45:43 +04:00
storage Fix storage cache auth key access 2026-07-08 22:35:03 +03:00
support Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
tde2e Fix tde2e include the way tdlib itself uses it 2025-05-03 03:09:40 -07:00
tests Close broker admission-field data races found in second review 2026-07-11 21:42:42 +03:00
ui Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
window Fix window MTProto instance include 2026-07-08 23:27:58 +03:00
apiwrap.cpp Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
apiwrap.h Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
config.h Self-hosted auto-updates via GitHub releases 2026-07-05 13:25:13 +03:00
logs.cpp мне лень описывать всё изменения - ОНИ ОГРОМНЫ 2026-07-07 23:05:20 +03:00
logs.h Add mtproxy logs and proxy statuses; CI->Release 2026-06-28 15:36:15 +03:00
main.cpp
mainwidget.cpp Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
mainwidget.h Restructure mtproto ownership 2026-07-08 00:07:46 +03:00
mainwindow.cpp Fixed back from new account intro focusing wrong window. 2026-06-22 11:51:49 +03:00
mainwindow.h Fixed back from new account intro focusing wrong window. 2026-06-22 11:51:49 +03:00
settings.cpp [ai] Add -testagent for silent crashes. 2026-07-02 17:49:02 +04:00
settings.h [ai] Add -testagent for silent crashes. 2026-07-02 17:49:02 +04:00
stdafx.h Avoid full Telegram target rebuild on version change 2026-06-15 17:05:51 +04:00
tray.cpp Added accounts list to tray menu on macOS. 2026-02-28 19:07:08 +04:00
tray.h Returned lost method that checks tray existence. 2022-06-23 09:38:21 +03:00
tray_accounts_menu.cpp Added passcode lock check to Dock and Tray account menus. 2026-05-22 09:53:43 +03:00
tray_accounts_menu.h Added accounts list to tray menu on macOS. 2026-02-28 19:07:08 +04:00
tray_accounts_menu_dummy.cpp Added accounts list to tray menu on macOS. 2026-02-28 19:07:08 +04:00