aboutsummaryrefslogtreecommitdiff
path: root/src/examples/minimal_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/minimal_example.c')
-rw-r--r--src/examples/minimal_example.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/examples/minimal_example.c b/src/examples/minimal_example.c
index 9293242b..8c7d17d9 100644
--- a/src/examples/minimal_example.c
+++ b/src/examples/minimal_example.c
@@ -67,7 +67,10 @@ main (int argc, char *const *argv)
67 printf ("%s PORT\n", argv[0]); 67 printf ("%s PORT\n", argv[0]);
68 return 1; 68 return 1;
69 } 69 }
70 d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG, 70 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG | MHD_USE_POLL,
71 // MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG,
72 // MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG | MHD_USE_POLL,
73 // MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG,
71 atoi (argv[1]), 74 atoi (argv[1]),
72 NULL, NULL, &ahc_echo, PAGE, 75 NULL, NULL, &ahc_echo, PAGE,
73 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 5, 76 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 5,