curl-curl/tests/server
Viktor Szakats f97e62ff14
sws: fix binding to unix socket on Windows
Windows 10.17063+ (having unix socket support) fails to set for unix
sockets the `SO_REUSEADDR` option, with error 10045 (`WSAEOPNOTSUPP`),
and also fails to set `SO_KEEPALIVE` with error 10042 (`WSAENOPROTOOPT`).

Fix by not enabling these socket options on Windows for unix sockets.

Also:
- fixing test 1435, 1436 to run in CI.
- fixing the `socksd` test server for test 1467, 1468, 1470. But, also
  disable these for now due to another Windows issue: #19825

Ref: https://stackoverflow.com/questions/68791319/unix-domain-socket-bind-failed-in-windows/68794755#68794755
Ref: #19810
Closes #19812
2025-12-04 22:49:03 +01:00
..
.checksrc build: stop overriding standard memory allocation functions 2025-11-28 10:44:26 +01:00
.gitignore tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
CMakeLists.txt build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
dnsd.c tidy-up: one more round of formatting nits 2025-12-04 19:30:59 +01:00
first.c tests: make individual test sources compile cleanly 2025-06-22 15:58:15 +02:00
first.h windows: use _strdup() instead of strdup() where missing 2025-12-01 21:32:09 +01:00
getpart.c tidy-up: one more round of formatting nits 2025-12-04 19:30:59 +01:00
Makefile.am build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
Makefile.inc tests/server: drop pointless memory allocation overrides 2025-10-08 12:53:49 +02:00
mqttd.c tidy-up: one more round of formatting nits 2025-12-04 19:30:59 +01:00
resolve.c tests: fix formatting nits 2025-11-28 23:15:35 +01:00
rtspd.c tidy-up: one more round of formatting nits 2025-12-04 19:30:59 +01:00
sockfilt.c tidy-up: one more round of formatting nits 2025-12-04 19:30:59 +01:00
socksd.c tidy-up: one more round of formatting nits 2025-12-04 19:30:59 +01:00
sws.c sws: fix binding to unix socket on Windows 2025-12-04 22:49:03 +01:00
tftpd.c tidy-up: one more round of formatting nits 2025-12-04 19:30:59 +01:00
util.c sws: fix binding to unix socket on Windows 2025-12-04 22:49:03 +01:00