mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
-allow benchmark to be run without connection close
This commit is contained in:
@@ -122,9 +122,11 @@ main (int argc, char *const *argv)
|
||||
response = MHD_create_response_from_buffer (strlen (PAGE),
|
||||
(void *) PAGE,
|
||||
MHD_RESPMEM_PERSISTENT);
|
||||
#if 0
|
||||
(void) MHD_add_response_header (response,
|
||||
MHD_HTTP_HEADER_CONNECTION,
|
||||
"close");
|
||||
#endif
|
||||
d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_SUPPRESS_DATE_NO_CLOCK
|
||||
#if EPOLL_SUPPORT
|
||||
| MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_TURBO
|
||||
|
||||
Reference in New Issue
Block a user