ZaStoGram_desktop/Telegram/SourceFiles
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh d5744ab90f
All checks were successful
Desktop source guards / guards (push) Successful in 6s
Держать файловые сессии тёплыми и не использовать забытый ключ
По логу ПК 01.10 каждая из 577 загрузок шла по новой сессии: ~1.8 с из
2.3 с уходило на открытие соединения через фронт (TCP, TLS, апгрейд
WebSocket, проверка транспорта, соль).

- Простаивающая файловая сессия живёт 75 с вместо 15 с, и на загрузке,
  и на отправке. Через туннель остаётся 15 с: там соединение и так
  открывается заново после каждого куска.
- stopSession() искал upload-сессию по id без датацентра и не находил
  её: getSession() запускает такую сессию на основном DC. Две сессии
  оставались после первой отправки и переподключались каждые 93 с до
  конца работы (454 соединения на 8 отправок).
- Сессия перед использованием временного ключа проверяет, что он всё
  ещё ключ своего DC. updateAuthKey() пропускает сессию, которая
  переподключается, и после смены маршрута между WEB-прокси и WSS один
  уничтоженный ключ отвергался у каждой сессии отдельно: загрузки
  стояли 20–30 с.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 17:57:18 +03:00
..
_other Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
api Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
boxes Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
calls Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
chat_helpers Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
codegen/scheme
core Не подставлять локальный прокси 1353 и подключаться через WSS 2026-10-01 14:58:37 +03:00
countries
data Не запрашивать куски за концом файла при загрузке через туннель 2026-09-25 17:34:08 +03:00
dialogs Merge upstream dev through 939de1079b 2026-09-23 17:18:32 +03:00
e2e_cloud Rename the openmls bridge's rust_eh_personality next to tlottie 2026-09-23 17:37:22 +03:00
editor Version 7.2.8: Fix build with MSVC. 2026-09-10 21:42:00 +04:00
export Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
ffmpeg Merge upstream dev through 939de1079b 2026-09-23 17:18:32 +03:00
history Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
info Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
inline_bots Merge upstream dev through 939de1079b 2026-09-23 17:18:32 +03:00
intro Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
iv Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
lang Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
layout Fix #30300 undefined behaviors. 2026-09-23 13:26:41 +04:00
main Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
media Не запрашивать куски за концом файла при загрузке через туннель 2026-09-25 17:34:08 +03:00
menu Fixed confirmation texts of mark as read for archive and all chats. 2026-09-14 10:03:23 +03:00
mtproto Держать файловые сессии тёплыми и не использовать забытый ключ 2026-10-01 17:57:18 +03:00
overview Replaced qRound with base::SafeRound. 2026-09-14 18:41:41 +03:00
passport Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
payments Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
platform Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
poll Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
profile Added missing const to local references in some files. 2026-08-12 13:36:02 +03:00
settings Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
statistics [stats-export] Added saving loaded statistics to xlsx file. 2026-08-18 07:53:56 +03:00
storage Держать файловые сессии тёплыми и не использовать забытый ключ 2026-10-01 17:57:18 +03:00
support Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
tde2e
test Поправить пути mtproto в тестовой заглушке RPC из апстрима 2026-09-25 15:29:23 +03:00
tests Не подставлять локальный прокси 1353 и подключаться через WSS 2026-10-01 14:58:37 +03:00
ui Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
webauthn Aligned PIN field with box rows in security key PIN box. 2026-08-10 09:05:48 +03:00
window Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
apiwrap.cpp Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
apiwrap.h Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
config.h
logs.cpp Merge upstream dev through 64ca5475f2 2026-09-25 14:38:13 +03:00
logs.h
main.cpp Fix the crash on quit racing OpenSSL cleanup 2026-08-10 18:42:50 +04:00
mainwidget.cpp Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
mainwidget.h Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
mainwindow.cpp Remove legacy interpret path helper. 2026-09-16 21:42:13 +04:00
mainwindow.h Remove legacy interpret path helper. 2026-09-16 21:42:13 +04:00
settings.cpp
settings.h Make -cleanup stop the running app on uninstall 2026-07-20 23:14:37 +04:00
stdafx.h
tray.cpp Keep the unread counter in the tray icon tooltip 2026-09-24 19:16:31 +04:00
tray.h Keep the unread counter in the tray icon tooltip 2026-09-24 19:16:31 +04:00
tray_accounts_menu.cpp
tray_accounts_menu.h
tray_accounts_menu_dummy.cpp