Commit Graph

38 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
4dbcfce77d Randomly choose session among sessions with the same minimum query count. 2023-12-19 21:01:32 +03:00
levlam
499d4eaf54 Minor improvements. 2023-11-23 08:31:56 +03:00
levlam
da9afda7e6 Fix SessionMultiProxy::update_options. 2023-11-08 11:26:37 +03:00
levlam
f2345d4fcc Remove redundant actor name from log messages. 2023-10-23 15:57:36 +03:00
levlam
4786d1a931 Forcely disable multiple sessions and PFS while destroying auth key. 2023-10-23 14:58:12 +03:00
levlam
0db2644011 Remove unused constructor parameter. 2023-10-23 14:05:50 +03:00
levlam
29d7916e4d Disallow unneeded canceling of destroy_auth_key. 2023-10-23 14:00:22 +03:00
levlam
d3ade3d64d Persist temporary keys for main sessions if multiple sessions enabled. 2023-05-04 15:54:21 +03:00
levlam
1bd581a66d Use explicit CHECK instead of vector::at. 2023-03-13 18:48:35 +03:00
levlam
fb935a8de2 Reduce ping timeout in primary non-main-DC connections. 2023-01-15 00:25:22 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
0225f0cab7 Ensure that option values are fetched on launch. 2022-08-18 00:37:19 +03:00
levlam
fa8feefed7 Reduce total timeout limit to 2 for messages.setTyping. 2022-01-03 08:57:11 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
c921bcc5ed Improve NetQuery public field names.
GitOrigin-RevId: cfa0dbd98c1b03e4e86d62fc6486fcf90e72ef25
2020-06-10 02:44:54 +03:00
levlam
3cd9d6482f Log session_count only if it is more than 1.
GitOrigin-RevId: e5018d2ce3ab363191e6bcb6798ce4f92741c2ee
2020-05-05 13:54:32 +03:00
levlam
d6404db146 Remove unneeded logging.
GitOrigin-RevId: 473cab6f91a53360e2a696cc50a48c018ce705c6
2020-05-04 21:52:15 +03:00
levlam
f0d22df81f Fix hack with total_timeout_limit.
GitOrigin-RevId: c012eb2e24e3fda4647e7d9560029c2c69e314ab
2020-03-30 21:01:13 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
886d6e99c1 Fix PFS in CDN.
GitOrigin-RevId: 3c70f19e56b39fff1bd0c8351f30cd27e44b5368
2019-12-28 14:25:17 +03:00
levlam
b5407cd6bc Minor fixes.
GitOrigin-RevId: 39fb006dd5d935f6dd0b400114d71391463450eb
2019-03-17 23:43:58 +03:00
Arseny Smirnov
9f9d429832 SessionMultiProxy: use stats to choose session proxy for a query
GitOrigin-RevId: fea88659f3634685b1e0bb1a1c13e98f68d2e4a8
2019-03-15 21:37:01 +11:00
Arseny Smirnov
1785a965d5 SessionMultiProxy: collect stats about sessions
GitOrigin-RevId: 96720f7beca9d34897d8a1076639e58422eac770
2019-03-15 20:00:18 +11:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
65c8dd4b04 Remove now unused need_wait_for_key.
GitOrigin-RevId: c3c84c4ceba80738eadb950b4cb28541eb30b79f
2018-12-11 23:43:52 +03:00
Arseny Smirnov
7471e62740 Destroy authorization keys: fixes
GitOrigin-RevId: 9538efa2deadda91c18c1c97aa22281597a44d4b
2018-11-06 14:06:08 +03:00
Arseny Smirnov
27770ce060 Destroy mtproto keys on logout
GitOrigin-RevId: 8ac2bafd2d1897dc0942a33d8406ea8c2e5dfaa7
2017-12-29 23:34:39 +03:00
Arseny Smirnov
3c1698dddf Session: cache salt for temp keys, better on_mtproto_header
GitOrigin-RevId: 02ba02aaf86e36402536d98d7bb80fd198c68378
2018-06-13 18:17:27 +03:00
Arseny Smirnov
bd9c88794e Use pfs for media download
GitOrigin-RevId: afaa0e04f02b2b3dfb8822dacd56c0473b019527
2018-05-31 16:56:06 +03:00
levlam
1492467ab8 Notify sessions about mtproto header updates.
GitOrigin-RevId: 35ee6055c65c7656726a20672fa600823a13ac5f
2018-05-10 21:02:24 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00