diff options
-rw-r--r-- | src/include/microhttpd.h | 4 | ||||
-rw-r--r-- | 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, | |||
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 |