Skip to content

Added support for running pyHttpd on Windows#665

Open
PaulLodge wants to merge 2 commits into
apache:trunkfrom
PaulLodge:windows-update
Open

Added support for running pyHttpd on Windows#665
PaulLodge wants to merge 2 commits into
apache:trunkfrom
PaulLodge:windows-update

Conversation

@PaulLodge
Copy link
Copy Markdown

@PaulLodge PaulLodge commented Jun 4, 2026

This is an update that enables running pyHttpd on windows.

the build-win.bat, first installs all the needed dependencies, this is done using vcpkg and the script used is very similar in approach to the GHA, it then builds, compiles and installs httpd in an arbitrary directory, at the beginning of the install phase the config.ini is created, it's only at this time cmake knows for sure where the install directory is and therefore httpd.

Prerequisites:
curl: this is needed in some of the tests, currently the curl included in windows isn't the same as it's Linux counterpart and as such needs to be pre-installed (from curl.se). once the install is complete the config_win.ini.in (curl_bin) will need updating with the full path, before running the above mentioned build-win.bat script.

Caveat:
h2load: currently this requires cygwin or similar to be installed, and all tests that run it are skipped (from the command line when pytest is run).

Tested on Linux to ensure that the changes didn't break anything 🤞🏻

@PaulLodge PaulLodge changed the title Added support for running pyHttpd for Windows Added support for running pyHttpd onWindows Jun 4, 2026
@PaulLodge PaulLodge changed the title Added support for running pyHttpd onWindows Added support for running pyHttpd on Windows Jun 4, 2026
@PaulLodge PaulLodge marked this pull request as ready for review June 5, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant