feat(net): serve the registry over Void::Net when available
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 13s

This commit is contained in:
faumaray committed 2026-12-04 01:46:05 +03:00
1 parent b69a7d1516
commit 5de0146e83
6 files changed
+129 -10

No files matched your search

+19
View File
@@ -882,6 +882,25 @@ dev cpp-gcc -p openssl -p boost -c ctest --test-dir build/net --output-on-failur
- Default build (no Net): rebuild exit 0 and registry suite **7 / 7 passed** (12.60 s); the
pure-POSIX/curl transport remains the fallback.
## Track E4 `Void::Net` Registry HTTP Server (GCC 16.2, pin `0002e74`)
With `-p openssl -p boost`, `Registry::HttpServer` serves through `Void::Net::HttpServer` (catch-all route per method bridging to the registry handler); the POSIX server remains the fallback.
```sh
dev cpp-gcc -p openssl -p boost -c cmake --build build/net --parallel 8
dev cpp-gcc -p openssl -p boost -c build/net/bin/vbs_registry_tests --no-color
dev cpp-gcc -p openssl -p boost -c ctest --test-dir build/net --output-on-failure
dev cpp-gcc -c cmake --build build/pinned --parallel 8
dev cpp-gcc -c build/pinned/bin/vbs_registry_tests --no-color
```
- Net server: registry suite **7 / 7 passed** (10.11 s; after the formatting pass 7/7 in 18.67 s) and
full CTest **8 / 8 passed** in 199.60 s.
- Default POSIX server: registry suite **7 / 7 passed** (13.14 s; after formatting 7/7 in 14.62 s).
- One correctness fix during adoption: the default security headers (`X-Frame-Options`,
`Content-Security-Policy`, ...) were previously added only by the POSIX loop, so they were
extracted into a helper applied by both transports.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).