aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpserver.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-01-19 15:47:59 +0100
committerGitHub Enterprise <[email protected]>2026-01-19 15:47:59 +0100
commit975babca65c6e118db268c6335a4ecbf7c2a9744 (patch)
tree08c9ad8a58a7a2393ab10b26666d5fd29d44bd63 /src/zenhttp/httpserver.cpp
parentZenServerProcess API changes (#719) (diff)
downloadzen-975babca65c6e118db268c6335a4ecbf7c2a9744.tar.xz
zen-975babca65c6e118db268c6335a4ecbf7c2a9744.zip
zenserver API changes, some other minor changes (#720)
* add system metrics output to top command * removed unnecessary xmake directives * file system API/comment tweaks * fixed out-of-range access in httpserver test * updated ZenServer base API to allow customization by mode
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
-rw-r--r--src/zenhttp/httpserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp
index 085275195..c4e67d4ed 100644
--- a/src/zenhttp/httpserver.cpp
+++ b/src/zenhttp/httpserver.cpp
@@ -1345,7 +1345,7 @@ TEST_CASE("http.common")
"{a}",
[&](auto& Req) {
HandledA = true;
- Captures = {std::string(Req.GetCapture(1))};
+ Captures = {std::string(Req.GetCapture(0))};
},
HttpVerb::kGet);