diff options
Diffstat (limited to 'src/microhttpd/connection.h')
-rw-r--r-- | src/microhttpd/connection.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/microhttpd/connection.h b/src/microhttpd/connection.h index a962a40c..ecbe2378 100644 --- a/src/microhttpd/connection.h +++ b/src/microhttpd/connection.h | |||
@@ -85,6 +85,16 @@ MHD_connection_handle_idle (struct MHD_Connection *connection); | |||
85 | 85 | ||
86 | 86 | ||
87 | /** | 87 | /** |
88 | * Mark connection as "closed". | ||
89 | * @remark To be called from any thread. | ||
90 | * | ||
91 | * @param connection connection to close | ||
92 | */ | ||
93 | void | ||
94 | MHD_connection_mark_closed_ (struct MHD_Connection *connection); | ||
95 | |||
96 | |||
97 | /** | ||
88 | * Close the given connection and give the | 98 | * Close the given connection and give the |
89 | * specified termination code to the user. | 99 | * specified termination code to the user. |
90 | * @remark To be called only from thread that | 100 | * @remark To be called only from thread that |