Commit Graph

56 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
44c58ee242 Move logging of OS freezes to WARNING. 2023-07-22 14:06:57 +03:00
levlam
218baffeca Fix OpenSSL version check. 2023-02-04 11:00:04 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
b1ddf9d3a7 Minor fixes. 2022-11-23 16:32:09 +03:00
levlam
e8b8f3eb88 Create SslStream from SslCtx. 2022-11-11 14:51:22 +03:00
levlam
28d1dd02e9 Make SslCtx public. 2022-11-11 14:23:43 +03:00
levlam
7a50d0764e Minor improvements. 2022-09-22 23:28:54 +03:00
levlam
8e196d2570 Increase limits for slow operations logging. 2022-09-23 22:29:18 +03:00
levlam
bed08625f0 Improve error logging. 2022-09-20 17:11:15 +03:00
levlam
111018eadd Add logging for some slow operations. 2022-09-15 15:03:19 +03:00
levlam
ac4e76edf1 Fix SslStream support of OpenSSL 3.0. 2022-07-13 12:01:41 +03:00
levlam
22ed61e1b7 More FlatHashMap usages. 2022-02-09 17:05:27 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +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
81b38d5607 Mark move constructors/assignment operators noexcept. 2021-10-18 14:36:15 +03:00
levlam
f35afe23c8 Minor warning fixes. 2021-10-18 12:57:13 +03:00
levlam
43d9ba81ac Prefer std::unordered_map to std::map. 2021-08-21 21:42:07 +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
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
3681da21d8 Automatically close unclosed contours. 2020-12-16 16:04:27 +03:00
levlam
c83a46a821 Fix Emscripten build.
GitOrigin-RevId: e5a6570b125ca0f1c0cc13809fece5834ee1f00a
2020-10-08 01:21:28 +03:00
levlam
a74d02f412 Add option for checking IP address in the certificate as host.
GitOrigin-RevId: dba5b87a59f3d3d3241051ee0257a5786fdf4fb0
2020-09-14 03:58:57 +03:00
levlam
07237a18be Fix Logger const-correctness.
GitOrigin-RevId: 437ed337638a9841f7695fd77b89191f1b36c584
2020-09-02 17:10:10 +03:00
Arseny Smirnov
9ea1bc824f ByteFlow: backpressure draft
GitOrigin-RevId: 09adce82dd88fcf84f41e525e45b07da03acc0f6
2020-07-22 21:52:00 +03:00
levlam
87871f58c9 Fix CE.
GitOrigin-RevId: 9186caef923dc157fcac2af9da8d8430b5d6290f
2020-07-14 03:42:50 +03:00
levlam
684727a05f Fix SslStream.
GitOrigin-RevId: 57413c47294757111356303a45e07da044660b95
2020-07-05 02:57:36 +03:00
Arseny Smirnov
4ed1713553 SslStream: reuse SslCtx in a simple case
GitOrigin-RevId: 4ac372b23d57a305d69f2d7ec3032b239b43ca7c
2020-07-02 18:01:23 +03:00
levlam
b1419f9de5 Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
2020-06-07 18:14:52 +03:00
levlam
ed615430e1 Move OpenSSL error hancling functions to tdutils.
GitOrigin-RevId: 6d45b5ee1077eca430802fb6258104b0371688fa
2020-06-06 21:31:47 +03:00
levlam
088a96ff15 Add some checks.
GitOrigin-RevId: 6c24e7d3d48ed823a45d6b106855f3a0f55a0db5
2020-05-19 15:11:21 +03:00
levlam
9fe0d4bbd9 Do not remove brackets from HttpUrl IPv6 host.
GitOrigin-RevId: 59db5b747e66bd83cbfa81d4276af2aa1bb8b7ca
2020-05-16 22:53:19 +03:00
levlam
603c6e8a56 Improve SSL logging.
GitOrigin-RevId: 8b0f8f74581f64ba5cd51e4956768a451f910c84
2020-05-16 20:26:21 +03:00
levlam
8d9a72b8d5 Use SSL_CTX_set_min_proto_version for OpenSSL >= 1.1.0.
GitOrigin-RevId: b346e0b2dd5358d1154d537d02ddcba368b5e792
2020-05-16 20:08:44 +03:00
levlam
842e2033b7 Fix IP address verification in TLS certificate.
GitOrigin-RevId: 5275f8be34e9459a13a87e6fbd056754ceb515d4
2020-05-16 18:43:49 +03:00
levlam
7bdff46710 Do not send IP address in SNI.
GitOrigin-RevId: ff01b1f5f9219e34b0cacdf8acd49bf4e5a3daa2
2020-05-16 17:50:58 +03:00
levlam
92df8f9827 Remove unneeded brackets.
GitOrigin-RevId: 0b8a2ae21d28e6c276db8b45ffb4d127800f5d73
2020-02-26 18:15:19 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +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
20503e04d2 Various fixes.
GitOrigin-RevId: da4869e5054952663ad5993f5770f2984a473818
2019-07-22 07:01:51 +03:00
Arseny Smirnov
d22a6751db tdweb: do not link with libssl, only with libcrypto
GitOrigin-RevId: fb7cd454c3b368381fd65150979e6233a452eb8c
2019-06-28 13:03:06 +02:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03: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
7072b0319d Improve error message.
GitOrigin-RevId: 66bb30764ac37d2086731814daf8683794b76a13
2018-12-07 01:57:51 +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
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