From a7df774f5484248b78e43287a4060741fed7fdf4 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Sat, 9 May 2026 17:37:25 +0400 Subject: [PATCH] More accurate value of MHD_VERSION in the server test Identified the exact version of libmicrohttpd where the change in URL parsing affects the server unit-test. --- test/server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/server.cpp b/test/server.cpp index bb907651..d024fbcd 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -442,7 +442,7 @@ TEST_F(ServerTest, CacheIdsOfStaticResourcesMatchTheSha1HashOfResourceContent) } const char* urls400[] = { -#if MHD_VERSION >= 0x01000000 +#if MHD_VERSION >= 0x01000300 "/ROOT%23%", "/ROOT%23%3", #endif // MHD_VERSION @@ -468,7 +468,7 @@ const char* urls404[] = { "/", "/zimfile", "/ROOT", -#if MHD_VERSION < 0x01000000 +#if MHD_VERSION < 0x01000300 "/ROOT%23%", "/ROOT%23%3", #endif // MHD_VERSION