mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
demo: updated to use the new API
This commit is contained in:
@@ -436,9 +436,8 @@ update_directory (void)
|
||||
rdc.buf);
|
||||
mark_as_html (response);
|
||||
#ifdef FORCE_CLOSE
|
||||
(void) MHD_response_add_header (response,
|
||||
MHD_HTTP_HEADER_CONNECTION,
|
||||
"close");
|
||||
(void) MHD_response_set_option (response,
|
||||
&MHD_R_OPTION_CONN_CLOSE (MHD_YES));
|
||||
#endif
|
||||
update_cached_response (response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user