Commit Graph

218 Commits

Author SHA1 Message Date
levlam
3573990d52 Support symbolic links in walk_path. 2023-01-04 17:25:30 +03:00
levlam
0d35ce485f Skip subdirectories in system certificate store. 2023-01-04 14:28:54 +03:00
levlam
c4c104384c Load certificate from default_cert_file. 2023-01-04 13:43:15 +03:00
levlam
cde0cc4afd Improve system certificate store loading. 2023-01-04 10:42:12 +03:00
levlam
e6084e6e68 Preload all root certificates instead of using SSL_CTX_set_default_verify_paths, which would lazily load the same certificates over and over. 2023-01-04 09:09:06 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
c2f540edf3 HttpReader: open temp file only in FormDataParseState::ReadFile state. 2022-12-07 13:43:27 +03:00
levlam
a26274a62b Ignore "none" Content-Encoding. 2022-11-29 13:15:33 +03:00
levlam
b1ddf9d3a7 Minor fixes. 2022-11-23 16:32:09 +03:00
levlam
b7e4d567c7 HttpReader: fix keep-alive flag. 2022-11-22 15:46:53 +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
6319862890 Improve some emplace_back/push_back usage. 2022-10-27 12:53:53 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
683627a350 Make all operator bool const and nonexcept. 2022-10-09 19:30:18 +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
515a9cfb48 Minor improvements. 2022-08-18 23:31:14 +03:00
levlam
103c6ad1e8 Increase MAX_CONTENT_SIZE in HttpReader. 2022-08-14 13:30:25 +03:00
levlam
ac4e76edf1 Fix SslStream support of OpenSSL 3.0. 2022-07-13 12:01:41 +03:00
levlam
5372a8b376 Fix DarwinHttp. 2022-06-30 16:02:07 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
0909f88bc3 Use int53 for file size in TDLib API. 2022-05-11 17:17:20 +03:00
levlam
0baf4cb070 Improve log message. 2022-04-20 18:56:23 +03:00
levlam
9233d32b8e Fix misprint. 2022-03-17 23:33:02 +03:00
levlam
15f27455c5 Move other big classes inside FlatHashMap to unique_ptr. 2022-02-11 19:27:32 +03:00
levlam
a24d31b58e Support JSON response in GoogleDnsResolver. 2022-02-10 23:32:33 +03:00
levlam
22ed61e1b7 More FlatHashMap usages. 2022-02-09 17:05:27 +03:00
levlam
9e96126b87 Log to WARNING HTTP internal server errors. 2022-02-02 01:13:11 +03:00
KnorpelSenf
789b9c0a55 Fix much typos 2022-01-25 16:07:36 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
40e0e3e457 Fix HttpReader destructor. 2021-12-06 21:59:24 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
712197ad6d Mark some constructors as noexcept. 2021-11-10 21:55:50 +03:00
levlam
b0eca77c9a Improve logging. 2021-11-08 17:11:35 +03:00
levlam
ca7947cf44 Minor improvements. 2021-11-04 12:46:08 +03:00
levlam
377bd18909 Pass BufferedFd to HttpConnection. 2021-10-27 20:29:01 +03:00
levlam
0c1469f7c6 Fix TransparentProxy::Callback. 2021-10-22 19:59:15 +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
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +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
61c3a2bcf5 Remove TD_EXPERIMENTAL_WATCH_OS. 2021-09-24 13:41:22 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
41ca7fdedb Restore idle connection timeout after migration to another thread. 2021-09-06 21:22:39 +03:00
levlam
1caf0e6296 Fix multipart/form-data reading. 2021-09-06 20:13:32 +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