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
|
6238f0fc89
|
Minor improvements.
|
2021-11-10 21:09:28 +03:00 |
|
levlam
|
2392cc7631
|
Fix some uses after move.
|
2021-11-10 20:05:41 +03:00 |
|
levlam
|
616b0e6d6f
|
Improve ResultHandler/NetActor td_ private field name.
|
2021-11-08 15:20:38 +03:00 |
|
levlam
|
5578ecc6b8
|
Remove NetQuery id from ResultHandler and NetActor.
|
2021-11-08 14:19:57 +03:00 |
|
levlam
|
3d827b408f
|
Allow to set "utc_time_offset" option.
|
2021-11-01 22:42:33 +03:00 |
|
levlam
|
88d7b284b4
|
Add utc_time_offset option.
|
2021-11-01 22:32:49 +03:00 |
|
levlam
|
00a349656d
|
Unify td/telegram/include order.
|
2021-10-27 17:32:09 +03:00 |
|
levlam
|
6ecba8cb5d
|
Download emoji sounds from main DC.
|
2021-10-06 00:55:22 +03:00 |
|
levlam
|
c0fb888c42
|
Fix GCC 4.9 compilation errors.
|
2021-10-24 02:09:36 +03:00 |
|
levlam
|
c24501f2d9
|
Reduce "this" usages.
|
2021-10-23 21:17:00 +03:00 |
|
levlam
|
0c1469f7c6
|
Fix TransparentProxy::Callback.
|
2021-10-22 19:59:15 +03:00 |
|
levlam
|
03c6d53951
|
Log number of pending requests when Session is closed.
|
2021-10-22 18:36:35 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|
levlam
|
1e49f6dc13
|
Use auto as variable type if it is initialized with a cast.
|
2021-10-20 01:27:02 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
44a186c7c1
|
Minor improvements.
|
2021-10-18 19:26:14 +03:00 |
|
levlam
|
81b38d5607
|
Mark move constructors/assignment operators noexcept.
|
2021-10-18 14:36:15 +03:00 |
|
levlam
|
9b7957c9c6
|
Minor warning fixes.
|
2021-10-17 13:07:20 +03:00 |
|
levlam
|
328c5b57d2
|
Add Global::request_aborted_error.
|
2021-10-07 16:36:21 +03:00 |
|
levlam
|
a160241db7
|
Improve NetQueryCreator constructor.
|
2021-10-06 18:47:32 +03:00 |
|
levlam
|
cdb06da112
|
Add "; pass null" annotations for expected to be null request parameters.
|
2021-09-28 17:31:00 +03:00 |
|
levlam
|
61c3a2bcf5
|
Remove TD_EXPERIMENTAL_WATCH_OS.
|
2021-09-24 13:41:22 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
41c391f140
|
Update layer to 133.
|
2021-09-03 12:27:59 +03:00 |
|
levlam
|
74315e2e60
|
Add mtproto::ConnectionManager.
|
2021-09-16 19:09:39 +03:00 |
|
levlam
|
a838fff28f
|
Add operator== for ThemeSettings.
|
2021-09-12 22:39:52 +03:00 |
|
levlam
|
088c3169d4
|
Minor.
|
2021-09-10 18:23:23 +03:00 |
|
levlam
|
137543c172
|
Use send_closure_later in NetQueryDispatcher to break stack chain.
|
2021-09-10 17:42:24 +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
|
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
|
0967fe0672
|
Reload CDN config with each layer change.
|
2021-07-09 02:31:42 +03:00 |
|
levlam
|
23b0a91e88
|
Fix PublicRsaKeyWatchdog.
|
2021-07-09 02:17:26 +03:00 |
|
levlam
|
e9e2428237
|
Update server keys.
|
2021-07-08 16:39:34 +03:00 |
|
levlam
|
5176710ada
|
Store RsaKey in PublicRsaKeyShared.
|
2021-07-05 22:19:59 +03:00 |
|
levlam
|
65e96c561c
|
Add struct RsaKey.
|
2021-07-05 22:09:45 +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
|
ca7c1e5ada
|
Dump network queries from oldest to newest.
|
2021-06-20 03:05:58 +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
|
3798ecaef5
|
Move outgoing query logging to INFO.
|
2021-05-17 00:12:52 +03:00 |
|
levlam
|
a78fe2dfe5
|
Don't drop recently valid auth keys.
|
2021-04-13 16:52:41 +03:00 |
|
levlam
|
b84318fed4
|
Minor improvements.
|
2021-03-27 05:19:22 +03:00 |
|
levlam
|
66de95d93c
|
Fix compilation errors and formatting.
|
2021-03-26 18:52:45 +03:00 |
|
Arseny Smirnov
|
5c7b7d4c85
|
TD_EXPERIMENTAL_WATCH_OS cmake option
|
2021-03-26 18:04:25 +03:00 |
|
levlam
|
bf42d62f1e
|
Unify ResultHandler subclass names and logged name.
|
2021-02-08 15:56:08 +03:00 |
|
levlam
|
e3cb608293
|
Remove was_auth flag.
|
2021-02-01 15:07:10 +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
|
69ae1d4f0c
|
Allow auth.bindTempAuthKey before authorization to check auth_key validness.
GitOrigin-RevId: 7a80d84aef6a9f097c6567ed72bccd9b62f87c2c
|
2020-11-01 21:42:48 +03:00 |
|
levlam
|
3f23a06473
|
Prettify query logging.
GitOrigin-RevId: 1e6e7285dab732e95593119d2e1e3f13f0d8bb15
|
2020-10-30 16:46:57 +03:00 |
|
levlam
|
1aff1e75ef
|
Fix net query Counter initialization.
GitOrigin-RevId: ba23b816cfed060cea15244e3f2264f74c89d390
|
2020-10-13 02:30:40 +03:00 |
|
levlam
|
fdc3920572
|
Fix some includes.
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
|
2020-10-08 18:30:36 +03:00 |
|
levlam
|
d2d0cb5cc0
|
Move log tags definitions out of logging.cpp.
GitOrigin-RevId: 0e74b94ec194f8ee678bb77a04d35df46702b330
|
2020-10-05 18:07:23 +03:00 |
|
levlam
|
1fe397e43d
|
Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
|
2020-09-25 00:46:16 +03:00 |
|
levlam
|
90ee4bd63c
|
Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
|
2020-09-24 19:15:42 +03:00 |
|
levlam
|
e0adaebb91
|
Unify logging of request responses.
GitOrigin-RevId: ae4c0a3881a89aa235baa08c07ec97a914437d8c
|
2020-09-24 16:08:04 +03:00 |
|
levlam
|
9d64589456
|
Fix NetQueryDebug.state_timestamp_ initialization.
GitOrigin-RevId: 7cd96ac1d2e423767b8ae4a9d8f1ef5347fa41e8
|
2020-09-03 07:21:01 +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 |
|
Arseny Smirnov
|
0e4e1268ac
|
Session: more aggressive debug for mtproto rpc errors
GitOrigin-RevId: efe1b894349d6542c4483a1f72c555bd29ddebd6
|
2020-08-12 16:56:06 +03:00 |
|
Arseny Smirnov
|
1d56a371cd
|
ConfigManager: minor refactoring for hangup_shared
GitOrigin-RevId: 56af208cbe2e32120fa286b9e19fce58beaf8c9b
|
2020-08-11 16:31:50 +03:00 |
|
levlam
|
c5059bcac3
|
Minor fixes.
GitOrigin-RevId: 28f8cabca2f70ba692f8713ec68866495061b31a
|
2020-08-05 20:36:13 +03:00 |
|
Arseny Smirnov
|
c489d7187e
|
ConnectionCreator: relax flood limits for errors during creation of a connection
GitOrigin-RevId: e92d62461e0b3eeab77f1b92ef8c99d630bf3b74
|
2020-08-05 20:07:28 +03:00 |
|
Arseny Smirnov
|
3fb9b8a992
|
td: relax limits for connection creation during logout
GitOrigin-RevId: 2c7e81d931a36cecaaf8dd1b463365d3e039873f
|
2020-08-05 19:49:34 +03:00 |
|
Arseny Smirnov
|
71867f372d
|
SessionProxy: ignore redundant update_destroy calls
GitOrigin-RevId: 748222a69a8808d150296d2ee8298598d98a1de6
|
2020-08-05 16:11:10 +03:00 |
|
levlam
|
1b628d3ab7
|
Make NetQuery::tl_magic private.
GitOrigin-RevId: 06b9d496cea9fb9088e4514949573697d7a14231
|
2020-08-04 02:24:12 +03:00 |
|
levlam
|
0396d2dfff
|
Silence expected error logging.
GitOrigin-RevId: 7d8e66bac8f5b2bb40aa50d7fd7f01f0ff1eeb35
|
2020-08-04 02:21:20 +03:00 |
|
levlam
|
fbca30b2b4
|
Remove string copy in NetQuery::debug.
GitOrigin-RevId: d559507fe2c52a865a3402d755644650d4833637
|
2020-08-03 23:20:26 +03:00 |
|
levlam
|
0ac58f7494
|
Fix some includes.
GitOrigin-RevId: 5ce2e3dd3172ff92fa9400d10f0c6ec4b7f46e6e
|
2020-08-01 21:57:03 +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
|
c055ec15f9
|
Various improvements.
GitOrigin-RevId: 4eb8b7e43d10f1b5657f40aa2b7eef1c93429ca7
|
2020-07-30 22:59:23 +03:00 |
|
Arseny Smirnov
|
cacabaf6d1
|
NetQueryStats
GitOrigin-RevId: 5a04b322e12e2838b1d7f812fcf06bff4eefbace
|
2020-07-30 17:28:56 +03:00 |
|
Arseny Smirnov
|
d7eadd77c1
|
NetQueryCounter: simplify
GitOrigin-RevId: f9d7cbf9c939bfc46b8a02b18a74264ad8827509
|
2020-07-30 14:23:53 +03:00 |
|
levlam
|
b45f8ba3a0
|
Minor fixes.
GitOrigin-RevId: b7985efd4257bc9bb2b2672f94c5f5671e19dd0f
|
2020-07-26 14:24:30 +03:00 |
|
Arseny Smirnov
|
66cc19375a
|
Fix 'Initialize TsList mutex before any TsList.'
GitOrigin-RevId: 44030e72b96f2c01726d207cf9effb3953df4c72
|
2020-07-24 11:20:53 +03:00 |
|
levlam
|
c18a2474c6
|
Initialize TsList mutex before any TsList.
GitOrigin-RevId: 598e90b812e538288b3c2d60195cce68235d89a6
|
2020-07-23 21:07:19 +03:00 |
|
levlam
|
fcd09d5c25
|
Fix error logging.
GitOrigin-RevId: d734897ab870154d47a3e576ba3cba8eb4d3156e
|
2020-07-22 21:28:20 +03:00 |
|
levlam
|
62e3adf6ef
|
Wait TempAuthKeyWatchdog close.
GitOrigin-RevId: ab97787f7e7b5b716bb77faaf335239768f3c60f
|
2020-07-19 18:18:54 +03:00 |
|
levlam
|
0e39e01cc1
|
Reget config after disabling proxy.
GitOrigin-RevId: 07a2cb6c1ff95a8464c377855046074d5a1c5b7d
|
2020-07-19 02:12:14 +03:00 |
|
levlam
|
3f2e269162
|
Fix FloodControlStrict.
GitOrigin-RevId: 664841f3e58cce5bce3ad90ef42f23537dc07c16
|
2020-07-16 22:36:59 +03:00 |
|
Arseny Smirnov
|
2a5c826111
|
Ask for a config when there is no options for some DC
GitOrigin-RevId: e750c78a4685a20c93c888dee6eaf630b80f7d31
|
2020-07-16 21:37:13 +03:00 |
|
levlam
|
e16952121b
|
Use emplace whenever possible.
GitOrigin-RevId: 67cd8e3b6331c5e1671a9d662f034af1e29d3ac6
|
2020-07-13 23:20:16 +03:00 |
|
levlam
|
b1ad61add3
|
Add disable_persistent_network_statistics option.
GitOrigin-RevId: 214f63dec6317949fe13cf1d2fece7e249ddafcb
|
2020-07-13 16:56:31 +03:00 |
|
levlam
|
8872fbf6ac
|
Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
|
2020-06-26 02:24:13 +03:00 |
|
levlam
|
d01c906f53
|
Add get_main_file_type.
GitOrigin-RevId: 138fc28f8c8e59a8583514b53ce37750f2f0360a
|
2020-06-22 08:43:00 +03:00 |
|
levlam
|
9334243a5d
|
Unify conversion function names.
GitOrigin-RevId: 10def5544dfd6a94ff89b15441006d102b512439
|
2020-06-22 04:28:03 +03:00 |
|
levlam
|
32af19acfe
|
Improve constant name.
GitOrigin-RevId: 650c2c1ef42bb4d31f4cd5094cca5d251cc6c28a
|
2020-06-22 02:27:58 +03:00 |
|
levlam
|
d5b4c57993
|
Add inputMessageDocument.force_file.
GitOrigin-RevId: 7f2780ba7f333e5f8df9c28bab429b8b12eaf26c
|
2020-06-22 02:02:21 +03:00 |
|
levlam
|
3442a88413
|
Unify constant names style.
GitOrigin-RevId: 6e4475366b94cea6ab0331d57f254311490bdee2
|
2020-06-16 05:10:16 +03:00 |
|
levlam
|
8a118ec305
|
Add PingProxy actor name.
GitOrigin-RevId: b539817bad2d706df3391619cd2c81324b8dc686
|
2020-06-10 20:34:45 +03:00 |
|
levlam
|
44689f81ff
|
Minor improvements.
GitOrigin-RevId: 835275f0146586e4de5e18e9f01be29bb72ddf31
|
2020-06-10 03:42:00 +03:00 |
|
levlam
|
c921bcc5ed
|
Improve NetQuery public field names.
GitOrigin-RevId: cfa0dbd98c1b03e4e86d62fc6486fcf90e72ef25
|
2020-06-10 02:44:54 +03:00 |
|
levlam
|
1e6bdbb7a5
|
Improve NetQueryDebug field names.
GitOrigin-RevId: 56c8c1804e9962caceda0105591cfd16446cd56c
|
2020-06-10 02:03:09 +03:00 |
|
levlam
|
fcb7a51eb0
|
Remove global net_query_list_.
GitOrigin-RevId: 345564fa64a1a6abe6e936713ab05c5c16e4a723
|
2020-06-10 01:47:17 +03:00 |
|
levlam
|
2d22f4d13e
|
Minor improvements.
GitOrigin-RevId: e86b66d0cd5b78a02ce401c40a2c2fffc1bb5a3c
|
2020-06-10 01:38:00 +03:00 |
|
Arseny Smirnov
|
99fa220ae5
|
NetQuery: thread safe dump_pending_network_queries
GitOrigin-RevId: 43650ab11c3ca881ae7ee1f768353ce90f094da7
|
2019-08-16 14:57:41 +03:00 |
|
levlam
|
1f1307ab42
|
Log tries to send requests before authorization.
GitOrigin-RevId: 73d4efdaccf4564fa8558140380a845e2cc89c4b
|
2020-06-04 00:22:21 +03:00 |
|
levlam
|
c5018cb69c
|
Add new DC2 IP address.
GitOrigin-RevId: 8f9272b29d3f3e32bb2d3a79821b3269b4baf9e4
|
2020-05-29 10:20:29 +03:00 |
|
levlam
|
6f885c41d9
|
Rename crypto to RSA.
GitOrigin-RevId: 4c15f44c0d5c618933b7c1aecb3580664a15a557
|
2020-05-17 17:07:16 +03:00 |
|
levlam
|
0581b298cc
|
Fix some IP address spelling.
GitOrigin-RevId: ca1e3f4110057c3badbd9c5898593a65b72410e2
|
2020-05-16 23:32:32 +03:00 |
|
levlam
|
5b18a56e03
|
Add IPAddress::get_ip_host and use it whenever appropriate.
GitOrigin-RevId: 7254ebd036463fe2c8b6262269cbee843b320421
|
2020-05-16 23:12:52 +03:00 |
|
levlam
|
3cd9d6482f
|
Log session_count only if it is more than 1.
GitOrigin-RevId: e5018d2ce3ab363191e6bcb6798ce4f92741c2ee
|
2020-05-05 13:54:32 +03:00 |
|
levlam
|
d6404db146
|
Remove unneeded logging.
GitOrigin-RevId: 473cab6f91a53360e2a696cc50a48c018ce705c6
|
2020-05-04 21:52:15 +03:00 |
|
levlam
|
3175ed4c0a
|
Minor fixes.
GitOrigin-RevId: e10945b585d067da0b6a532b9d9210aade7673d4
|
2020-04-30 22:21:42 +03:00 |
|
levlam
|
0af026dd63
|
Poll promo data always.
GitOrigin-RevId: cf678c7389289dae6f7c040179bb60b86f1cac41
|
2020-04-30 21:00:58 +03:00 |
|
levlam
|
4498067221
|
Update layer to 113. Replace chat.is_sponsored with chat.source.
GitOrigin-RevId: 777a646b9639ed14d2ee1c304c6f0574c1d5ce5e
|
2020-04-28 16:25:56 +03:00 |
|
levlam
|
3d17513852
|
Add separate remove_sponsored_dialog.
GitOrigin-RevId: 23b569a314f0dc577e2f65e1a47d51a9434174aa
|
2020-04-28 12:03:00 +03:00 |
|
levlam
|
9328c20fcc
|
Return only key's suffix in prefix_get.
GitOrigin-RevId: 4e2043356fc69741a881407146fd4e9ca385b258
|
2020-04-23 20:27:46 +03:00 |
|
levlam
|
87afb93b93
|
Fix some ID spelling.
GitOrigin-RevId: cdd8cdb93696c690cf7bdb9b2df175bb926a7510
|
2020-04-19 13:45:37 +03:00 |
|
levlam
|
d83a85038f
|
Add tz_offset support.
GitOrigin-RevId: 4b3a1b1d214bf163ce6a72901726fde4243adb50
|
2020-04-09 00:09:55 +03:00 |
|
levlam
|
301ff466e1
|
Fix secret chats test.
GitOrigin-RevId: b8c4dca1b8937a8b07ce6fdd625b5a8f55284979
|
2020-04-08 02:27:53 +03:00 |
|
levlam
|
10b1ac1c8a
|
Remove wrong migrate prefixes.
GitOrigin-RevId: c42b3dd184d6da5b3316d36e4de409ee2e931965
|
2020-03-30 21:03:25 +03:00 |
|
levlam
|
f0d22df81f
|
Fix hack with total_timeout_limit.
GitOrigin-RevId: c012eb2e24e3fda4647e7d9560029c2c69e314ab
|
2020-03-30 21:01:13 +03:00 |
|
levlam
|
62863e9280
|
Minor fixes.
GitOrigin-RevId: e7b9ea9cb76d5c65c00a5ca86c85c6c8984e1d3c
|
2020-03-16 22:00:44 +03:00 |
|
levlam
|
784836f3b6
|
Decrease maximum total_timeout_limit for bots.
GitOrigin-RevId: 8d42ef41c28e8a5a276f4a1b6058c3391419146e
|
2020-03-16 04:09:17 +03:00 |
|
levlam
|
aac59710b4
|
Move fetch_result to corresponding files.
GitOrigin-RevId: e553631e87f81f466ce8ebc353820acd82dd8510
|
2020-03-16 01:42:24 +03:00 |
|
levlam
|
d06a786a16
|
Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
|
2020-03-16 01:01:14 +03:00 |
|
levlam
|
b8848a2ab4
|
Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
|
2020-03-16 00:17:11 +03:00 |
|
levlam
|
2bd330a5aa
|
Add NetQueryCreator.create_guest_dc.
GitOrigin-RevId: e8b0fffb5bb762ce288a9cbf1c446d584c7258e1
|
2020-03-15 05:22:43 +03:00 |
|
levlam
|
8d01251f8b
|
Add NetQueryCreator::create_unauth.
GitOrigin-RevId: 79043a3662b0353f000f388b3ee2763abf49fe2d
|
2020-03-15 04:51:14 +03:00 |
|
levlam
|
c4c9e51157
|
Make all fields required in full NetQueryCreator methos.
GitOrigin-RevId: aa8ebb5cc46b9f3b7c0b606c012ace5fafe2bbf2
|
2020-03-15 04:15:54 +03:00 |
|
levlam
|
ad3c28932b
|
Remove manual Gzip flag specification in query creation; support uploaded files pack.
GitOrigin-RevId: 46ddfc230182615517eac7b611a79284559bd694
|
2020-03-15 02:49:10 +03:00 |
|
levlam
|
968689157c
|
Make max_compression_ratio required parameter in gzencode.
GitOrigin-RevId: c787fdeae202d3b80944412e7db4209f35adcd07
|
2020-03-15 01:56:48 +03:00 |
|
levlam
|
b4138231ec
|
Remove total_timeout_limit parameter from NetQuery creator.
GitOrigin-RevId: 5c5a15654176061a64c0f167633a7842192200ba
|
2020-03-15 01:44:21 +03:00 |
|
levlam
|
a157cbf8d7
|
Replace NetQueryCreator.create_result with create_update.
GitOrigin-RevId: 21523bbd42a847b26359e49d6b70556599319121
|
2020-03-15 01:24:11 +03:00 |
|
levlam
|
3e559e457c
|
Improve names of RSA methods.
GitOrigin-RevId: b6f61f141987f282b5cf4faa9ff6cdf1219e8562
|
2020-03-10 18:27:43 +03:00 |
|
levlam
|
7ec4c26514
|
Improve error messages.
GitOrigin-RevId: 336ef2751e51381c4dd7905ef5b050b691b91e08
|
2020-03-02 12:52:13 +03:00 |
|
levlam
|
92df8f9827
|
Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
|
2020-02-26 18:15:19 +03:00 |
|
levlam
|
adfedb169d
|
Move some logging from INFO to connections.
GitOrigin-RevId: 304da251bcc1860e8b13fb0c38077a9c7d44c13c
|
2020-02-22 18:53:56 +03:00 |
|
levlam
|
8bece302a8
|
Fix network stats since_date by authorization date.
GitOrigin-RevId: 6842226e768d1d500e60eec1491b6adbda1098a5
|
2020-02-22 18:46:16 +03:00 |
|
levlam
|
6fa11510e0
|
Add more DC migrate prefixes.
GitOrigin-RevId: 78a225cc24dc41e1f7c716d465f973d637d5ce7b
|
2020-02-12 20:01:27 +03:00 |
|
levlam
|
eae92b214a
|
Really fix too long TLS-proxy domain.
GitOrigin-RevId: a07726e8bb75b467d26043d6c9b4ad834a961567
|
2020-01-26 01:22:07 +03:00 |
|
levlam
|
59f938405e
|
Restrict proxy server name length.
GitOrigin-RevId: d2e18866ff7fd977655cf27c3295b716237d92c7
|
2020-01-24 15:57:28 +03:00 |
|
levlam
|
1b1bd481e3
|
Make all AuthKeyHandshake fields private.
GitOrigin-RevId: 73bc8e67b5c86a4f30cabde16f84395b47d7f79e
|
2020-01-08 20:30:07 +03:00 |
|
levlam
|
cef4c7da3f
|
Minor improvements.
GitOrigin-RevId: 337bd7bca79324b0159fca503686ae759430dd1d
|
2020-01-08 20:05:08 +03:00 |
|
Arseny Smirnov
|
efc483551f
|
Bugfixes in auth key validation
GitOrigin-RevId: 66c2002e3ccb48c333c580715dc3517665f57b1f
|
2020-01-08 15:54:42 +00:00 |
|
levlam
|
724f2644e1
|
Check main auth_key improvements.
GitOrigin-RevId: 5a8e0d8cd0d15451f0ade9ed20bdc09926ad45ed
|
2020-01-08 02:09:22 +03:00 |
|
levlam
|
63f167ac35
|
Better field names,
GitOrigin-RevId: 93d307c55f9801d78fa68413cbbf238925a351b1
|
2020-01-08 01:27:12 +03:00 |
|
levlam
|
eecb70d006
|
Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
|
2020-01-07 18:16:57 +03:00 |
|
Arseny Smirnov
|
890855a4f0
|
Validate and drop invalid main authorization key
GitOrigin-RevId: 5f5a0baf4fc55b629b6e0534c475f6236cc72506
|
2020-01-07 15:42:04 +03:00 |
|
Arseny Smirnov
|
ad3a1a35c5
|
Update stats on proxy errors
GitOrigin-RevId: 0c258335f5b3cd540edd5f8adf95befc29bf91bb
|
2020-01-07 11:02:36 +03:00 |
|
levlam
|
c25a346f54
|
Ignore BOT_METHOD_INVALID for getAppConfig.
GitOrigin-RevId: 953c9c9c20b31cb7118233db82d146e4ee384a6f
|
2020-01-05 04:22:03 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
4abc124cce
|
Add PublicRsaKeyWatchdog.
GitOrigin-RevId: b59695d96b97c6ef01a8dc0da89f07e9e250d61a
|
2019-12-28 15:04:32 +03:00 |
|
levlam
|
886d6e99c1
|
Fix PFS in CDN.
GitOrigin-RevId: 3c70f19e56b39fff1bd0c8351f30cd27e44b5368
|
2019-12-28 14:25:17 +03:00 |
|
levlam
|
935161c20e
|
Rename save_system_time to save_server_time.
GitOrigin-RevId: 9ffc8414c74872c7807faa85071818a0993aca87
|
2019-12-25 16:57:18 +03:00 |
|
Arseny Smirnov
|
8045132040
|
Fix system time it it goes backwards
GitOrigin-RevId: 3992a79df98fb164f5a410e756aa9e87ea853c38
|
2019-12-24 19:51:41 +04:00 |
|
levlam
|
adb10460b2
|
Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
|
2019-12-23 20:48:30 +03:00 |
|
levlam
|
3acb445d1c
|
Fix GetPassword errors processing.
GitOrigin-RevId: 5ebddd0d2ad1630eb8a4c2081d9bc724c72ff307
|
2019-12-18 04:08:34 +03:00 |
|
levlam
|
4ce3005081
|
QR code authentication fixes.
GitOrigin-RevId: 29108234fa8afc589ac7248ad1fdc92ec1d0ffaf
|
2019-12-18 03:47:51 +03:00 |
|
levlam
|
9f60d0bae1
|
Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
|
2019-12-17 19:17:57 +03:00 |
|
levlam
|
3a203e6674
|
Add NetQueryDispatcher::set_main_dc_id.
GitOrigin-RevId: 80e660bbaffa0c00a2b85d9c0f73c543397aa3d0
|
2019-12-17 02:35:58 +03:00 |
|
levlam
|
2714fbf1f8
|
Fix some preauthentication requests.
GitOrigin-RevId: 1bbbbef17b740140ae99c4972d569306f6ca52ac
|
2019-12-13 04:00:33 +03:00 |
|
levlam
|
8c495d99e6
|
Use TRY_RESULT_ASSIGN.
GitOrigin-RevId: 99b60b9044fab9357a3440aed7da55f146677e6b
|
2019-12-08 09:57:33 +03:00 |
|
levlam
|
03ea8f4a70
|
Add logging to find_all_connections.
GitOrigin-RevId: f77b467d54add05d2f9440e36693b590a5bd237e
|
2019-12-05 15:36:32 +03:00 |
|
levlam
|
6b24886bf0
|
Partial support for scheduled message IDs.
GitOrigin-RevId: 752336efc26fb73a038801b99b490d0f68163b04
|
2019-11-26 23:47:13 +03:00 |
|
levlam
|
3d614f6ac2
|
Add support for SLOWMODE_WAIT_* errors.
GitOrigin-RevId: eb54e53668ad24640c1d13b608584eeb675c11d6
|
2019-11-12 23:05:38 +03:00 |
|
levlam
|
809b28aa4a
|
Better MTProto spelling.
GitOrigin-RevId: d631aa03c2b3b19abe2c804d9a5e1d7d95602693
|
2019-10-26 16:58:38 +03:00 |
|
levlam
|
1e018da7b8
|
Various fixes.
GitOrigin-RevId: b09e5fda6d25bd027f6bcbcbbe8324567b8ddcf8
|
2019-10-22 20:01:15 +03:00 |
|
levlam
|
56c3a2fbed
|
Use td::remove_if.
GitOrigin-RevId: 5cf21381966dc58689a06cc94cb8843fd8087bb9
|
2019-10-21 16:25:56 +03:00 |
|
levlam
|
0b6c1d226f
|
Update clag-format to the latest (190926/r372920) version.
GitOrigin-RevId: 7861ae8ad28eb1f6a06ff3c6f56eff3f67b1d24c
|
2019-09-28 05:14:21 +03:00 |
|
levlam
|
f29c4a9ed1
|
Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
|
2019-09-15 06:19:46 +03:00 |
|
levlam
|
c72ba02d85
|
Write to the log message when account is banned.
GitOrigin-RevId: 087777440601fc56f9289fc8140497a1553755db
|
2019-09-02 19:24:50 +03:00 |
|
levlam
|
4d72f8c14b
|
Minor fixes.
GitOrigin-RevId: cc03c7e7a507fab2308495ea23f8ef9630a8142f
|
2019-08-30 04:56:01 +03:00 |
|
levlam
|
eaca53604a
|
Fix MTProto-proxy usage with bots.
GitOrigin-RevId: ed82547b018fe34c5da6a9b3a98ecb9ed7b39049
|
2019-08-23 19:38:56 +03:00 |
|
levlam
|
dca95edf27
|
Add test_flood_wait option.
GitOrigin-RevId: 46cdd7db52a54f47380ae21a9457aad6e95dcc61
|
2019-08-15 22:10:42 +03:00 |
|
levlam
|
9007f106b9
|
Update layer 98. Support for legacy messages flag.
GitOrigin-RevId: b10c8b60b7fbdfdbf8ab15e65ed32f1daa6c9ad2
|
2019-08-15 18:16:09 +03:00 |
|
Arseny Smirnov
|
c2c32c4e2b
|
Session: fix key deletion in http connections
GitOrigin-RevId: ddc80efe78a0a11dee7eb21c55d7efdd76a2be1d
|
2019-08-01 16:03:18 +03:00 |
|
levlam
|
4531950aaf
|
Remove unused field.
GitOrigin-RevId: 00e6b70cb12fd356f029ee94fb2c3f96e15c8a91
|
2019-08-01 06:32:49 +03:00 |
|
levlam
|
2b7511d07f
|
Rename AuthState to AuthKeyState.
GitOrigin-RevId: 7211994ddf6e267342ba29010328387093549e5c
|
2019-07-23 02:14:34 +03:00 |
|
levlam
|
98b8929932
|
Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
|
2019-07-23 01:50:12 +03:00 |
|
levlam
|
410d81c55f
|
Remove ProxyInfo class.
GitOrigin-RevId: f5bc2e82ef1017628b11fe9a0d04e75a08f77c25
|
2019-07-22 14:32:21 +03:00 |
|
levlam
|
79a38df824
|
Add actor_name_prefix to prepare_connection parameters.
GitOrigin-RevId: fbfb40411a16c0609a8bd926f2b4f3428e43cd25
|
2019-07-22 05:55:01 +03:00 |
|
levlam
|
92201f904d
|
Remove proxy IPAddress from ProxyInfo.
GitOrigin-RevId: 1c83e4dc45c3186e887a9922fa77e6b25612c3be
|
2019-07-22 05:42:19 +03:00 |
|
levlam
|
feb2beeec0
|
Fix testProxy.
GitOrigin-RevId: 6ad0bf0e7685ccae35931c4949ba29bafbcc6335
|
2019-07-22 05:04:18 +03:00 |
|
Arseny Smirnov
|
e54c0b0035
|
Fix merge conflict
GitOrigin-RevId: 8e342e89f5ee116806772fca70bab9eb2606e8e1
|
2019-07-21 22:00:47 +03:00 |
|
Arseny Smirnov
|
4079363f1a
|
td_api: TestProxy query draft
GitOrigin-RevId: 67944e916813c6260df5be6cb4e77f7163854738
|
2019-07-20 15:13:36 +02:00 |
|
levlam
|
5de81015ad
|
Add connection_parameters options.
GitOrigin-RevId: 68ad956881c53ea9ee7ca529947737b2d55b585a
|
2019-07-15 21:37:45 +03:00 |
|
levlam
|
db8539d9df
|
Fix usage of HttpDate in ConfigRecoverer.
GitOrigin-RevId: 17007d6b0afe58a0479d3d596bc4463548a26930
|
2019-07-11 23:32:45 +03:00 |
|
Arseny Smirnov
|
8fdd8910e7
|
ConfigRecoverer: support tls obfuscation
GitOrigin-RevId: 9a924ee86fe042a9fd1acf44eeeb25c0ab4e8bbb
|
2019-07-11 13:25:20 +02:00 |
|
Arseny Smirnov
|
3a9ec3fc29
|
ConfigRecoverer: support tls obfuscation (not tested)
GitOrigin-RevId: edc982ee6d1ce2834a80464a7b20ef712f465814
|
2019-07-09 16:45:38 +02:00 |
|
levlam
|
b9e5ebd222
|
Minor improvements.
GitOrigin-RevId: 684fd2527c31f6fdbc816a2addd64e4740f8a15b
|
2019-07-09 06:56:06 +03:00 |
|
levlam
|
c626bbefe6
|
Move Proxy to Proxy.h.
GitOrigin-RevId: b1e4f03b7e49b15ea576e4f05c05c8fe8709e3eb
|
2019-07-09 05:13:10 +03:00 |
|
levlam
|
7958916080
|
Add strongly typed ProxySecret class.
GitOrigin-RevId: dbde277c6cce57fd6ff51b2e310dab95e60b38c1
|
2019-07-09 05:01:12 +03:00 |
|
Arseny Smirnov
|
a695b0823c
|
Better logic for time difference in tls obfuscation
GitOrigin-RevId: bbd69762a4700571ed7c67b4afbf30950b79b638
|
2019-07-04 18:21:07 +02:00 |
|