李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +08:00
李通洲
e0eba8ce21
Chore: run clang-format
...
```bash
find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i
```
2026-03-29 10:03:32 +08:00
李通洲
1be90084ab
Networking: fixes some issues and memory leaks
2026-01-06 16:44:36 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
李通洲
99415a3841
Networking: move files to a sub folder
2025-03-15 23:47:02 +08:00
李通洲
244625d26a
Networking (Windows): apply the same optimizations of *nix's
2025-03-15 23:35:58 +08:00
Carter Li
72afa9ef99
Networking (Linux): improve performance by TFO and response compression
2025-03-15 22:35:11 +08:00
李通洲
acc77ebddd
PublicIP: add option --publicip-ipv6
2024-05-09 15:54:49 +08:00
李通洲
75927a87b2
Networking: add timeout support for TCP connecting
2024-03-20 15:04:29 +08:00
李通洲
85da30ccf5
Networking: report detailed error messages; support --thread false for debugging
2024-03-20 13:54:27 +08:00
李通洲
f9597eba39
Global: remove #ifndef FF_INCLUDED_* guards
2023-11-09 13:46:45 +08:00
李通洲
9da7bb3f30
Networking: support nowait connection (Posix)
...
Thread was used for now.
It's possible to do nonblocking connect & send with io_uring on Linux, but it requires newer kernel and linking to liburing. I don't think it is worth the effort.
2022-11-03 20:25:09 +08:00
李通洲
4f97692245
Networking: support nowait connection (Windows)
2022-11-03 20:25:09 +08:00
李通洲
1b7a2c2ed5
MSYS2: remove support
...
MSYS2 version was built for smooth transition from POSIX api to Win32 api. It has almost identical output as Windows native version, except requiring msys runtime dll and being a bit slower.
2022-10-14 18:33:11 +08:00
李通洲
b64a234f8a
Networking: support Windows
2022-10-12 21:59:21 +08:00
李通洲
9418138892
Networking: ensure server returns 200 OK
2022-09-30 17:43:23 +08:00
李通洲
9cf95620a9
Weather: add new module
2022-09-29 18:33:37 +08:00
李通洲
e289db184c
PublicIp: improve performance
2022-09-29 18:33:37 +08:00
Linus Dierheimer
6e0d76a2fb
Refactor: move networking functions to own header
2022-07-25 14:48:59 +02:00