diff options
Diffstat (limited to 'src/examples/mhd2spdy.c')
-rw-r--r-- | src/examples/mhd2spdy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/mhd2spdy.c b/src/examples/mhd2spdy.c index 01a8c7a3..e44d3269 100644 --- a/src/examples/mhd2spdy.c +++ b/src/examples/mhd2spdy.c | |||
@@ -114,7 +114,8 @@ run_everything () | |||
114 | MHD_SUPPRESS_DATE_NO_CLOCK, | 114 | MHD_SUPPRESS_DATE_NO_CLOCK, |
115 | glob_opt.listen_port, | 115 | glob_opt.listen_port, |
116 | NULL, NULL, &http_cb_request, NULL, | 116 | NULL, NULL, &http_cb_request, NULL, |
117 | MHD_OPTION_URI_LOG_CALLBACK, &http_log_cb, NULL, | 117 | MHD_OPTION_URI_LOG_CALLBACK, &http_cb_log, NULL, |
118 | MHD_OPTION_NOTIFY_COMPLETED, &http_cb_request_completed, NULL, | ||
118 | MHD_OPTION_END); | 119 | MHD_OPTION_END); |
119 | if(NULL==daemon) | 120 | if(NULL==daemon) |
120 | DIE("MHD_start_daemon failed"); | 121 | DIE("MHD_start_daemon failed"); |
@@ -175,7 +176,7 @@ run_everything () | |||
175 | PRINT_INFO2("select error: %i", errno); | 176 | PRINT_INFO2("select error: %i", errno); |
176 | break; | 177 | break; |
177 | case 0: | 178 | case 0: |
178 | break; | 179 | //break; |
179 | default: | 180 | default: |
180 | PRINT_INFO("run"); | 181 | PRINT_INFO("run"); |
181 | //MHD_run_from_select(daemon,&rs, &ws, &es); //not closing FDs at some time in past | 182 | //MHD_run_from_select(daemon,&rs, &ws, &es); //not closing FDs at some time in past |