levlam
|
62040c8d8e
|
Fix check for use_pfs.
|
2023-01-03 15:06:12 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
148ded0620
|
Disable ConfigRecoverer if there are a lot of pending auth keys.
|
2022-08-10 17:03:38 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
Arseny Smirnov
|
0450b05757
|
Session: improve key immunity condition
|
2022-05-03 16:33:09 +04:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
8d7bda00a5
|
Set connection online flag while logging out.
|
2021-12-02 15:10:51 +03:00 |
|
levlam
|
0c554fbe04
|
Unify Session::ConnectionInfo field name style.
|
2021-11-22 14:36:59 +03:00 |
|
levlam
|
21a7d147f5
|
Ignore 401 from non-main sessions.
|
2021-11-22 11:52:09 +03:00 |
|
levlam
|
b731414d42
|
Init some fields just in case.
|
2021-11-11 17:39:09 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
74315e2e60
|
Add mtproto::ConnectionManager.
|
2021-09-16 19:09:39 +03:00 |
|
levlam
|
2062daf9cd
|
Don't wrap updates in NetQuery.
|
2021-09-10 17:32:39 +03:00 |
|
levlam
|
edfdcc0170
|
Remove default on_server_salt_updated implementation.
|
2021-09-10 16:45:39 +03:00 |
|
levlam
|
55e69f65af
|
Add separate on_update callback.
|
2021-09-10 16:31:04 +03:00 |
|
levlam
|
40cb97841a
|
Pass error message as string.
|
2021-07-26 19:58:31 +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
|
a78fe2dfe5
|
Don't drop recently valid auth keys.
|
2021-04-13 16:52:41 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
90ee4bd63c
|
Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
|
2020-09-24 19:15:42 +03:00 |
|
Arseny Smirnov
|
89fad4fdb9
|
Session::PriorityQueue: minor simplification
GitOrigin-RevId: f0baab28bb95afef247e4ad0c291222be6d105c5
|
2020-08-18 18:37:10 +03:00 |
|
Arseny Smirnov
|
1f9529520f
|
NetQuery: support priority
GitOrigin-RevId: 84290ffa7689364f74140c5b951b95ea4792b68d
|
2020-08-17 16:13:18 +03:00 |
|
Arseny Smirnov
|
5a08290ae0
|
Session: use MAX_INFLIGHT_QUERIES to limit count of simultaneously sent queries
GitOrigin-RevId: c9c64de982c099b95c6c4bd31d28369f4315f81b
|
2020-07-31 20:19:18 +03:00 |
|
levlam
|
63f167ac35
|
Better field names,
GitOrigin-RevId: 93d307c55f9801d78fa68413cbbf238925a351b1
|
2020-01-08 01:27:12 +03:00 |
|
Arseny Smirnov
|
890855a4f0
|
Validate and drop invalid main authorization key
GitOrigin-RevId: 5f5a0baf4fc55b629b6e0534c475f6236cc72506
|
2020-01-07 15:42:04 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
4ce3005081
|
QR code authentication fixes.
GitOrigin-RevId: 29108234fa8afc589ac7248ad1fdc92ec1d0ffaf
|
2019-12-18 03:47:51 +03:00 |
|
levlam
|
34fcde6827
|
Minor fixes.
GitOrigin-RevId: a5d8a4b0b9b9c4e858d7a9a7403bef0de7e009e0
|
2019-05-22 21:17:24 +03:00 |
|
Arseny Smirnov
|
c99a76f422
|
Handle -404 error in new ping
GitOrigin-RevId: 3cf88082f0fac9cb82027899c9d276e2d6c439fe
|
2019-05-09 21:57:35 +02:00 |
|
Arseny Smirnov
|
ef4f719563
|
Use Ping with mtproto_api::ping if possible
GitOrigin-RevId: fa80dc2a2c44e416bcb50b76ba2bc64de91f8de8
|
2019-05-06 20:53:39 +02:00 |
|
Arseny Smirnov
|
e3e54b7a53
|
simple CancellationToken
GitOrigin-RevId: 081b63eac0ac1e45153f2df4a2eea9fa825c9924
|
2019-05-01 15:13:48 +02:00 |
|
Arseny Smirnov
|
1785a965d5
|
SessionMultiProxy: collect stats about sessions
GitOrigin-RevId: 96720f7beca9d34897d8a1076639e58422eac770
|
2019-03-15 20:00:18 +11:00 |
|
levlam
|
7542612098
|
Fix some includes.
GitOrigin-RevId: 47d6bcd57e12314cc46c8f23ef10c10cea04fdcb
|
2019-01-31 05:05:40 +03:00 |
|
levlam
|
eaebfad034
|
Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
|
2019-01-01 01:02:34 +03:00 |
|
levlam
|
ac3fa705a2
|
File streaming fixes.
GitOrigin-RevId: 86c6d1394a31d6bb108a12e14f4d981133ece235
|
2018-12-26 19:11:15 +03:00 |
|
levlam
|
9d3ab75c56
|
Fix some spelling.
GitOrigin-RevId: 351e7c32fee3fb9249d561434ba1515082e757b0
|
2018-12-14 01:48:36 +03:00 |
|
Arseny Smirnov
|
7471e62740
|
Destroy authorization keys: fixes
GitOrigin-RevId: 9538efa2deadda91c18c1c97aa22281597a44d4b
|
2018-11-06 14:06:08 +03:00 |
|
levlam
|
5d5c55596e
|
Minor improvements.
GitOrigin-RevId: 2f2099d91867ec302ff2d9426b6b088c8c625720
|
2018-11-01 20:08:20 +03:00 |
|
Arseny Smirnov
|
27770ce060
|
Destroy mtproto keys on logout
GitOrigin-RevId: 8ac2bafd2d1897dc0942a33d8406ea8c2e5dfaa7
|
2017-12-29 23:34:39 +03:00 |
|
levlam
|
f948956bf7
|
Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
|
2018-09-27 04:19:03 +03:00 |
|
Arseny Smirnov
|
d4cc127f17
|
Use CancellationToken for ConnectionCreator::request_connection promises
GitOrigin-RevId: 14157bd3677f4720d37ef70f64500522e3674173
|
2018-06-13 19:20:42 +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 |
|
levlam
|
db6777c7f2
|
Use p_q_inner_data_dc.
GitOrigin-RevId: f1e57b83d850ac4233bf9508b6585aaf0efe1423
|
2018-05-23 19:49:05 +03:00 |
|
levlam
|
d80148afae
|
Explicitly specify enum underlying type.
GitOrigin-RevId: 65a7cc4df6b07fe095e898c06ad53deb5e188df3
|
2018-04-19 16:08:30 +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 |
|