Arseny Smirnov
|
852fe4f24b
|
Session: force ack when we received unknown answer
|
2022-05-03 17:17:36 +04:00 |
|
levlam
|
4b7dab920e
|
Don't update last_success_timestamp_ in Session::on_update with PFS.
|
2022-05-03 16:06:14 +03:00 |
|
Arseny Smirnov
|
0450b05757
|
Session: improve key immunity condition
|
2022-05-03 16:33:09 +04:00 |
|
levlam
|
de15cdb1f0
|
Log out if key check has failed.
|
2022-05-02 21:17:06 +03:00 |
|
levlam
|
746816e7d7
|
Add Global::log_out helper.
|
2022-05-02 20:59:07 +03:00 |
|
levlam
|
dfa38e059d
|
Improve NetQuery debug.
|
2022-04-14 12:53:16 +03:00 |
|
levlam
|
f9efb87f7d
|
Improve log message.
|
2022-03-14 14:08:04 +03:00 |
|
levlam
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
b2e6da4031
|
Unify actor_id/actor_shared names.
|
2022-03-05 14:35:19 +03:00 |
|
levlam
|
2b1314295d
|
Check and fix half of FlatHashMap usages.
|
2022-02-10 00:59:52 +03:00 |
|
levlam
|
822257b90a
|
Resend requests on CONNECTION_NOT_INITED and CONNECTION_LAYER_INVALID errors.
|
2022-02-07 22:05:01 +03:00 |
|
levlam
|
9881a4dbe2
|
Fix format::as_hex usage.
|
2022-02-03 14:34:10 +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
|
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
|
81a3544cc8
|
Drop main auth key if receive 401 for temporary auth key with an error different from AUTH_KEY_PERM_EMPTY and SESSION_PASSWORD_NEEDED.
|
2022-01-26 21:50:42 +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
|
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
|
00a349656d
|
Unify td/telegram/include order.
|
2021-10-27 17:32:09 +03:00 |
|
levlam
|
03c6d53951
|
Log number of pending requests when Session is closed.
|
2021-10-22 18:36:35 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
9b7957c9c6
|
Minor warning fixes.
|
2021-10-17 13:07:20 +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
|
55e69f65af
|
Add separate on_update callback.
|
2021-09-10 16:31:04 +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
|
7a55b843ba
|
Log size of a dropped response.
|
2021-07-12 21:55:12 +03:00 |
|
levlam
|
040e0deb31
|
Move DhCallback to a separate header.
|
2021-07-05 21:20:07 +03:00 |
|
levlam
|
61664b4044
|
Move remaining MTProto classes to namespace mtproto.
|
2021-07-05 21:04:23 +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
|
2b7b6b7759
|
Improve logging on log out.
|
2021-06-27 05:52:43 +03:00 |
|
levlam
|
9cecc116f3
|
Prefer US spelling of "canceled".
|
2021-05-31 21:51:48 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
a78fe2dfe5
|
Don't drop recently valid auth keys.
|
2021-04-13 16:52:41 +03:00 |
|
Arseny Smirnov
|
5c7b7d4c85
|
TD_EXPERIMENTAL_WATCH_OS cmake option
|
2021-03-26 18:04:25 +03:00 |
|
levlam
|
90b34e7d0c
|
Remove authorization loss logic from DcAuthManager, because we can be logged before entering password and before authorization.
|
2021-02-01 14:51:38 +03:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
6f26706da5
|
Fix closing connection on too much dropped packets.
|
2020-11-18 17:49:29 +03:00 |
|
levlam
|
d2d0cb5cc0
|
Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
|
2020-10-05 18:07:23 +03:00 |
|
Arseny Smirnov
|
89fad4fdb9
|
Session::PriorityQueue: minor simplification
GitOrigin-RevId: f0baab28bb95afef247e4ad0c291222be6d105c5
|
2020-08-18 18:37:10 +03:00 |
|
levlam
|
335ac34fad
|
Fix Session::PriorityQueue.
GitOrigin-RevId: adfab64ecf7eae2c73759c7e6f927b88f4fd2236
|
2020-08-17 17:35:34 +03:00 |
|
Arseny Smirnov
|
1f9529520f
|
NetQuery: support priority
GitOrigin-RevId: 84290ffa7689364f74140c5b951b95ea4792b68d
|
2020-08-17 16:13:18 +03:00 |
|
levlam
|
9592aac404
|
Minor improvements.
GitOrigin-RevId: 09fbcc25ade8d77c13dc580f13b206c07ba53f9f
|
2020-08-13 16:57:28 +03:00 |
|