Commit Graph

315 Commits

Author SHA1 Message Date
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