Commit Graph

185 Commits

Author SHA1 Message Date
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
levlam edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam 924286da8f Use manual checks instead of cmake_minimum_required to propagate policies. 2021-06-13 23:38:48 +03:00
levlam 9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam 969b52cc82 Minor improvements. 2021-04-09 02:35:50 +03:00
Arseny Smirnov a51b63afdd more checks for watch os version 2021-03-29 16:26:11 +03:00
levlam b84318fed4 Minor improvements. 2021-03-27 05:19:22 +03:00
levlam 66de95d93c Fix compilation errors and formatting. 2021-03-26 18:52:45 +03:00
Arseny Smirnov 5c7b7d4c85 TD_EXPERIMENTAL_WATCH_OS cmake option 2021-03-26 18:04:25 +03:00
levlam 48aecf8837 Improve quoted-string parsing in Content-Disposition header. 2021-03-21 02:58:29 +03:00
levlam 9d0f1eaaff HttpReader: gix Gzip high watermark. 2021-03-21 00:48:09 +03:00
levlam ab614651f3 Support 7 more HTTP response status codes. 2021-03-08 22:27:58 +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 5cbf90e4a0 Safer work with negative monotonic time. 2020-11-21 16:34:39 +03:00
levlam d5da47510d Minor fixes. 2020-11-20 01:32:58 +03:00
levlam 1fa87babb3 Fix TcpListener re-init. 2020-11-10 02:03:48 +03:00
levlam 41825d5790 Fix formatting. 2020-11-09 23:48:43 +03:00
Kunoi Sayami a49c8676d8
Add parameters specify tcp server bind ip address (#1287) 2020-11-09 23:46:07 +03:00
levlam b514800cd1 Fix tdnet dependencies order.
GitOrigin-RevId: cf5c5c4f28cd1a3445ab6cda293944655df1c0fa
2020-10-13 01:30:50 +03:00
levlam c83a46a821 Fix Emscripten build.
GitOrigin-RevId: e5a6570b125ca0f1c0cc13809fece5834ee1f00a
2020-10-08 01:21:28 +03:00
levlam 98adef1145 Move url_decode to tdutils.
GitOrigin-RevId: bd9ef4caa56996a96626b16998b423ab304b9ee6
2020-09-14 18:58:39 +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
levlam 9592aac404 Minor improvements.
GitOrigin-RevId: 09fbcc25ade8d77c13dc580f13b206c07ba53f9f
2020-08-13 16:57:28 +03:00
Arseny Smirnov 4d19016970 HttpConnection: safe migrate between schedulers
GitOrigin-RevId: 2bcc79fc100613a86a8048a2c35e4791903ccb11
2020-08-10 17:10:16 +03:00
levlam ab5d35371b Ensure that OpenSSL is linked against needed Windows libraries.
GitOrigin-RevId: d2928c94ebe6565e155f81db8ccc24c4c5d69a54
2020-07-28 01:34:35 +03:00
levlam 9ff056e77f Link to lowercase libraries when building using MinGW.
GitOrigin-RevId: 0c9c122ed16a4d9ebb0c5ea44301cd4dcd4f9d60
2020-07-26 16:49:09 +03:00
levlam b45f8ba3a0 Minor fixes.
GitOrigin-RevId: b7985efd4257bc9bb2b2672f94c5f5671e19dd0f
2020-07-26 14:24:30 +03:00
Arseny Smirnov 47d2e8276a SslStream: fix ByteFlow logic
GitOrigin-RevId: 37e5ecd1480e0bb3035ea5ce0f10261cedfd1612
2020-07-24 18:49:33 +03:00
levlam 421ec5fa8f Migrate to other thread when receiving a file in multipart/form-data.
GitOrigin-RevId: dbd6c1092f297c5b534508f070f49c311a756fe4
2020-07-24 15:32:33 +03:00
Arseny Smirnov 04667e86a7 HttpConnection: migrate connections to a dedicated scheduler
GitOrigin-RevId: 91ece928204ee732e81eaedd5e869810c5bea3b8
2020-07-23 19:47:12 +03:00
levlam a02f8d610d Speed up tests execution.
GitOrigin-RevId: 5bcac989d87a04ef8510c47232e3525c4e610073
2020-07-23 17:59:48 +03:00