gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 02/02: Fixed doxy for MHD_suspend_connection()


From: gnunet
Subject: [libmicrohttpd] 02/02: Fixed doxy for MHD_suspend_connection()
Date: Fri, 03 Dec 2021 12:00:46 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

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

    Fixed doxy for MHD_suspend_connection()
---
 src/include/microhttpd.h | 4 ++--
 src/microhttpd/daemon.c  | 4 ++--
 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,
  * 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]