[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 240/335: more example test code
From: |
gnunet |
Subject: |
[libmicrohttpd] 240/335: more example test code |
Date: |
Sat, 27 Jul 2024 22:02:16 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit 4c2fe44a9bcdbad1b470b9690f4bcb18b822e18d
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sun Jul 14 16:46:41 2024 +0200
more example test code
---
src/tests/basic/test_client_server.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/tests/basic/test_client_server.c
b/src/tests/basic/test_client_server.c
index 425cff6c..b4f0ee93 100644
--- a/src/tests/basic/test_client_server.c
+++ b/src/tests/basic/test_client_server.c
@@ -40,6 +40,23 @@ main (int argc, char *argv[])
.timeout_ms = 5,
.num_clients = 10
},
+ // Basic upload
+ // HTTP client header
+ // Response with custom header
+#if 0
+ // URL with query parameters
+ {
+ .label = "URL with query parameters",
+ .server_cb = &MHDT_server_reply_check_query,
+ .server_cb_cls = "TODO",
+ .client_cb = &MHDT_client_get_with_query,
+ .client_cb_cls = "a=b&c",
+ .timeout_ms = 5,
+ .num_clients = 10
+ },
+#endif
+ // chunked upload
+ // chunked download
{
.label = NULL,
},
@@ -47,6 +64,9 @@ main (int argc, char *argv[])
(void) argc; /* Unused. Silence compiler warning. */
(void) argv; /* Unused. Silence compiler warning. */
+ // threading modi
+ // socket polling functions (select, poll, epoll, internal, external edge,
external level)
+ //
return MHDT_test (&MHDT_server_setup_minimal,
NULL,
&MHDT_server_run_blocking,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 242/335: Fixes, (continued)
- [libmicrohttpd] 242/335: Fixes, gnunet, 2024/07/27
- [libmicrohttpd] 245/335: WIP-4, gnunet, 2024/07/27
- [libmicrohttpd] 231/335: WIP more, gnunet, 2024/07/27
- [libmicrohttpd] 235/335: GNU/Linux fixes, gnunet, 2024/07/27
- [libmicrohttpd] 237/335: GNU/Linux fixes-3, gnunet, 2024/07/27
- [libmicrohttpd] 236/335: More GNU/Linux fixes, gnunet, 2024/07/27
- [libmicrohttpd] 251/335: Implemented MHD_daemon_get_info_fixed_sz(), gnunet, 2024/07/27
- [libmicrohttpd] 246/335: WIP-5, gnunet, 2024/07/27
- [libmicrohttpd] 224/335: Minor update, gnunet, 2024/07/27
- [libmicrohttpd] 253/335: fix issues in test logic, gnunet, 2024/07/27
- [libmicrohttpd] 240/335: more example test code,
gnunet <=
- [libmicrohttpd] 254/335: Fixed GET parameters parsing, gnunet, 2024/07/27
- [libmicrohttpd] 239/335: first test against test framework, gnunet, 2024/07/27
- [libmicrohttpd] 241/335: WIP-3, gnunet, 2024/07/27
- [libmicrohttpd] 248/335: WIP-5 fixes-2, gnunet, 2024/07/27
- [libmicrohttpd] 244/335: microhttpd2.h: improved URI and termination callbacks and related data, gnunet, 2024/07/27
- [libmicrohttpd] 252/335: expand test suite, gnunet, 2024/07/27
- [libmicrohttpd] 260/335: Copy-paste & merge errors clean-up, gnunet, 2024/07/27
- [libmicrohttpd] 247/335: WIP-5 fixes, gnunet, 2024/07/27
- [libmicrohttpd] 261/335: split up convenience API, gnunet, 2024/07/27
- [libmicrohttpd] 250/335: fix shadowing, gnunet, 2024/07/27