levlam
|
674b380bd5
|
Never ask for ack for service queries.
|
2024-01-21 01:31:24 +03:00 |
|
levlam
|
d963044eb9
|
Update copyright year.
|
2024-01-01 03:07:21 +03:00 |
|
levlam
|
8c10e893c0
|
Remove unused functions from SessionConnection::Callback.
|
2023-10-23 13:08:45 +03:00 |
|
levlam
|
b29a2b1ba2
|
Close connection if receive no answer for destroy_auth_key for 60 seconds.
|
2023-10-23 13:02:04 +03:00 |
|
levlam
|
605a3af4b2
|
Add and use td::any_of.
|
2023-10-21 20:41:31 +03:00 |
|
levlam
|
fab24473ca
|
Fix processing of unexpected DestroyAuthKeyRes.
|
2023-10-15 21:25:07 +03:00 |
|
levlam
|
1c588eda01
|
Minor improvements.
|
2023-10-15 01:20:09 +03:00 |
|
levlam
|
df563e781e
|
Explicitly specify TLObjectStorer's template parameter.
|
2023-09-21 21:31:59 +03:00 |
|
levlam
|
4c8ab2bf29
|
Send at most 1000 queries in a container.
|
2023-09-21 21:22:33 +03:00 |
|
levlam
|
14af252795
|
Improve names of create_*_storer functions.
|
2023-09-21 21:19:18 +03:00 |
|
levlam
|
0362411550
|
Minor improvements.
|
2023-09-21 19:01:17 +03:00 |
|
levlam
|
dc4b5aad51
|
Return nothing from RawConnection::send_no_crypto.
|
2023-09-21 17:56:21 +03:00 |
|
levlam
|
b44e2ea3fc
|
Add strictly-typed class mtproto::MessageId.
|
2023-09-21 17:52:33 +03:00 |
|
levlam
|
e47cea5904
|
Improve SessionConnection::ServiceQuery.
|
2023-09-21 16:52:21 +03:00 |
|
levlam
|
5334cc8e10
|
Improve types of vectors in SessionConnection.
|
2023-09-21 16:47:12 +03:00 |
|
levlam
|
7e65c3d4dd
|
Improve message_id-parameter names.
|
2023-09-21 16:09:19 +03:00 |
|
levlam
|
1cd71efb03
|
Improve "container_message_id" variable names.
|
2023-09-21 15:44:26 +03:00 |
|
levlam
|
ec44b3d16c
|
Improve "invoke_after_message_id" variable names.
|
2023-09-21 15:40:56 +03:00 |
|
levlam
|
518f11f40a
|
Log message identifiers as hex numbers.
|
2023-09-19 21:10:11 +03:00 |
|
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 |
|