levlam
|
b4fda2d45a
|
Use FlatHashMap in mtproto and td_json_client.
|
2022-02-09 16:05:53 +03:00 |
|
levlam
|
822257b90a
|
Resend requests on CONNECTION_NOT_INITED and CONNECTION_LAYER_INVALID errors.
|
2022-02-07 22:05:01 +03:00 |
|
levlam
|
b1b945e239
|
Minor fixes.
|
2022-01-31 15:56:44 +03:00 |
|
Arseny Smirnov
|
452f60be0b
|
SequenceDispatcher: support multiple chains
|
2022-01-28 17:06:54 +03:00 |
|
levlam
|
dd1e0af5dc
|
Keep connection header for 3 seconds after successful response.
|
2022-01-06 21:19:07 +03:00 |
|
KnorpelSenf
|
789b9c0a55
|
Fix much typos
|
2022-01-25 16:07:36 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
01fccc430f
|
Use explicit cast instead of 1ll.
|
2021-12-31 09:36:24 +03:00 |
|
levlam
|
a6c0902ad7
|
Silence g++ warnings.
|
2021-12-01 16:01:27 +03:00 |
|
levlam
|
746c70900b
|
Use different timeouts for different handshake parts.
|
2021-11-27 22:22:51 +03:00 |
|
levlam
|
b731414d42
|
Init some fields just in case.
|
2021-11-11 17:39:09 +03:00 |
|
levlam
|
2431afc722
|
Add more logging for CHECK.
|
2021-10-24 13:23:47 +03:00 |
|
levlam
|
c24501f2d9
|
Reduce "this" usages.
|
2021-10-23 21:17:00 +03:00 |
|
levlam
|
0c1469f7c6
|
Fix TransparentProxy::Callback.
|
2021-10-22 19:59:15 +03:00 |
|
levlam
|
495082b628
|
Simplify updateChatLastMessage creation.
|
2021-10-22 16:41:31 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|
levlam
|
41cc287d66
|
Improve checks.
|
2021-10-20 00:54:49 +03:00 |
|
levlam
|
44a186c7c1
|
Minor improvements.
|
2021-10-18 19:26:14 +03:00 |
|
levlam
|
81b38d5607
|
Mark move constructors/assignment operators noexcept.
|
2021-10-18 14:36:15 +03:00 |
|
levlam
|
f35afe23c8
|
Minor warning fixes.
|
2021-10-18 12:57:13 +03:00 |
|
levlam
|
61c3a2bcf5
|
Remove TD_EXPERIMENTAL_WATCH_OS.
|
2021-09-24 13:41:22 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
74315e2e60
|
Add mtproto::ConnectionManager.
|
2021-09-16 19:09:39 +03:00 |
|
levlam
|
9651243eaa
|
Add more checks that raw_connection_ isn't nullptr.
|
2021-09-16 16:20:07 +03:00 |
|
levlam
|
075d004b9f
|
Replace getChatThemes with updateChatThemes.
|
2021-09-13 15:55:01 +03:00 |
|
levlam
|
45ebe775c5
|
Optimize SessionConnection::on_slice_packet using TlDowncastHelper.
|
2021-09-12 19:46:12 +03:00 |
|
levlam
|
55e69f65af
|
Add separate on_update callback.
|
2021-09-10 16:31:04 +03:00 |
|
levlam
|
e6799e3054
|
Simplify rpc_error handling.
|
2021-09-10 16:12:56 +03:00 |
|
levlam
|
641f47a81c
|
Use switch instead of if.
|
2021-09-10 16:08:46 +03:00 |
|
levlam
|
6beaf41231
|
Minor improvements.
|
2021-09-01 20:31:39 +03:00 |
|
levlam
|
3749e1f672
|
Add warning for very old updates.
|
2021-08-23 00:08:05 +03:00 |
|
levlam
|
6507fb7602
|
Use array-based MessageIdDuplicateChecker.
|
2021-08-22 22:08:46 +03:00 |
|
levlam
|
b3aa31d398
|
Minor cut_tail improvements.
|
2021-08-22 13:36:47 +03:00 |
|
levlam
|
4a3f56e6c1
|
Check that updates aren't received in rpc_result.
|
2021-08-22 13:23:21 +03:00 |
|
levlam
|
7faf7aeba7
|
Improve logging on too old update.
|
2021-08-22 13:16:10 +03:00 |
|
levlam
|
d154399d70
|
Optimize MessageIdDuplicateChecker::check.
|
2021-08-21 22:41:06 +03:00 |
|
levlam
|
43d9ba81ac
|
Prefer std::unordered_map to std::map.
|
2021-08-21 21:42:07 +03:00 |
|
levlam
|
ff02c55075
|
Add checks for error code and message.
|
2021-07-26 20:04:43 +03:00 |
|
levlam
|
40cb97841a
|
Pass error message as string.
|
2021-07-26 19:58:31 +03:00 |
|
levlam
|
0b74d17f8c
|
Don't try to continue Handshake if timeout expired.
|
2021-07-22 19:23:08 +03:00 |
|
levlam
|
7f617254f0
|
Move HandshakeActor methods to cpp.
|
2021-07-22 19:03:34 +03:00 |
|
levlam
|
061ca24be9
|
Simplify AuthKeyHandshake constructor.
|
2021-07-19 05:09:20 +03:00 |
|
levlam
|
3109848164
|
Delete unused AuthKeyHandshake methods.
|
2021-07-19 05:01:14 +03:00 |
|
levlam
|
1f9c6c7352
|
Minor improvements.
|
2021-07-16 18:58:11 +03:00 |
|
levlam
|
46aa876259
|
Use is_*_bad instead of is_*_ok.
|
2021-07-11 02:21:01 +03:00 |
|
levlam
|
e9e2428237
|
Update server keys.
|
2021-07-08 16:39:34 +03:00 |
|
levlam
|
d23064812f
|
Simplify rsa_key usage.
|
2021-07-06 18:31:43 +03:00 |
|
levlam
|
65e96c561c
|
Add struct RsaKey.
|
2021-07-05 22:09:45 +03:00 |
|
levlam
|
c60693cc7e
|
Improve AuthKeyHandshake private field names.
|
2021-07-05 21:26:43 +03:00 |
|
levlam
|
040e0deb31
|
Move DhCallback to a separate header.
|
2021-07-05 21:20:07 +03:00 |
|