dep-curl/tests/server
Viktor Szakats bb406386d9
curlx_inet_ntop: return CURLcode, drop setting errno
To simplify and to remove an exception where `errno` was reused to
return a socket error codes on Windows.

The error was used by one call site (`sockaddr2string()` in
`cf-socket.c`), but it was in practice always propagated as
`SOCKEAFNOSUPPORT` to callers.

Also:
- cf-socket: update 3 error messages to show `CURLcode` accordingly.
- if2ip: handle `curlx_inet_ntop()` error in `Curl_if2ip()`.
- dnsd: display `CURLcode` on two errors.

Follow-up to 39dec13ec0 #22170

Closes #22229
2026-08-17 18:41:31 +02:00
..
.checksrc build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
.gitignore tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
CMakeLists.txt cmake: rename testbins target to tt, restore internal option 2026-03-01 00:24:47 +01:00
dnsd.c curlx_inet_ntop: return CURLcode, drop setting errno 2026-08-17 18:41:31 +02:00
first.c tidy-up: C and CI 2026-08-12 15:42:54 +02:00
first.h dnsd: add support for DoH 2026-08-07 09:20:12 +02:00
getpart.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
Makefile.am autotools: limit checksrc target to ignore non-repo test sources 2026-03-12 01:45:24 +01:00
Makefile.inc tests/server: drop unused curlx/version_win32.c 2026-03-08 18:17:11 +01:00
mqttd.c servers: de-duplicate shutdown signal/logging code 2026-08-06 11:16:09 +02:00
resolve.c servers: sync socket type global variables 2026-08-06 08:44:30 +02:00
rtspd.c servers: de-duplicate shutdown signal/logging code 2026-08-06 11:16:09 +02:00
sockfilt.c servers: de-duplicate shutdown signal/logging code 2026-08-06 11:16:09 +02:00
socksd.c servers: de-duplicate shutdown signal/logging code 2026-08-06 11:16:09 +02:00
sws.c dnsd: add support for DoH 2026-08-07 09:20:12 +02:00
tftpd.c tests/server/tftpd: replace duplicate code with open_udp_sock() call 2026-08-07 21:50:45 +02:00
util.c tidy-up: C and CI 2026-08-12 15:42:54 +02:00