levlam
|
7c3e9e6d5e
|
Move DcAuthManager to main session scheduler.
|
2024-02-02 13:32:15 +03:00 |
|
levlam
|
6c4804b591
|
Add source to SessionProxy::close_session.
|
2024-02-01 12:59:20 +03:00 |
|
levlam
|
90cc7a5f9c
|
Improve logging.
|
2024-01-24 16:31:47 +03:00 |
|
levlam
|
741c80cf13
|
Fix log message.
|
2024-01-24 16:06:43 +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
|
e52d08da74
|
Use PublicRsaKeyInterface in AuthDataShared.
|
2024-01-22 01:55:16 +03:00 |
|
levlam
|
d5c3456085
|
Remove default NerQueryDispatcher constructor.
|
2024-01-22 01:39:31 +03:00 |
|
levlam
|
b4c075593e
|
Log received message info.
|
2024-01-21 01:50:20 +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
|
4dbcfce77d
|
Randomly choose session among sessions with the same minimum query count.
|
2023-12-19 21:01:32 +03:00 |
|
levlam
|
14ba66fb8b
|
Explicitly disable addProxy for watchOS and Emscripten.
|
2023-11-24 00:09:36 +03:00 |
|
levlam
|
499d4eaf54
|
Minor improvements.
|
2023-11-23 08:31:56 +03:00 |
|
levlam
|
77d6df1437
|
Use the latest initConnection constructor.
|
2023-11-20 13:53:42 +03:00 |
|
levlam
|
da9afda7e6
|
Fix SessionMultiProxy::update_options.
|
2023-11-08 11:26:37 +03:00 |
|
levlam
|
9c9c1bb51c
|
Minor improvements.
|
2023-10-28 00:06:56 +03:00 |
|
levlam
|
7097b2bf5b
|
Fix index type.
|
2023-10-27 23:14:52 +03:00 |
|
levlam
|
f2345d4fcc
|
Remove redundant actor name from log messages.
|
2023-10-23 15:57:36 +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
|
d5f7423b52
|
Add static AuthDataShared::get_auth_key_for_dc().
|
2023-10-23 15:26:52 +03:00 |
|
levlam
|
4786d1a931
|
Forcely disable multiple sessions and PFS while destroying auth key.
|
2023-10-23 14:58:12 +03:00 |
|
levlam
|
9fdc48ac2d
|
Don't use promise emptiness to check that auth keys are being destroyed.
|
2023-10-23 14:12:25 +03:00 |
|
levlam
|
66757e2511
|
Improve field names.
|
2023-10-23 14:10:39 +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
|
8c10e893c0
|
Remove unused functions from SessionConnection::Callback.
|
2023-10-23 13:08:45 +03:00 |
|
levlam
|
1f66cc7b14
|
Unconditionally return status to recreate connection.
|
2023-10-23 12:51:50 +03:00 |
|
levlam
|
605a3af4b2
|
Add and use td::any_of.
|
2023-10-21 20:41:31 +03:00 |
|
levlam
|
7a6d6cf492
|
Fix max_proxy_id_ initialization.
|
2023-10-14 03:06:01 +03:00 |
|
levlam
|
12ffa253b3
|
Remove empty stored proxy from binlog.
|
2023-10-12 23:48:40 +03:00 |
|
levlam
|
eed6e0bba6
|
Don't try to init proxies if they have never been added.
|
2023-10-12 23:41:46 +03:00 |
|
levlam
|
b44e2ea3fc
|
Add strictly-typed class mtproto::MessageId.
|
2023-09-21 17:52:33 +03:00 |
|
levlam
|
ec44b3d16c
|
Improve "invoke_after_message_id" variable names.
|
2023-09-21 15:40:56 +03:00 |
|
levlam
|
8fb3fca841
|
Improve error logging for banned accounts.
|
2023-09-20 21:28:23 +03:00 |
|
levlam
|
0ada45c361
|
Fix video story network statistics.
|
2023-09-11 17:02:58 +03:00 |
|
levlam
|
83d9f84c5b
|
Improve new_session_created handling.
|
2023-09-03 02:07:12 +03:00 |
|
levlam
|
049d84beed
|
Always call fetch_result on the whole NetQueryPtr.
|
2023-09-02 22:39:26 +03:00 |
|
levlam
|
ce2e7192d7
|
Improve NetQueryPtr variable names.
|
2023-09-02 22:20:05 +03:00 |
|
levlam
|
db8f41eacf
|
Automatically reset cancel_slot in NetQuery::set_message_id.
|
2023-09-01 16:53:15 +03:00 |
|
levlam
|
c432a24dd4
|
Simplify calls to Session::resend_query.
|
2023-09-01 16:48:25 +03:00 |
|
levlam
|
ba0d2408f2
|
Improve handling of new_session_created.
|
2023-09-01 16:40:19 +03:00 |
|
levlam
|
55e5b2395e
|
Mark sent_at_ as const.
|
2023-09-01 16:13:00 +03:00 |
|
levlam
|
5ce5ef6234
|
Save all state flags to ack_state_.
|
2023-09-01 16:11:21 +03:00 |
|
levlam
|
8b05c4f3ec
|
Improve ack state.
|
2023-08-31 23:59:46 +03:00 |
|
levlam
|
53b48b4ee8
|
Improve Session::Query field names.
|
2023-08-31 00:47:39 +03:00 |
|
levlam
|
b90bc7be4b
|
Remove unsafe non-const NetQuery accessors.
|
2023-08-30 18:25:26 +03:00 |
|
levlam
|
eb06c93532
|
Simplify NetQuery creation.
|
2023-08-30 18:13:35 +03:00 |
|