Commit Graph

72 Commits

Author SHA1 Message Date
levlam
130b49a524 Various include and other fixes.
GitOrigin-RevId: 68e03e0636cd4cff3e6fa876342ba16453630f15
2019-02-12 19:48:52 +03:00
levlam
0b7def8733 Add dns_resolver log tag.
GitOrigin-RevId: 17fed9f8350bb49e18b875ed21290c7805875df6
2019-02-04 17:02:21 +03:00
levlam
ca92472b69 Support numeric hosts in GoogleDnsResolver.
GitOrigin-RevId: 6768a90ad7f98d83f507051564fb1646d3834aad
2019-02-04 06:32:10 +03:00
levlam
6ccaf358b7 Support IDN hosts in all resolvers.
GitOrigin-RevId: c5b2741dd2d4e8bb0361e6dddf3b6749e5195c6a
2019-02-04 05:39:20 +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
levlam
73a39a4699 GetHostByName: split cached values and active queries.
GitOrigin-RevId: c3d0ebd9202a22bf83ef03a044bda0b2d00d46b6
2019-02-04 03:19:31 +03:00
levlam
2dd4b91d51 Minor GetHostByName improvements.
GitOrigin-RevId: 9ceba9a941e3213a1748d22f38a126ace2d57e56
2019-02-04 03:12:40 +03:00
levlam
83037ee014 GetHostByName fixes and improvements.
GitOrigin-RevId: 531a53c4d559662be110d1ad6938ca3e52ccbc1e
2019-02-04 02:29:37 +03:00
levlam
311cd72feb enum class for ResolveType.
GitOrigin-RevId: 3cb46ab9c1c6913364748136722d2e8485cc6008
2019-01-24 20:21:00 +03:00
levlam
12ffc22483 Minor GetHostByName improvements.
GitOrigin-RevId: ff61c5aa543067e855a6f4a7f25c579a8c17aa87
2019-01-24 20:08:29 +03:00
Arseny Smirnov
bc838db8ec GetHostByNameActor: bufix and more tests
GitOrigin-RevId: fd2fb695724baf5531fcdc232c421684bd5cb139
2019-01-24 21:07:24 +04:00
Arseny Smirnov
c07b26e45c GetHostByNameActor: Options and test
GitOrigin-RevId: afebe6e940b2048d3ef6f6368ff824443d55a909
2019-01-24 17:07:11 +04:00
Arseny Smirnov
320d660f1c GetHostByNameActor support google dns
GitOrigin-RevId: 6ecc589426368cf2a821546b1dc104e4bf324335
2019-01-24 16:18:23 +04:00
Arseny Smirnov
dd190c7d79 DnsOverHttps class with a test
GitOrigin-RevId: 4f8785377ddbe47a59fe6e03628685902503e1f6
2019-01-24 13:47:54 +04:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
f81709acde Better handling of certificate adding errors.
GitOrigin-RevId: a2a498bd406ced8ea1ed34fca6b3d2fd8359d3af
2018-12-17 15:55:13 +03:00
levlam
ccf77c5e01 Better error messages while connecting to proxy.
GitOrigin-RevId: 25937285e2f3ee499f3335081f377ba584dcf068
2018-12-07 12:25:22 +03:00
levlam
7072b0319d Improve error message.
GitOrigin-RevId: 66bb30764ac37d2086731814daf8683794b76a13
2018-12-07 01:57:51 +03:00
levlam
b777051eaa Add logging of HttpProxy response.
GitOrigin-RevId: a7ad02206e0c6515d38a7f0b767735f25eb6c7c1
2018-12-06 20:29:10 +03:00
levlam
f435fe62a1 Fix HTTP spelling.
GitOrigin-RevId: f7d5626657406c1506434053efa68f28b4b6d674
2018-12-05 18:46:19 +03:00
levlam
5d5c55596e Minor improvements.
GitOrigin-RevId: 2f2099d91867ec302ff2d9426b6b088c8c625720
2018-11-01 20:08:20 +03:00
levlam
bc88b8e951 StringBuilder fixes.
GitOrigin-RevId: 1836df5f6931ca94e96e7281eeb1090163d8648f
2018-10-30 17:22:44 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
1f216df1d8 Fix C26451 warning.
GitOrigin-RevId: 7c7fa7df4078dec15dfdc3db2df30ab5be234b5b
2018-10-25 21:29:10 +03:00
levlam
73440a8dea Workaround clang ICE "ran out of registers during register allocation" (2).
GitOrigin-RevId: 9a0c5a0b65bb6c7765ab28c86116c482191934e5
2018-10-22 02:02:52 +03:00
levlam
803602c4d1 Make tdnet dependency on OpenSSL private.
GitOrigin-RevId: 76331149d0d1e77ed0c4a3505ffe3568d98c0c01
2018-10-15 11:23:51 +03:00
levlam
1d32712f6a HttpReader: allow empty filename.
GitOrigin-RevId: ad65a2e603d4628c6a4d29d26300a113303d0c27
2018-10-14 19:08: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
cc077a3971 Fix IPAddress::get_ipv4 usages.
GitOrigin-RevId: 6d87c9347aaa40957b1e524f889cf9fe8b179bb1
2018-09-11 19:40:53 +03:00
levlam
9971b52b81 Make subscribe a static method of Scheduler.
GitOrigin-RevId: e80024cfa63a37fb9b64f514ac3407d4e97c7302
2018-09-11 01:20:41 +03:00
levlam
fd90bf435e A lot of fixes.
GitOrigin-RevId: c7c16991da51e09a685537a444385852e8e93af4
2018-09-07 03:41:21 +03:00
Arseny Smirnov
8a28e4b461 Almost compiles
GitOrigin-RevId: aad536022caddba0446a761e7ab1f3b4ac64f53b
2018-08-14 10:42:40 +03:00
levlam
cb165adf7c Check for SSL_CTX_set_default_verify_paths return code.
GitOrigin-RevId: 9f282b9c8ea7290588d45e310e667c05742041e9
2018-08-29 16:07:34 +03:00
levlam
8079285e5c Remove logging of OpenSSL internal errors.
GitOrigin-RevId: 1081cfb0efda59ac8bb08746b0b29fb1c39f299d
2018-08-29 15:35:05 +03:00
levlam
6439cf8567 Fix cleaning temoorary file.
GitOrigin-RevId: 68fbf33125dc874bd24b67acae426dc6accedbe9
2018-08-29 01:57:09 +03:00
levlam
5379348651 Improve some logging.
GitOrigin-RevId: ec0a2f01c45b1ae7a74cd407f5c867e609e47d1f
2018-08-28 05:52:43 +03:00
levlam
754252f220 Fix and improve create_openssl_error.
GitOrigin-RevId: 039a5da5f3b2f4aafbf60ca541699f3e47fbb6b5
2018-08-28 02:06:56 +03:00
levlam
692bc1f26d Fix leakage of a too big temporary file in HttpReader.
GitOrigin-RevId: b9bc7646013206fb30490cfb24e939eadb15e9c3
2018-08-27 15:52:47 +03:00
levlam
d8f66f8a8e Minor fixes.
GitOrigin-RevId: 01b7c4015a8a4ee30c06b977363889d38a65bfd4
2018-08-26 11:08:45 +03:00
levlam
b31b8f2bd7 Remove Wget debug logging.
GitOrigin-RevId: 97ed296bbc28f27a8f89ab286087d1f9d6075dc5
2018-08-21 05:27:47 +03:00
levlam
c19ab1adbc Minor HTTP-proxy fixes.
GitOrigin-RevId: 03d1ca116707c358cd1a414046222236ee2d09b4
2018-08-17 19:03:07 +03:00
levlam
23c03a97f4 Various style fixes.
GitOrigin-RevId: 056c091cfd71322a0cc8db0e3bafec7d272da7ad
2018-08-16 01:06:53 +03:00
levlam
966eb11fe1 Load certificates from Windows store.
GitOrigin-RevId: 773a03d472643d168207ca99c7ef2e30562e328d
2018-08-15 23:05:06 +03:00
levlam
0718b313f3 Fix CE and SslStream source code formatting.
GitOrigin-RevId: 9354f72061f4ad2b122be1129d0b3210845f23f4
2018-08-15 16:29:46 +03:00
Arseny Smirnov
ab2b189722 Ssl refactoring
GitOrigin-RevId: f5916787608227b6914c10520dfe7a7039522ef9
2018-08-15 15:41:42 +03:00
levlam
f0070c093a Fix some includes.
GitOrigin-RevId: abe527ca92b2136ee6a95b046ef53bdde32be6d5
2018-07-27 16:19:46 +03:00
levlam
a547f42886 Add support for transparent HTTP proxies.
GitOrigin-RevId: 5ae836625a60d1f84b0ca8df2c41bf07e8ba59fd
2018-07-26 16:49:18 +03:00
levlam
2ca3c7eeed Add TransparentProxy abstract class.
GitOrigin-RevId: 77ced69b5d87c17a1bbc6d654bb0206a4e32e69d
2018-07-26 03:28:02 +03:00
levlam
e2a90b9edf Fix some string to Slice conversions.
GitOrigin-RevId: 79ddee1a90c633cc1b1df5c8e3d9917027bad0f3
2018-07-08 02:47:46 +03:00