Commit Graph

230 Commits

Author SHA1 Message Date
levlam
97ded01095 Fix auth-scheme name for proxy authentication. 2024-07-23 16:14:19 +03:00
levlam
2c81189790 Improve HttpProxy logging. 2024-07-23 15:54:56 +03:00
levlam
0761329c61 Remove explicit limit on HTTP chunk size. 2024-02-29 19:38:57 +03:00
levlam
e82007e708 Remove unused field. 2024-02-29 19:28:15 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
ae9c80f6c7 Store content_length_ as int64. 2023-11-25 02:45:04 +03:00
levlam
511483e12c Fail HTTP request reading if unexpected end of data reached. 2023-11-25 02:34:37 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
28961b7d0e Add more common.h includes. 2023-08-05 16:09:36 +03:00
levlam
3303c659bf Use JsonOnject::extract_ if possible. 2023-07-31 18:27:10 +03:00
levlam
58f15df705 Use JsonObject::get_.*_field if possible. 2023-07-31 17:17:52 +03:00
levlam
44c58ee242 Move logging of OS freezes to WARNING. 2023-07-22 14:06:57 +03:00
Vincent Neo
ddd7c3ea36
waitsForConnectivity, configurations for URLSession (#2501) 2023-07-21 13:25:32 +03:00
levlam
c0911577f7 Use empty name for unused move constructor/assignment parameter. 2023-05-05 13:51:19 +03:00
levlam
cbe62e306d Improve log message. 2023-04-16 21:09:51 +03:00
levlam
cf9866cfe4 Add HttpReader::parse_http_version. 2023-03-21 11:36:44 +03:00
levlam
694378f9ab Support percent-encoding for Content-Disposition parameter values as per RFC7578. 2023-02-06 22:44:01 +03:00
levlam
218baffeca Fix OpenSSL version check. 2023-02-04 11:00:04 +03:00
levlam
0adcac246a Use explicit as_mutable_slice to get MutableSlice. 2023-02-02 17:40:47 +03:00
levlam
1588f0d687 Return after call to on_error. 2023-01-18 17:10:08 +03:00
levlam
bc7734a267 Improve loading of system certificate store. 2023-01-04 17:55:31 +03:00
levlam
7effec1abf Process symlinks in system certificate store. 2023-01-04 17:27:29 +03:00
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