aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-07-21 15:06:14 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-07-21 15:07:05 +0300
commite91662093162b685f2f88dc02786f9a091b73937 (patch)
treec28763fedfe55187ba20afc06be31372c2a981d6 /src/testcurl
parent755b338ba5a286130e394c4c4f34c2601b2eab0b (diff)
downloadlibmicrohttpd-e91662093162b685f2f88dc02786f9a091b73937.tar.gz
libmicrohttpd-e91662093162b685f2f88dc02786f9a091b73937.zip
test_digest: improved test URI
Diffstat (limited to 'src/testcurl')
-rw-r--r--src/testcurl/test_digestauth_concurrent.c2
-rw-r--r--src/testcurl/test_digestauth_sha256.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/test_digestauth_concurrent.c b/src/testcurl/test_digestauth_concurrent.c
index adfe172d..907f1eae 100644
--- a/src/testcurl/test_digestauth_concurrent.c
+++ b/src/testcurl/test_digestauth_concurrent.c
@@ -226,7 +226,7 @@ _checkCURLE_OK_func (CURLcode code, const char *curlFunc,
226/* Could be increased to facilitate debugging */ 226/* Could be increased to facilitate debugging */
227#define TIMEOUTS_VAL 5 227#define TIMEOUTS_VAL 5
228 228
229#define MHD_URI_BASE_PATH "/bar%20foo%3Fkey%3Dvalue" 229#define MHD_URI_BASE_PATH "/bar%20foo?key=value"
230 230
231#define PAGE \ 231#define PAGE \
232 "<html><head><title>libmicrohttpd demo</title></head><body>Access granted</body></html>" 232 "<html><head><title>libmicrohttpd demo</title></head><body>Access granted</body></html>"
diff --git a/src/testcurl/test_digestauth_sha256.c b/src/testcurl/test_digestauth_sha256.c
index 90e5ad5f..b34dff9f 100644
--- a/src/testcurl/test_digestauth_sha256.c
+++ b/src/testcurl/test_digestauth_sha256.c
@@ -261,7 +261,7 @@ testDigestAuth ()
261 } 261 }
262 snprintf (url, 262 snprintf (url,
263 sizeof (url), 263 sizeof (url),
264 "http://127.0.0.1:%d/bar%%20foo%%3Fkey%%3Dvalue", 264 "http://127.0.0.1:%d/bar%%20foo?key=value",
265 port); 265 port);
266 c = curl_easy_init (); 266 c = curl_easy_init ();
267 curl_easy_setopt (c, CURLOPT_URL, url); 267 curl_easy_setopt (c, CURLOPT_URL, url);