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 |
|
levlam
|
62eaa0b5a9
|
Improve NetQuery logging.
|
2023-08-30 17:58:37 +03:00 |
|
levlam
|
0e9b4be29f
|
Add auth_key_id to error messages.
|
2023-08-20 21:00:42 +03:00 |
|
levlam
|
fd2df72321
|
Add td_api::canSendStory.
|
2023-08-11 19:43:26 +03:00 |
|
levlam
|
28961b7d0e
|
Add more common.h includes.
|
2023-08-05 16:09:36 +03:00 |
|
levlam
|
830da27abf
|
Minor improvements.
|
2023-08-05 15:31:42 +03:00 |
|
levlam
|
32043df840
|
Parse updates in another thread.
|
2023-07-27 12:52:29 +03:00 |
|
levlam
|
38fe2d7cb2
|
Support NetQueryCreator without Scheduler.
|
2023-07-26 14:46:31 +03:00 |
|
levlam
|
968bfc48df
|
Move main Session to database scheduler if there is no database.
|
2023-07-26 13:13:21 +03:00 |
|
levlam
|
e8d92b0dcb
|
Make MtprotoHeader thread-safe.
|
2023-07-26 12:48:59 +03:00 |
|
levlam
|
1ab81f426c
|
Ensure that NetQueryCreator doesn't access Td from another thread.
|
2023-07-26 12:29:36 +03:00 |
|
levlam
|
cb7088394e
|
Call Session::loop with send_closure_later to unify stack traces.
|
2023-07-20 19:12:59 +03:00 |
|
levlam
|
abf32c44cc
|
Simplify capture by value.
|
2023-07-19 22:41:27 +03:00 |
|
levlam
|
d6c5aa2ef3
|
Resend auth.dropTempAuthKeys with delay.
|
2023-07-17 19:37:52 +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
|
b9473decc2
|
Always list actor_id first in lambda capture.
|
2023-07-11 17:53:43 +03:00 |
|
levlam
|
583f10706a
|
Improve logging on SessionConnection closure.
|
2023-07-11 13:42:47 +03:00 |
|
levlam
|
a8c1b24318
|
Improve error messages.
|
2023-07-05 16:18:45 +03:00 |
|
levlam
|
509dd95882
|
Allow IPv6 connections on watchOS.
|
2023-06-16 13:24:21 +03:00 |
|
levlam
|
ee8e2b1481
|
Avoid expected error logging on watchOS.
|
2023-06-16 13:08:50 +03:00 |
|
levlam
|
348a209ab7
|
Fix includes.
|
2023-05-18 14:33:00 +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
|
37c46b8b12
|
Increase min_gzipped_size for bots.
|
2023-05-10 02:06:24 +03:00 |
|
levlam
|
c0911577f7
|
Use empty name for unused move constructor/assignment parameter.
|
2023-05-05 13:51:19 +03:00 |
|
levlam
|
fc136f46df
|
Randomize temporary auth key validity time.
|
2023-05-04 16:00:14 +03:00 |
|
levlam
|
d3ade3d64d
|
Persist temporary keys for main sessions if multiple sessions enabled.
|
2023-05-04 15:54:21 +03:00 |
|
levlam
|
648c6cd3ef
|
Improve error message.
|
2023-05-04 15:13:31 +03:00 |
|