diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-05-30 21:54:09 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-05-31 11:45:36 +0300 |
commit | 9039d65241daf512e7756319cd64d3d54750cb22 (patch) | |
tree | 9c109e217ad1014a89de5495fcebdc1723672e31 /src/testcurl/test_digestauth_concurrent.c | |
parent | c15077e312ffe934b242c7ecc6559c6eb4eb62cb (diff) | |
download | libmicrohttpd-9039d65241daf512e7756319cd64d3d54750cb22.tar.gz libmicrohttpd-9039d65241daf512e7756319cd64d3d54750cb22.zip |
authentication: reworked header parsing
Added single function to parse all enabled authentication schemes header
strings.
The parsing result is cached and reused thus avoiding repetitive header
parsing.
The new function correctly "unquotes" values (backslashes are removed)
as required by RFC.
Diffstat (limited to 'src/testcurl/test_digestauth_concurrent.c')
-rw-r--r-- | src/testcurl/test_digestauth_concurrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcurl/test_digestauth_concurrent.c b/src/testcurl/test_digestauth_concurrent.c index 045b673d..adfe172d 100644 --- a/src/testcurl/test_digestauth_concurrent.c +++ b/src/testcurl/test_digestauth_concurrent.c | |||
@@ -567,7 +567,7 @@ testDigestAuth (void) | |||
567 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) | 567 | if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) |
568 | port = 0; | 568 | port = 0; |
569 | else | 569 | else |
570 | port = 1165; | 570 | port = 4200; |
571 | 571 | ||
572 | getRnd (rnd, sizeof(rnd)); | 572 | getRnd (rnd, sizeof(rnd)); |
573 | 573 | ||