diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 5ca612ea..1ddbd83e 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -90,7 +90,7 @@ | |||
90 | 90 | ||
91 | /** | 91 | /** |
92 | * Close all connections for the daemon. | 92 | * Close all connections for the daemon. |
93 | * Must only be called when MHD_Daemon::shutdown was set to #MHD_YES. | 93 | * Must only be called when MHD_Daemon::shutdown was set to true. |
94 | * @remark To be called only from thread that process | 94 | * @remark To be called only from thread that process |
95 | * daemon's select()/poll()/etc. | 95 | * daemon's select()/poll()/etc. |
96 | * | 96 | * |
@@ -240,6 +240,7 @@ MHD_default_logger_ (void *cls, | |||
240 | * Free the memory given by @a ptr. Calls "free(ptr)". This function | 240 | * Free the memory given by @a ptr. Calls "free(ptr)". This function |
241 | * should be used to free the username returned by | 241 | * should be used to free the username returned by |
242 | * #MHD_digest_auth_get_username(). | 242 | * #MHD_digest_auth_get_username(). |
243 | * @note Available since #MHD_VERSION 0x00095600 | ||
243 | * | 244 | * |
244 | * @param ptr pointer to free. | 245 | * @param ptr pointer to free. |
245 | */ | 246 | */ |
@@ -3235,9 +3236,15 @@ MHD_suspend_connection (struct MHD_Connection *connection) | |||
3235 | 3236 | ||
3236 | /** | 3237 | /** |
3237 | * Resume handling of network data for suspended connection. It is | 3238 | * Resume handling of network data for suspended connection. It is |
3238 | * safe to resume a suspended connection at any time. Calling this function | 3239 | * safe to resume a suspended connection at any time. Calling this |
3239 | * on a connection that was not previously suspended will result | 3240 | * function on a connection that was not previously suspended will |
3240 | * in undefined behavior. | 3241 | * result in undefined behavior. |
3242 | * | ||
3243 | * If you are using this function in "external" sockets polling mode, you must | ||
3244 | * make sure to run #MHD_run() and #MHD_get_timeout() afterwards (before | ||
3245 | * again calling #MHD_get_fdset()), as otherwise the change may not be | ||
3246 | * reflected in the set returned by #MHD_get_fdset() and you may end up | ||
3247 | * with a connection that is stuck until the next network activity. | ||
3241 | * | 3248 | * |
3242 | * @param connection the connection to resume | 3249 | * @param connection the connection to resume |
3243 | */ | 3250 | */ |