curl/tests/server
Viktor Szakats 10bac43b87
tests/server: drop unsafe open() override in signal handler (Windows)
Turns out the signal handler on Windows still wasn't signal safe after
the previous round of fix. There is an `open()` call made from there,
and `open` happens to be unconditionally overridden via `curl_setup.h`
on Windows, to its local implementation (`curlx_win32_open()`), which
does memory allocations and potentially other things that are not signal
safe.

This is a temporary fix, till avoiding the override of system symbols
`open` and `stat` on Windows.

FTR this did not fix the CI 2304 errors, diskspace fail or job hangs due
to 0xC0000142 fork failure (it's rare all three occurs in the same run):
https://github.com/curl/curl/actions/runs/18110523584?pr=18774

Ref: #18634
Follow-up e95f509c66 #16852
Closes #18774
2025-09-30 01:10:35 +02:00
..
.checksrc build: avoid overriding system symbols for socket functions 2025-09-20 13:44:59 +02: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 hostip: cache negative name resolves 2025-08-05 08:05:31 +02:00
first.c tests: make individual test sources compile cleanly 2025-06-22 15:58:15 +02:00
first.h build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
getpart.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
Makefile.am build: tidy up compiler definition for tests 2025-07-28 12:43:01 +02:00
Makefile.inc build: split .c and .h file lists in tests 2025-06-26 10:20:41 +02:00
memptr.c windows: drop redundant curl_wcsdup_callback callback 2025-07-08 13:33:38 +02:00
mqttd.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
resolve.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
rtspd.c build: disable TCP_NODELAY for emscripten 2025-08-05 00:34:24 +02:00
sockfilt.c tidy-up: update MS links, allow long URLs via checksrc 2025-09-20 11:49:23 +02:00
socksd.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
sws.c sws: fix checking sscanf() return value 2025-09-16 13:34:51 +02:00
tftpd.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
util.c tests/server: drop unsafe open() override in signal handler (Windows) 2025-09-30 01:10:35 +02:00