Commit Graph

73 Commits

Author SHA1 Message Date
levlam
afb8524392 Minor fixes. 2024-02-07 17:50:57 +03:00
levlam
7c3e9e6d5e Move DcAuthManager to main session scheduler. 2024-02-02 13:32:15 +03:00
levlam
60f2f75b78 Minor improvements. 2024-01-22 13:11:04 +03:00
levlam
1f116cdd99 Reuse the same PublicRsaKeySharedMain object. 2024-01-22 02:52:58 +03:00
levlam
0dd1934090 Use separate implementations for main and CDN RSA keys. 2024-01-22 02:15:26 +03:00
levlam
d5c3456085 Remove default NerQueryDispatcher constructor. 2024-01-22 01:39:31 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
cd27c67beb Pass-through PREMIUM_SUB_ACTIVE_UNTIL_* errors. 2023-12-26 18:41:41 +03:00
levlam
7097b2bf5b Fix index type. 2023-10-27 23:14:52 +03:00
levlam
9de5b27db2 Destroy auth keys in non-inited internal DCs. 2023-10-23 15:45:38 +03:00
levlam
f2114f34f5 Add DcId::MAX_RAW_DC_ID. 2023-10-23 15:40:57 +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
fd2df72321 Add td_api::canSendStory. 2023-08-11 19:43:26 +03:00
levlam
968bfc48df Move main Session to database scheduler if there is no database. 2023-07-26 13:13:21 +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
b4432a27ba Use autogenerated constant instead of raw constructor number. 2022-11-01 13:22:56 +03:00
levlam
d29c86bb14 Ensure that all network requests are sent and all their responses are processed asynchronously. 2022-10-02 01:53:56 +03:00
levlam
be87e4179f Inline ActorOwn::hangup. 2022-10-01 15:58:27 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
abc9ed2cd9 Minor fixes. 2022-07-14 18:38:48 +03:00
Arseny Smirnov
bf80c43c05 fix CE 2022-07-14 18:36:46 +04:00
Arseny Smirnov
7ddc3099f6 remove td::this_thread::yield function. usleep_for(1) used instead 2022-07-14 16:15:17 +04:00
levlam
0bc767f943 Pass max_resource_limit as parameter to ResourceManager. 2022-05-20 16:11:31 +03:00
levlam
134b7e7d01 Remove unused function. 2022-05-02 20:35:37 +03:00
Arseny Smirnov
449974d425 Double check authorization during start up 2022-05-02 19:34:01 +04:00
levlam
649f2b85f5 Rename chains to chain_ids in NetQuery. 2022-02-03 22:32:47 +03:00
levlam
02b99d0fbf Remove includes of SequenceDispatcher.h from headers. 2022-02-01 19:34:14 +03:00
Arseny Smirnov
ad38f712e8 SequenceDispatcher: hide usage into NetQueryDispatcher 2022-02-01 18:51:36 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
c24501f2d9 Reduce "this" usages. 2021-10-23 21:17:00 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
levlam
137543c172 Use send_closure_later in NetQueryDispatcher to break stack chain. 2021-09-10 17:42:24 +03:00
levlam
2062daf9cd Don't wrap updates in NetQuery. 2021-09-10 17:32:39 +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
1fe397e43d Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
2020-09-25 00:46:16 +03:00
Arseny Smirnov
3fb9b8a992 td: relax limits for connection creation during logout
GitOrigin-RevId: 2c7e81d931a36cecaaf8dd1b463365d3e039873f
2020-08-05 19:49:34 +03:00
levlam
c921bcc5ed Improve NetQuery public field names.
GitOrigin-RevId: cfa0dbd98c1b03e4e86d62fc6486fcf90e72ef25
2020-06-10 02:44:54 +03:00
levlam
d6404db146 Remove unneeded logging.
GitOrigin-RevId: 473cab6f91a53360e2a696cc50a48c018ce705c6
2020-05-04 21:52:15 +03:00
levlam
87afb93b93 Fix some ID spelling.
GitOrigin-RevId: cdd8cdb93696c690cf7bdb9b2df175bb926a7510
2020-04-19 13:45:37 +03:00
levlam
10b1ac1c8a Remove wrong migrate prefixes.
GitOrigin-RevId: c42b3dd184d6da5b3316d36e4de409ee2e931965
2020-03-30 21:03:25 +03:00
levlam
6fa11510e0 Add more DC migrate prefixes.
GitOrigin-RevId: 78a225cc24dc41e1f7c716d465f973d637d5ce7b
2020-02-12 20:01:27 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
adb10460b2 Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
2019-12-23 20:48:30 +03:00
levlam
3acb445d1c Fix GetPassword errors processing.
GitOrigin-RevId: 5ebddd0d2ad1630eb8a4c2081d9bc724c72ff307
2019-12-18 04:08:34 +03:00