aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.h')
-rw-r--r--src/microhttpd/connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/microhttpd/connection.h b/src/microhttpd/connection.h
index 4067af78..0fce7346 100644
--- a/src/microhttpd/connection.h
+++ b/src/microhttpd/connection.h
@@ -72,6 +72,8 @@ MHD_connection_handle_write (struct MHD_Connection *connection);
72 * has to happen even if the socket cannot be read or written to. All 72 * has to happen even if the socket cannot be read or written to. All
73 * implementations (multithreaded, external select, internal select) 73 * implementations (multithreaded, external select, internal select)
74 * call this function. 74 * call this function.
75 * @remark To be called only from thread that process connection's
76 * recv(), send() and response.
75 * 77 *
76 * @param connection connection to handle 78 * @param connection connection to handle
77 * @return MHD_YES if we should continue to process the 79 * @return MHD_YES if we should continue to process the
@@ -84,6 +86,8 @@ MHD_connection_handle_idle (struct MHD_Connection *connection);
84/** 86/**
85 * Close the given connection and give the 87 * Close the given connection and give the
86 * specified termination code to the user. 88 * specified termination code to the user.
89 * @remark To be called only from thread that
90 * process connection's recv(), send() and response.
87 * 91 *
88 * @param connection connection to close 92 * @param connection connection to close
89 * @param termination_code termination reason to give 93 * @param termination_code termination reason to give