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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/minimal_example.c b/src/examples/minimal_example.c
index 8c7d17d9..5bf63444 100644
--- a/src/examples/minimal_example.c
+++ b/src/examples/minimal_example.c
@@ -67,13 +67,13 @@ 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_SELECT_INTERNALLY | MHD_USE_DEBUG | MHD_USE_POLL, 70 d = MHD_start_daemon (// MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG | MHD_USE_POLL,
71 // MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG, 71 MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG,
72 // MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG | MHD_USE_POLL, 72 // MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG | MHD_USE_POLL,
73 // MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG, 73 // MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG,
74 atoi (argv[1]), 74 atoi (argv[1]),
75 NULL, NULL, &ahc_echo, PAGE, 75 NULL, NULL, &ahc_echo, PAGE,
76 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 5, 76 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 120,
77 MHD_OPTION_END); 77 MHD_OPTION_END);
78 if (d == NULL) 78 if (d == NULL)
79 return 1; 79 return 1;