aboutsummaryrefslogtreecommitdiff
path: root/src/examples/minimal_example.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-04 09:10:03 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-04 09:10:03 +0000
commit45a0a30893f77a38a8add8a64c3650387840a335 (patch)
tree407c9fb42e6440076b8818f29ad1590220f036b3 /src/examples/minimal_example.c
parent073951d682f93de20790cda82ef674718fcb9596 (diff)
downloadlibmicrohttpd-45a0a30893f77a38a8add8a64c3650387840a335.tar.gz
libmicrohttpd-45a0a30893f77a38a8add8a64c3650387840a335.zip
also eliminating use of pipe, thereby addressing #1662
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;