diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-09-12 20:47:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-09-12 20:47:06 +0000 |
commit | cfde43ff7ded40a9b1f23fa87088dcf99a95570c (patch) | |
tree | bd54252cb28a47780313b0412d8f17f2424e8ffd /src/examples/https_fileserver_example.c | |
parent | 824628a22f59c312bc0f664665ec8d25be37910c (diff) | |
download | libmicrohttpd-cfde43ff7ded40a9b1f23fa87088dcf99a95570c.tar.gz libmicrohttpd-cfde43ff7ded40a9b1f23fa87088dcf99a95570c.zip |
documenting all enums, functions and structs, removing support for key/cert files
Diffstat (limited to 'src/examples/https_fileserver_example.c')
-rw-r--r-- | src/examples/https_fileserver_example.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c index 55201ce2..a8897a8d 100644 --- a/src/examples/https_fileserver_example.c +++ b/src/examples/https_fileserver_example.c | |||
@@ -170,19 +170,9 @@ main (int argc, char *const *argv) | |||
170 | 170 | ||
171 | MHD_OPTION_END); | 171 | MHD_OPTION_END); |
172 | } | 172 | } |
173 | else if (argc == 5){ | ||
174 | TLS_daemon = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG | ||
175 | | MHD_USE_SSL, atoi (argv[1]), | ||
176 | NULL, | ||
177 | NULL, &http_ahc, | ||
178 | NULL, MHD_OPTION_CONNECTION_TIMEOUT, 256, | ||
179 | MHD_OPTION_HTTPS_CERT_PATH, argv[3], | ||
180 | MHD_OPTION_HTTPS_KEY_PATH, argv[4], | ||
181 | MHD_OPTION_END); | ||
182 | } | ||
183 | else { | 173 | else { |
184 | printf | 174 | printf |
185 | ("Usage : %s HTTP-PORT SECONDS-TO-RUN [CERTIFICATE PATH, KEY PATH]\n", argv[0]); | 175 | ("Usage : %s HTTP-PORT SECONDS-TO-RUN\n", argv[0]); |
186 | return 1; | 176 | return 1; |
187 | } | 177 | } |
188 | 178 | ||