Commit Graph

159 Commits

Author SHA1 Message Date
levlam
72ac6667ce Never set 0 session_id.
GitOrigin-RevId: 58a7074812fa330930b033d2ffcfcc1ae0e803ec
2019-02-04 19:39:09 +03:00
levlam
f89dbc8148 Make session_id private.
GitOrigin-RevId: c9a942a691a6bc8974d02f0cd0cc0f916c679d61
2019-02-04 18:44:29 +03:00
levlam
fc8917a4ed Rename ResolveType to ResolverType.
GitOrigin-RevId: 64350527620c08bb192a18d951d5b3b5216f1162
2019-02-04 04:36:13 +03:00
levlam
da59ac47ea Support list of resolve types in GetHostByNameActor.
GitOrigin-RevId: 5aabc978b9a6caaecc2bf6c432421b2a4d766559
2019-02-04 04:32:32 +03:00
Arseny Smirnov
c07b26e45c GetHostByNameActor: Options and test
GitOrigin-RevId: afebe6e940b2048d3ef6f6368ff824443d55a909
2019-01-24 17:07:11 +04:00
levlam
424faa44f3 Use KeyValueSyncInterface and BinlogInterface in TdDb.
GitOrigin-RevId: 6e038ac9124855660da72fc64ec131a6e8211055
2019-01-07 02:44:29 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
b06a08b106 Add separate key for test DC.
GitOrigin-RevId: 6417cbe9ed98ca7c280e0f5882f11d69610386c1
2019-01-02 02:43:37 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
d9d45ef303 Support WORKER_BUSY_TOO_LONG_RETRY error.
GitOrigin-RevId: 44e4d36d91a44e21f679eaefac90c436a35079f2
2018-12-26 21:01:46 +03:00
levlam
ac3fa705a2 File streaming fixes.
GitOrigin-RevId: 86c6d1394a31d6bb108a12e14f4d981133ece235
2018-12-26 19:11:15 +03:00
levlam
3850a4da7f Move as from common.h to as.h.
GitOrigin-RevId: 3ecc4b4c4ff6c9b070d30cf017e22a8acce0af09
2018-12-20 00:57:56 +03:00
levlam
500d809f51 Improve connections logging.
GitOrigin-RevId: e0c11b91c016fce49f4ba4036f92a19a0dfc681b
2018-12-17 19:10:03 +03:00
levlam
9d3ab75c56 Fix some spelling.
GitOrigin-RevId: 351e7c32fee3fb9249d561434ba1515082e757b0
2018-12-14 01:48:36 +03:00
levlam
65c8dd4b04 Remove now unused need_wait_for_key.
GitOrigin-RevId: c3c84c4ceba80738eadb950b4cb28541eb30b79f
2018-12-11 23:43:52 +03:00
levlam
43b61eace0 Remove unused callback from SessionConnection.
GitOrigin-RevId: d59f2581e57acb8bad96197381d0e0698b932ed2
2018-12-11 23:34:46 +03:00
levlam
6445cf645b A lot of various fixes.
GitOrigin-RevId: 64963bfb55e5ffe8b099c1953143158b44a540c6
2018-12-11 23:18:58 +03:00
levlam
383119ebe6 Better actor names.
GitOrigin-RevId: 94d2c994f5a6ca26e3e35c84edb1df23d1efe75e
2018-11-18 15:33:06 +03:00
levlam
fdd7987f0a Fix preloading of just received in getDialogs dialogs.
GitOrigin-RevId: 0ff17a84046f76ede0ec4efda0707477b0ab9397
2018-11-18 00:24:19 +03:00
Arseny Smirnov
c6dd53a76e Session: set_online for nonmain connections
GitOrigin-RevId: 9bcfcdbaaf2440a307f221ab07aa650c449c3d26
2018-11-20 16:07:27 +04:00
Arseny Smirnov
fffe644aaa Connections creation debug
GitOrigin-RevId: 1f906a0c00464ff7bdfcfc41932b39733bab6780
2018-11-20 13:09:52 +04:00
Arseny Smirnov
7471e62740 Destroy authorization keys: fixes
GitOrigin-RevId: 9538efa2deadda91c18c1c97aa22281597a44d4b
2018-11-06 14:06:08 +03:00
levlam
b1d563719a Simplify should_open in SessionProxy.
GitOrigin-RevId: 5bfa92ed175468d5a247780b73d643735427637c
2018-11-04 13:53:57 +03:00
Arseny Smirnov
130456a3bb SessionProxy: rewrite session_open conditions
GitOrigin-RevId: 3a5757fdec567451671143937b5b942610f5ecdc
2018-11-03 09:33:22 +03:00
Arseny Smirnov
c610593e75 SessionProxy: bugfix
GitOrigin-RevId: f6874238d3aa79e980b3365dc19d9e9e0f0f3c22
2018-11-02 18:55:55 +03:00
levlam
5d5c55596e Minor improvements.
GitOrigin-RevId: 2f2099d91867ec302ff2d9426b6b088c8c625720
2018-11-01 20:08:20 +03:00
Arseny Smirnov
03604bb367 SessionProxy: bugfix
GitOrigin-RevId: b2cdc985d4465cdd19f85d024a5de9d8e882e8f0
2018-11-01 19:34:18 +03:00
Arseny Smirnov
27770ce060 Destroy mtproto keys on logout
GitOrigin-RevId: 8ac2bafd2d1897dc0942a33d8406ea8c2e5dfaa7
2017-12-29 23:34:39 +03:00
levlam
b886016254 Move Connections logging to INFO.
GitOrigin-RevId: a85aab69d18f4ef25d0853977a44d1a6cea695fd
2018-10-31 13:54:06 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
7d6f9c493b Add debug.
GitOrigin-RevId: aefa536bc203096a37709fa2ae5d478cfe65770e
2018-10-27 02:58:31 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
0c64b2cf9c Fix some spelling.
GitOrigin-RevId: 99848b019fce855bf50380ce6ffc2865a007161d
2018-10-07 23:40:58 +03:00
levlam
d452a35d75 Fix type of "enabled_proxy_id" option.
GitOrigin-RevId: 2243cf9007766e91f94dc81e9a965e0a322612a6
2018-09-30 02:24:56 +03:00
levlam
b3bae546ec Various fixes.
GitOrigin-RevId: 52699dbd5280b63c6bb32da44ea5bfa3157a7922
2018-09-27 16:37:15 +03:00
levlam
f948956bf7 Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
2018-09-27 04:19:03 +03:00
levlam
b7c2248c72 Add td_api::testSetLogTagVerbosityLevel method.
GitOrigin-RevId: 763fcf9156671857c71967741b9ce8c67f4a7ea0
2018-09-26 02:59:29 +03:00
levlam
f08c0180b4 Const-correct tl::unique_ptr.
GitOrigin-RevId: b72a92a7169973c2d95e410cfbfed668a412e7e7
2018-09-21 20:52:22 +03:00
levlam
7c447551fb Add enabled_proxy_id option.
GitOrigin-RevId: 3153f71d13740429a9153205e96329e49e82b91f
2018-09-17 21:15:11 +03:00
levlam
559b20840a tg_cli: support for proper closing.
GitOrigin-RevId: 904b5a87c64bdd2d097a8a81f7c39bd31063097b
2018-09-15 15:24:25 +03:00
levlam
86ef95e0a8 Fix CE and some includes.
GitOrigin-RevId: e181d67a6ed36c9cbd444cf2282902b6a90881be
2018-09-13 06:08:49 +03:00
levlam
fd96a6722d Add get_ipv4 test.
GitOrigin-RevId: fe8d79634d3d4e5114cc8b03b0a38d988923c2ba
2018-09-11 21:49:39 +03:00
levlam
9971b52b81 Make subscribe a static method of Scheduler.
GitOrigin-RevId: e80024cfa63a37fb9b64f514ac3407d4e97c7302
2018-09-11 01:20:41 +03:00
Arseny Smirnov
8a28e4b461 Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
2018-08-14 10:42:40 +03:00
levlam
3fc180e001 Make Emscripten addresses public.
GitOrigin-RevId: 3e380bb6336587b737db60a684ec64b456d813cb
2018-09-04 18:51:28 +03:00
Arseny Smirnov
cab28f2cc8 Emscripten: wss support
GitOrigin-RevId: 06ce89660769533f531726b74573a1a422be20d0
2018-09-03 19:53:52 +03:00
levlam
f9cbe247cd Add Wdeprecated flag.
GitOrigin-RevId: 8aa900d7103efd0207f7f0fcb09e3bd2b7387564
2018-08-28 01:08:51 +03:00
levlam
ac1472c938 Fix verbosity level.
GitOrigin-RevId: 855ca89e37e48193d9b899ab309c0c12f8321d1b
2018-08-17 19:12:09 +03:00
levlam
c19ab1adbc Minor HTTP-proxy fixes.
GitOrigin-RevId: 03d1ca116707c358cd1a414046222236ee2d09b4
2018-08-17 19:03:07 +03:00
levlam
25826e253d Move VERBOSITY_NAME(connections) out of utils/logging.h.
GitOrigin-RevId: ec768560b9c87ff64d3d8b9a0c821f75abf3321a
2018-08-17 17:02:28 +03:00