aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-12-03 13:59:57 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-12-03 14:00:17 +0300
commit4f1e02a99ed27673decaa1eccb07e7428a5893bc (patch)
treea3d7918f90e1a1d801279790822d6e685a4b395b
parent440809f76ab2128f886904d6c8ccb56e9efd7020 (diff)
downloadlibmicrohttpd-4f1e02a99ed27673decaa1eccb07e7428a5893bc.tar.gz
libmicrohttpd-4f1e02a99ed27673decaa1eccb07e7428a5893bc.zip
Fixed doxy for MHD_suspend_connection()
-rw-r--r--src/include/microhttpd.h4
-rw-r--r--src/microhttpd/daemon.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 3b755e5d..aedef5de 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -3221,8 +3221,8 @@ MHD_queue_response (struct MHD_Connection *connection,
3221 * connection is suspended, MHD will not detect disconnects by the 3221 * connection is suspended, MHD will not detect disconnects by the
3222 * client. 3222 * client.
3223 * 3223 *
3224 * The only safe time to suspend a connection is from the 3224 * The only safe way to call this function is to call it from the
3225 * #MHD_AccessHandlerCallback. 3225 * #MHD_AccessHandlerCallback or #MHD_ContentReaderCallback.
3226 * 3226 *
3227 * Finally, it is an API violation to call #MHD_stop_daemon while 3227 * Finally, it is an API violation to call #MHD_stop_daemon while
3228 * having suspended connections (this will at least create memory and 3228 * having suspended connections (this will at least create memory and
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 9731bf72..4b7df545 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3143,8 +3143,8 @@ internal_suspend_connection_ (struct MHD_Connection *connection)
3143 * connection is suspended, MHD will not detect disconnects by the 3143 * connection is suspended, MHD will not detect disconnects by the
3144 * client. 3144 * client.
3145 * 3145 *
3146 * The only safe time to suspend a connection is from the 3146 * The only safe way to call this function is to call it from the
3147 * #MHD_AccessHandlerCallback. 3147 * #MHD_AccessHandlerCallback or #MHD_ContentReaderCallback.
3148 * 3148 *
3149 * Finally, it is an API violation to call #MHD_stop_daemon while 3149 * Finally, it is an API violation to call #MHD_stop_daemon while
3150 * having suspended connections (this will at least create memory and 3150 * having suspended connections (this will at least create memory and