libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 4f1e02a99ed27673decaa1eccb07e7428a5893bc
parent 440809f76ab2128f886904d6c8ccb56e9efd7020
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Fri,  3 Dec 2021 13:59:57 +0300

Fixed doxy for MHD_suspend_connection()

Diffstat:
Msrc/include/microhttpd.h | 4++--
Msrc/microhttpd/daemon.c | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -3221,8 +3221,8 @@ MHD_queue_response (struct MHD_Connection *connection, * connection is suspended, MHD will not detect disconnects by the * client. * - * The only safe time to suspend a connection is from the - * #MHD_AccessHandlerCallback. + * The only safe way to call this function is to call it from the + * #MHD_AccessHandlerCallback or #MHD_ContentReaderCallback. * * Finally, it is an API violation to call #MHD_stop_daemon while * having suspended connections (this will at least create memory and diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -3143,8 +3143,8 @@ internal_suspend_connection_ (struct MHD_Connection *connection) * connection is suspended, MHD will not detect disconnects by the * client. * - * The only safe time to suspend a connection is from the - * #MHD_AccessHandlerCallback. + * The only safe way to call this function is to call it from the + * #MHD_AccessHandlerCallback or #MHD_ContentReaderCallback. * * Finally, it is an API violation to call #MHD_stop_daemon while * having suspended connections (this will at least create memory and