Commit Graph

78 Commits

Author SHA1 Message Date
levlam
5e872c3f57 Add define TD_TEST_VERIFICATION. 2024-05-10 01:01:28 +03:00
levlam
76ece1b6e0 Add td_api::setApplicationVerificationToken. 2024-05-10 00:42:51 +03:00
levlam
fcf8f012b4 Add td_api::updateApplicationVerificationRequired. 2024-05-09 23:04:50 +03:00
levlam
12c1689b54 Dispatch net query only after locked check of close_flag_. 2024-05-15 15:38:51 +03:00
levlam
33073a5022 Add td_api::updateSpeedLimitNotification. 2024-04-08 20:18:48 +03:00
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