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, * 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 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) * 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