levlam
|
291b9ce5f9
|
Minor improvements.
|
2023-09-10 01:12:40 +03:00 |
|
levlam
|
f67173dd08
|
Make struct MsgInfo private.
|
2023-09-10 00:30:49 +03:00 |
|
levlam
|
efba70c2ef
|
Unify names of PacketInfo variables.
|
2023-09-10 00:04:55 +03:00 |
|
levlam
|
4da0f76d2a
|
Remove PacketInfo.size.
|
2023-09-09 23:51:40 +03:00 |
|
levlam
|
4a36186662
|
Avoid repeated calls to Transport::write_*.
|
2023-09-09 23:46:56 +03:00 |
|
levlam
|
d87cc2b143
|
Simplify mtproto::Transport::write usage.
|
2023-09-09 22:49:45 +03:00 |
|
levlam
|
d47c862560
|
Avoid duplicate calculation of padded_size.
|
2023-09-09 22:22:35 +03:00 |
|
levlam
|
32049258d2
|
Improve MTProto response logging.
|
2023-09-09 00:13:42 +03:00 |
|
levlam
|
514a49b137
|
Remove dedicated handling for mtproto_api::rpc_error.
|
2023-09-08 20:02:21 +03:00 |
|
levlam
|
a1d0808d9f
|
Remove auth_key_id from PacketInfo.
|
2023-09-08 19:18:38 +03:00 |
|
levlam
|
31f778e040
|
Remove message_key from PacketInfo.
|
2023-09-08 19:06:34 +03:00 |
|
levlam
|
83d9f84c5b
|
Improve new_session_created handling.
|
2023-09-03 02:07:12 +03:00 |
|
levlam
|
f1a064c249
|
Initialize ping_storer_ after other storers to ensure increasing message_id order in the container.
|
2023-09-03 01:47:50 +03:00 |
|
levlam
|
ba0d2408f2
|
Improve handling of new_session_created.
|
2023-09-01 16:40:19 +03:00 |
|
levlam
|
5ce5ef6234
|
Save all state flags to ack_state_.
|
2023-09-01 16:11:21 +03:00 |
|
levlam
|
0e9b4be29f
|
Add auth_key_id to error messages.
|
2023-08-20 21:00:42 +03:00 |
|
levlam
|
28961b7d0e
|
Add more common.h includes.
|
2023-08-05 16:09:36 +03:00 |
|
levlam
|
44c58ee242
|
Move logging of OS freezes to WARNING.
|
2023-07-22 14:06:57 +03:00 |
|
levlam
|
723d09ddee
|
Reduce refresh margin for persistent temp auth keys to speed up recover when the old key reregisters after auth.dropTempAuthKeys.
|
2023-07-17 19:21:18 +03:00 |
|
levlam
|
9aed145fa1
|
Don't treat temp auth key as invalid before it is actually expired.
|
2023-07-17 19:04:39 +03:00 |
|
levlam
|
cebea14b03
|
Add logging for RawConnection life cycle.
|
2023-06-16 15:16:03 +03:00 |
|
levlam
|
66234ae253
|
Fix IPv6 usage on WatchOS.
|
2023-06-11 13:25:06 +03:00 |
|
levlam
|
e1ecdf8399
|
Check wait_size and quick_ack first.
|
2023-05-26 13:24:55 +03:00 |
|
levlam
|
5a59c933fb
|
Add missing semicolons after CHECK.
|
2023-05-22 19:31:58 +03:00 |
|
levlam
|
5b09f60629
|
Log message_id of all outgoing messages.
|
2023-05-17 13:19:40 +03:00 |
|
levlam
|
bce488f6bf
|
Log message_id of all incoming packets.
|
2023-05-17 13:00:21 +03:00 |
|
levlam
|
b48668e8bb
|
Fix misprint.
|
2023-05-16 21:53:55 +03:00 |
|
levlam
|
7df9b39186
|
Improve logging of server time difference updates.
|
2023-05-15 20:23:38 +03:00 |
|
levlam
|
43e4746d2a
|
Remove uninitialized MsgInfo.session_id.
|
2023-05-15 19:40:27 +03:00 |
|
levlam
|
93d283aca6
|
Improve parameter names.
|
2023-05-15 19:30:44 +03:00 |
|
levlam
|
5d499d594c
|
Reset server time difference if it is more than 15 seconds in the future.
|
2023-05-14 23:11:23 +03:00 |
|
levlam
|
a395337265
|
Fix session_id type.
|
2023-05-14 23:00:56 +03:00 |
|
levlam
|
f29774acc6
|
Fix message_id type.
|
2023-05-14 22:42:58 +03:00 |
|
levlam
|
c9f83caf9f
|
Reset server time difference after a "MessageId is too high" error.
|
2023-05-14 21:58:54 +03:00 |
|
levlam
|
edf0aaaa2a
|
Fix misprint in error message.
|
2023-05-14 01:41:23 +03:00 |
|
levlam
|
796a1f83c3
|
Support saving and loading of temporary auth keys.
|
2023-05-04 15:44:39 +03:00 |
|
levlam
|
78c41b9fef
|
Use local variable for wakeup_at.
|
2023-04-20 17:24:30 +03:00 |
|
levlam
|
0c638d3531
|
Avoid duplicate session wake up time logging.
|
2023-04-20 17:19:38 +03:00 |
|
levlam
|
4b7c1aee03
|
Add and use Random::shuffle.
|
2023-04-19 10:02:34 +03:00 |
|
levlam
|
cd20d62c9c
|
Rename Op::string to Op::str to avoid ambiguity.
|
2023-04-19 00:57:46 +03:00 |
|
levlam
|
afefdbcca0
|
Update another TLS ClientHello.
|
2023-04-18 18:24:57 +03:00 |
|
levlam
|
35327de43d
|
Update TlsInit.
|
2023-04-18 13:32:48 +03:00 |
|
levlam
|
e2d3f2694f
|
Improve future salts logging.
|
2023-04-03 19:55:12 +03:00 |
|
levlam
|
55223c394f
|
Fix misprint.
|
2023-04-03 12:15:44 +03:00 |
|
levlam
|
fb4d0daa2f
|
Improve names of some variables.
|
2023-04-03 01:24:43 +03:00 |
|
levlam
|
1673d2366b
|
Log real pong/read time.
|
2023-03-14 15:45:01 +03:00 |
|
levlam
|
28e788995a
|
Fix log message.
|
2023-03-14 15:30:43 +03:00 |
|
levlam
|
70bee089d4
|
Fix watchOS building.
|
2023-03-10 13:22:18 +03:00 |
|
levlam
|
aa5093b361
|
Don't call Callback::on_read for 0 size.
|
2023-03-08 18:16:08 +03:00 |
|
levlam
|
f670699c8c
|
Improve logging in SessionConnection.
|
2023-03-08 18:10:07 +03:00 |
|