dep-curl/.github/workflows
Viktor Szakats 3b0cb22eb6
servers: add option to build without window handler (Windows)
curl already built like this in UWP mode; add a macro to allow building
regular Win32 targets too, meaning without the hidden GUI window, window
handler, and thus without support for shutting down `servers.exe`
gracefully. To test the server in CI as a plain console app and remove
one component/variable from the system, in an effort chasing flaky runs.

The graceful option was used by `taskkill` (without `-f`) in runtests,
and it has been disabled (in favor of always `-f` (forced) kill), in an
attempt to avoid taskkill hanging. Those resolved, but general CI
flakiness remained. We see `taskkill` invoked seldom per job, and in
most of these cases it doesn't find the PID requested. It means the
graceful option is not actually used since 2025-04, and rather rarely
before that. Also just today, the callback and main loop received a few
updates to avoid potentially unsafe calls and interaction with the ctrl
handler.

Not expecting anything breakthrough here. Also graceful shutdown
is a useful feature to cleanup properly and to be in sync with other
platforms.

Also: GHA/windows: enable in Windows CI jobs.

Ref: https://learn.microsoft.com/windows/console/registering-a-control-handler-function#listen-with-hidden-window-example

Follow-up to 7db9947fcf #22045
Follow-up to 9ea48811fe #22487
Follow-up to b11e0026f7 #22495
Follow-up to 208b87744e #21039
Follow-up to f450f3801b #19897
Follow-up to 2701ac6a4d #19421
Follow-up to 4e203f65a1 #17054

Closes #22496
2026-08-11 11:15:04 +02:00
..
appveyor-status.yml GHA/appveyor-status: disable gh tool telemetry 2026-04-23 10:26:10 +02:00
checkdocs.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
checksrc.yml CI: filter all .[ch] files before doing typo checks 2026-08-09 17:36:49 +02:00
checkurls.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
codeql.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
configure-vs-cmake.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
curl-for-win.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
distcheck.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
fuzz.yml CI: set DO_NOT_TRACK=1 2026-04-23 11:22:35 +02:00
http3-linux.yml GHA: Update awslabs/aws-lc to v5.5.0 2026-08-10 08:29:48 +02:00
label.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
linux-old.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
linux.yml GHA/linux: replace raw C option with CMAKE_BUILD_TYPE=Debug in tsan job 2026-08-10 19:42:22 +02:00
macos.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
non-native.yml GHA: bump GitHub Actions and pips 2026-08-02 00:02:10 +02:00
windows.yml servers: add option to build without window handler (Windows) 2026-08-11 11:15:04 +02:00