iliavy
|
98a24f41aa
|
Add proxy methods to maximize socket buffers
|
2024-04-23 20:47:51 +03:00 |
|
levlam
|
d963044eb9
|
Update copyright year.
|
2024-01-01 03:07:21 +03:00 |
|
AYMEN Mohammed
|
50c3bf2e4f
|
Fix typos. (#2641)
|
2023-10-18 19:12:31 +03:00 |
|
levlam
|
b5fe088574
|
Avoid the use of low-numbered file descriptors for sockets.
|
2023-03-21 13:54:43 +03:00 |
|
levlam
|
7e4f349da8
|
Move EFAULT to the list of expected errors for ::read.
|
2023-03-09 00:05:44 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
Arseny Smirnov
|
f4c97b25ec
|
add Mutex wrapper around std::mutex and use it instead of SpinLock
|
2022-07-14 16:27:06 +04:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
957670aa0d
|
Immediately close non-connected sockets.
|
2021-12-16 23:38:44 +03:00 |
|
levlam
|
1a9c6fa51c
|
Add more logging.
|
2021-12-10 13:27:24 +03:00 |
|
levlam
|
106797f7f0
|
Improve private field names.
|
2021-12-10 13:07:55 +03:00 |
|
levlam
|
01976bed53
|
Minor warning fixes.
|
2021-10-18 15:37:21 +03:00 |
|
levlam
|
81b38d5607
|
Mark move constructors/assignment operators noexcept.
|
2021-10-18 14:36:15 +03:00 |
|
levlam
|
61c3a2bcf5
|
Remove TD_EXPERIMENTAL_WATCH_OS.
|
2021-09-24 13:41:22 +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
|
e18ff8a810
|
Close socket on Windows only after pending write is confirmed.
|
2021-06-14 19:06:23 +03:00 |
|
levlam
|
a6a4eb6616
|
Don't include SliceBuilder.h in logging.h.
|
2021-05-17 15:21:11 +03:00 |
|
levlam
|
564b44d3b9
|
Fix ifdef check.
|
2021-04-08 22:17:55 +03:00 |
|
levlam
|
6e099908cf
|
Don't use sendmsg on Android.
|
2021-04-08 14:55:54 +03:00 |
|
levlam
|
2ab94b9ca7
|
Add checks that SocketFd::read/write/writev return correct response.
|
2021-04-04 01:08:53 +03:00 |
|
levlam
|
6285d98479
|
Fix writev on Windows.
|
2021-04-04 00:40:37 +03:00 |
|
Arseny Smirnov
|
a51b63afdd
|
more checks for watch os version
|
2021-03-29 16:26:11 +03:00 |
|
Arseny Smirnov
|
5c7b7d4c85
|
TD_EXPERIMENTAL_WATCH_OS cmake option
|
2021-03-26 18:04:25 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
c1de6a7d8d
|
Minor improvements.
GitOrigin-RevId: eb8b201d80405feb6972b2eabc7de30d40aa8b81
|
2020-11-02 00:43:57 +03:00 |
|
levlam
|
fc5bf9ef06
|
Suppress SIGPIPE signals on write.
GitOrigin-RevId: 19ff2a079a4dc69535e34282bfb2c2f381856def
|
2020-10-18 18:12:32 +03:00 |
|
Arseny Smirnov
|
38ef3a75cc
|
PollableFd: explicit sync_with_poll
GitOrigin-RevId: 71fa35a594816e84e372ebcfa9d0077a13f26a62
|
2020-07-21 18:29:39 +03:00 |
|
levlam
|
afcf7197ae
|
Unify constant name style.
GitOrigin-RevId: 660f8aa17fa856c828e6c11ade6c497a82cb7612
|
2020-06-22 02:40:05 +03:00 |
|
levlam
|
715146c65c
|
Move skip_eintr to a separate header.
GitOrigin-RevId: 80eeb583cd1a4351c5b72c7ec4021575dbc216a7
|
2020-06-15 03:50:38 +03:00 |
|
levlam
|
b1419f9de5
|
Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
|
2020-06-07 18:14:52 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
98b8929932
|
Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
|
2019-07-23 01:50:12 +03:00 |
|
Arseny Smirnov
|
02c31f486f
|
tdutils: update from other project
GitOrigin-RevId: 73c666dbdd72811b151a48504716ed4aee6af1a0
|
2019-07-06 13:29:15 +02:00 |
|
levlam
|
0a1fb007d9
|
TlsInit fixes.
GitOrigin-RevId: 798d053d68b6e0955b6e0e0c7c8d36592f76c987
|
2019-07-01 16:18:28 +03:00 |
|
levlam
|
62fb384ec6
|
Fix return type of WSAGetOverlappedResult.
GitOrigin-RevId: d6e8575d2b8c15ce1f285de2eae573e7bf6f46fa
|
2019-04-26 05:15:26 +03: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
|
9f0f6dc56e
|
Fix IPAddress::get_any_addr.
GitOrigin-RevId: cd2c6ca22d6ecc1cbb834b15e9aa191302885e52
|
2018-12-17 22:09:01 +03:00 |
|
levlam
|
064619044b
|
Fix IOCP error statuses.
GitOrigin-RevId: 8f5c5481c7d70b7d7795503bc69deff32fb5935c
|
2018-12-17 19:12:47 +03:00 |
|
levlam
|
09c4422c50
|
Better error messages.
GitOrigin-RevId: 70b1cea8a4ba9fa42074b5bc7bd7d339ae1c1779
|
2018-10-07 02:47:50 +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 |
|
Arseny Smirnov
|
8108dda1d9
|
SocketFd::get_pending_error bugfix
GitOrigin-RevId: e0596cec033a162fbca15a14f078c6a9cdbd8ff5
|
2018-09-24 18:26:29 +03:00 |
|
levlam
|
eff963a7c1
|
Better logging of NativeFd.
GitOrigin-RevId: 4d094f01a74c46acb5d4a0c8da4e67614bec1b6e
|
2018-09-11 19:44:37 +03:00 |
|
levlam
|
a80bd978e8
|
Fix closing of SocketFd by other side.
GitOrigin-RevId: adc39e4f4cd1d8938cf73e4ff5a4c532bcd3d9e9
|
2018-09-11 19:31:15 +03:00 |
|
levlam
|
4df6f95818
|
Move Iocp to separate files.
GitOrigin-RevId: 8b60ea4ab775d264b70987316aac8141719d3a6b
|
2018-09-11 17:43:43 +03:00 |
|
levlam
|
10118d0449
|
Simplify NativeFd.
GitOrigin-RevId: 07a33f1ad18b426ef339da76467c667607c1a3b9
|
2018-09-11 16:27:20 +03:00 |
|
levlam
|
db228c09c4
|
Remove some usages of io_handle.
GitOrigin-RevId: 5e09106583dd25590606fb68ae00a3f99dfe6a6b
|
2018-09-11 15:49:59 +03:00 |
|
levlam
|
f4c85df878
|
Use WSARecv/WSASend instead of ReadFile/WriteFile. Fix check_status.
GitOrigin-RevId: bbfdf27d508f5c985b14bc13bd8549201ae1cb15
|
2018-09-10 20:49:54 +03:00 |
|
levlam
|
0f4343d542
|
Add real NativeFd::set_is_blocking.
GitOrigin-RevId: a44de74e99cbe6161589e0d039f8fcb8b6e339c1
|
2018-09-10 17:05:12 +03:00 |
|