Commit Graph

139 Commits

Author SHA1 Message Date
levlam
05bb41b250 Rename Socks5 actor for ping.
GitOrigin-RevId: 6e41fef4b451feffa6376e6cc61fec434270e78d
2018-06-28 16:53:40 +03:00
levlam
46535703e0 Fix some includes.
GitOrigin-RevId: 901d167d7197e4c0222656e9fc1f9fc0e216e44b
2018-06-26 02:43:11 +03:00
levlam
8a6b550a86 New transport improvements.
GitOrigin-RevId: cc7b8aafe6a30009fd4d549ef969c373ce2b9d9a
2018-06-16 03:03:14 +03:00
Arseny Smirnov
c02d4505e4 0xdd transport
GitOrigin-RevId: 241c2fcea3ebaac20fc68531692cbd299a9de95a
2018-06-15 21:54:22 +03:00
levlam
3a8c0f131e Rename promoted chat to sponsored.
GitOrigin-RevId: e385126253199a46b55fba7d350e0c115a8c333e
2018-06-14 00:07:24 +03:00
Arseny Smirnov
d4cc127f17 Use CancellationToken for ConnectionCreator::request_connection promises
GitOrigin-RevId: 14157bd3677f4720d37ef70f64500522e3674173
2018-06-13 19:20:42 +03:00
levlam
9b946e7394 Do not use static IP for MTProto-proxy.
GitOrigin-RevId: e2be60b362b9254b700bbac0b97bf496fd0abcf1
2018-06-04 20:54:18 +03:00
levlam
2c5f5a8587 Improve PingConnection.
GitOrigin-RevId: be82fa18e2f9a154d3d276b5618d0ca72b9e4282
2018-06-04 19:58:54 +03:00
levlam
e5385cbd0b Better ping time calculation.
GitOrigin-RevId: d9cf250dae657ed498d932b2e335efbddb374c43
2018-06-04 19:35:29 +03:00
levlam
8253460dbb Better ping of main DC.
GitOrigin-RevId: f3231b9b8f558cfceef6d2b952b4f1f7051cb396
2018-06-04 18:55:38 +03:00
levlam
d774b6612f ConnectionCreator::get_transport_type.
GitOrigin-RevId: e73fa95b64f5cd36640ab574b3d0b30823ece001
2018-06-04 01:17:59 +03:00
levlam
066e6a90e3 Allow 0 in pingProxy.
GitOrigin-RevId: c03522ac55da93543bf6bfefdfae28b280458233
2018-06-02 15:20:35 +03:00
levlam
0e48dd8a81 New ConfigRecoverer scheme.
GitOrigin-RevId: 1101ddc56b0836387faf089ca52fe7376db9f88f
2018-05-24 18:09:27 +03:00
levlam
d763c755e1 Remove ConnectingToProxy state for MTProto-proxy.
GitOrigin-RevId: 21950ac6b0fc00f2b599ae158bb1b4414788d5c6
2018-05-23 18:51:58 +03:00
levlam
8fb6edab2f Ping proxy fixes.
GitOrigin-RevId: cf6e8a2585fdfe7a7491109b8facf0dcad379d2c
2018-05-19 18:05:38 +03:00
Arseny Smirnov
3675e38605 Ping proxy
GitOrigin-RevId: ff4dfa54bee356a06b1ec076711fb28b894221cb
2018-05-18 23:43:38 +03:00
levlam
d9a89abd23 Fix raw_dc_id for test DC.
GitOrigin-RevId: 2fd4d78700d245b91a6b390df26568d910cbae37
2018-05-17 22:09:57 +03:00
levlam
cb6c46071e td_api::getProxyLink.
GitOrigin-RevId: 0d876446bbbb22467c452b088f4df24e7e1624a2
2018-05-17 21:08:51 +03:00
levlam
bf43893503 Fix false clang warning.
GitOrigin-RevId: 02f377c960d360f83452392d5cd76c3f6d4b02a1
2018-05-16 23:12:33 +03:00
levlam
67c00e02ea Complete pending preauthentication requests.
GitOrigin-RevId: 8e9b2ec7f8ba8e298f8d95ad7135f7607d440c2f
2018-05-16 22:35:27 +03:00
levlam
134849c906 Fix migrating to many proxies.
GitOrigin-RevId: b503ac549ff395143d521b0511fbf32f037df271
2018-05-15 19:44:24 +03:00
levlam
582d6e66a0 Remove logging.
GitOrigin-RevId: da24a4d5aede66cb14193cad28216f99e7f507dd
2018-05-15 15:21:53 +03:00
levlam
aeeef4ba74 Implement save_proxy_last_used_date.
GitOrigin-RevId: fa93bf71cdab89054c0576ca4256dbf9dd0bf0fb
2018-05-15 15:21:09 +03:00
levlam
105e0e3b84 Fix previous commit.
GitOrigin-RevId: 16029bdbf50092ff2e440869d5352b72e5628476
2018-05-14 22:11:48 +03:00
levlam
7de9a0c15d New Proxy API.
GitOrigin-RevId: 2f96b8d1732c25e10a7568c6cf2dbbe26a150e4a
2018-05-14 22:00:38 +03:00
levlam
1492467ab8 Notify sessions about mtproto header updates.
GitOrigin-RevId: 35ee6055c65c7656726a20672fa600823a13ac5f
2018-05-10 21:02:24 +03:00
levlam
c65b998cd6 All updatePromotedChat.
GitOrigin-RevId: 4a3c6283026ba15836cb7fa011c4b3ad21a64baa
2018-05-08 23:02:15 +03:00
levlam
5c1612e9eb Fix mtproto proxy secret.
GitOrigin-RevId: e561c27016d6f08f9923608ba7fc40ee419c6053
2018-05-08 18:08:26 +03:00
levlam
98289b9963 Add proxyMtproto to td_api.
GitOrigin-RevId: c872c063bc6e5d94c80ac1daa6b916f8ce5f4c23
2018-05-08 17:48:30 +03:00
levlam
de0614891d Fix g++ CE and warning.
GitOrigin-RevId: 14b43cc16c2eac069bb19b6fe5a6adb964068970
2018-05-03 12:00:35 +03:00
Arseny Smirnov
efc5cbb8ad Mtproto secret support
GitOrigin-RevId: 3efeb3f309b76074d6581d68e9a9b20df79e82ae
2018-04-30 20:01:18 +03:00
levlam
f758d592dd Better iterators increment.
GitOrigin-RevId: 5da2e57210ce62f78ab938005a4683d2c1e26547
2018-04-23 01:14:49 +03:00
levlam
9a4617fee3 Add IPv6 DC addresses.
GitOrigin-RevId: 03f79d00d679869d42c5557586e0af2a72b62a23
2018-03-14 15:27:55 +03:00
levlam
f0e5accbb4 Fix scheduler_id for GetHostByNameActor.
GitOrigin-RevId: fca68b68bfddb750e191d9d2479418149b5cf250
2018-02-20 20:16:17 +03:00
levlam
d3c980e5d3 Do nothing when the same proxy is set.
GitOrigin-RevId: 69611358667c598a1ce009944cbe21bbdad4b3ad
2018-02-20 00:44:52 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
99c3946d41 More connection_recoverer logging.
GitOrigin-RevId: c86cdef27ec3beacfe6883a100d95a36019a902b
2018-02-07 23:48:40 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00