[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 05/07: tests: added setting of DAuth max nc value by dae
From: |
gnunet |
Subject: |
[libmicrohttpd] 05/07: tests: added setting of DAuth max nc value by daemon option |
Date: |
Fri, 29 Dec 2023 14:59:33 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit e0d8708b33bf021d5059ae7d481b5fab55a1661e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri Dec 29 16:56:12 2023 +0300
tests: added setting of DAuth max nc value by daemon option
---
src/testcurl/test_digestauth.c | 1 +
src/testcurl/test_digestauth_concurrent.c | 1 +
src/testcurl/test_digestauth_sha256.c | 1 +
src/testcurl/test_digestauth_with_arguments.c | 1 +
4 files changed, 4 insertions(+)
diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c
index 386b66a2..4fe9b847 100644
--- a/src/testcurl/test_digestauth.c
+++ b/src/testcurl/test_digestauth.c
@@ -454,6 +454,7 @@ testDigestAuth (void)
&ahc_echo, NULL,
MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd,
MHD_OPTION_NONCE_NC_SIZE, 300,
+ MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC, (uint32_t) 999,
MHD_OPTION_END);
if (d == NULL)
return 1;
diff --git a/src/testcurl/test_digestauth_concurrent.c
b/src/testcurl/test_digestauth_concurrent.c
index 87939a77..0e71ca39 100644
--- a/src/testcurl/test_digestauth_concurrent.c
+++ b/src/testcurl/test_digestauth_concurrent.c
@@ -591,6 +591,7 @@ testDigestAuth (void)
MHD_OPTION_NONCE_NC_SIZE, 300,
MHD_OPTION_THREAD_POOL_SIZE,
(unsigned int) (sizeof(workers) / sizeof(workers[0])),
+ MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC, (uint32_t) 999,
MHD_OPTION_END);
if (d == NULL)
return 1;
diff --git a/src/testcurl/test_digestauth_sha256.c
b/src/testcurl/test_digestauth_sha256.c
index 26121ace..be879334 100644
--- a/src/testcurl/test_digestauth_sha256.c
+++ b/src/testcurl/test_digestauth_sha256.c
@@ -244,6 +244,7 @@ testDigestAuth (void)
&ahc_echo, NULL,
MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd,
MHD_OPTION_NONCE_NC_SIZE, 300,
+ MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC, (uint32_t) 999,
MHD_OPTION_END);
if (d == NULL)
return 1;
diff --git a/src/testcurl/test_digestauth_with_arguments.c
b/src/testcurl/test_digestauth_with_arguments.c
index ba9c45ee..280979c7 100644
--- a/src/testcurl/test_digestauth_with_arguments.c
+++ b/src/testcurl/test_digestauth_with_arguments.c
@@ -225,6 +225,7 @@ testDigestAuth (void)
port, NULL, NULL, &ahc_echo, NULL,
MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd,
MHD_OPTION_NONCE_NC_SIZE, 300,
+ MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC, (uint32_t) 999,
MHD_OPTION_END);
if (d == NULL)
return 1;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (c39c55a2 -> a532889e), gnunet, 2023/12/29
- [libmicrohttpd] 02/07: internal.h: reordered members in struct MHD_Daemon, gnunet, 2023/12/29
- [libmicrohttpd] 04/07: Added daemon options for default nonce timeout and max nc values, gnunet, 2023/12/29
- [libmicrohttpd] 07/07: test_digestauth_concurrent: fixed error message, gnunet, 2023/12/29
- [libmicrohttpd] 06/07: configure: implemented setting DAuth defaults by parameters, gnunet, 2023/12/29
- [libmicrohttpd] 05/07: tests: added setting of DAuth max nc value by daemon option,
gnunet <=
- [libmicrohttpd] 03/07: digest auth: added default timeout and max nc values, gnunet, 2023/12/29
- [libmicrohttpd] 01/07: microhttpd.h: minor doxy improvement, gnunet, 2023/12/29