gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]