Index: D:/svn/dspy/NEW/libmicrohttpd/tags/0.9.5-r1/src/daemon/daemon.c =================================================================== --- D:/svn/dspy/NEW/libmicrohttpd/tags/0.9.5-r1/src/daemon/daemon.c (revision 694) +++ D:/svn/dspy/NEW/libmicrohttpd/tags/0.9.5-r1/src/daemon/daemon.c (revision 769) @@ -2131,7 +2131,7 @@ /** * Close all connections for the daemon */ -static void +void MHD_close_connections (struct MHD_Daemon *daemon) { while (daemon->connections != NULL) Index: D:/svn/dspy/NEW/libmicrohttpd/tags/0.9.5-r1/src/include/microhttpd.h =================================================================== --- D:/svn/dspy/NEW/libmicrohttpd/tags/0.9.5-r1/src/include/microhttpd.h (revision 694) +++ D:/svn/dspy/NEW/libmicrohttpd/tags/0.9.5-r1/src/include/microhttpd.h (revision 769) @@ -1110,6 +1110,13 @@ ssize_t send_param_adapter (struct MHD_Connection *connection, const void *other, size_t i); #endif +#ifdef MHD_ALLOW_EXTERNAL_STOP +/** + * Close all connections for the daemon + */ +void +MHD_close_connections (struct MHD_Daemon *daemon); +#endif /* **************** Connection handling functions ***************** */