curl/tests/server
Viktor Szakats 7d09426187
servers: accept unlink() failing due to the file missing
In `bind_unix_socket()`, before retrying `bind()`.

This patch uses `ENOENT`. This was last time in source between
d25b050379 (2018) and
dffd996e3b (2023), and also earlier. Also
defined by supported Windows envs. Seems safe to use.

Reported-by CodeQL
Follow-up to 99fb36797a
Cherry-picked from #22010

Closes #22028
2026-06-15 15:52:28 +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 servers: minor socket error handling fixes 2026-06-14 16:16:25 +02:00
first.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
first.h build: include curlx headers directly in src and tests 2026-03-16 12:05:39 +01: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: drop single-use interim result variables 2026-06-14 17:49:33 +02:00
resolve.c build: use more const 2026-02-02 12:32:49 +01:00
rtspd.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
sockfilt.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
socksd.c servers: drop single-use interim result variables 2026-06-14 17:49:33 +02:00
sws.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
tftpd.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
util.c servers: accept unlink() failing due to the file missing 2026-06-15 15:52:28 +02:00