curl-curl/tests/server
Viktor Szakats bc55b435af
tests/server: round of tidy-ups (part 2)
General tidy-ups, to identify and reduce duplications and potential
issues, while also making the server modules compile as a single binary.

- ensure unique symbols and no shadowing across server sources, by
  renaming variables.
- move globals common to multiple servers into shared `util` module.
- drop constants with a single use.
- undef macro before re-using them across server sources.
- move common functions into shared `util` module.
- drop redundant static declarations.
- disable IPv6 code when built without IPv6.
- start syncing the 3 almost identical copies of `sockdaemon` function.
- drop unused `timeval.h` header.
- drop `poll()` from `wait_ms()`, for macOS, following an earlier core
  update.
  Follow-up to c72cefea0f #15096

Follow-up to 9213e4e497 #16525
Cherry-picked from #15000
Closes #16609
2025-03-07 13:48:07 +01:00
..
.checksrc checksrc: use 'banfunc' proper in more places 2025-01-13 09:10:58 +01:00
.gitignore build: drop unused getpart tool 2025-02-25 01:52:13 +01:00
base64.pl copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CMakeLists.txt addrinfo: add curl macro to avoid redefining foreign symbols 2025-02-13 12:46:39 +01:00
disabled.c asyn-thread: use c-ares to resolve HTTPS RR 2025-01-25 23:46:14 +01:00
getpart.c build: set -O3 and tune WinCE in CI, fix getpart, vtls_scache fallouts 2025-02-26 21:23:11 +01:00
getpart.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
Makefile.am tests: fix enum/int confusion (Intel C), fix autotools CFLAGS for servers 2025-02-13 12:46:40 +01:00
Makefile.inc build: tidy-ups around inet_pton 2025-03-05 03:10:45 +01:00
mqttd.c tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00
resolve.c tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00
rtspd.c tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00
server_setup.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
server_sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
sockfilt.c tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00
socksd.c tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00
sws.c tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00
tftp.h tests: tidy up types in server code 2024-05-13 11:16:26 +02:00
tftpd.c tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00
util.c tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00
util.h tests/server: round of tidy-ups (part 2) 2025-03-07 13:48:07 +01:00