aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/response.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-10-23 19:07:38 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-10-24 15:51:28 +0300
commit3e15e43b1fa979a53eab353fa95dc2ed10fcb17c (patch)
tree00a972424386e99d5ac8ec95d6f8567844c1479e /src/microhttpd/response.c
parent0701ed2e8a521a55c3ce8c2137e360a71ec2db9b (diff)
downloadlibmicrohttpd-3e15e43b1fa979a53eab353fa95dc2ed10fcb17c.tar.gz
libmicrohttpd-3e15e43b1fa979a53eab353fa95dc2ed10fcb17c.zip
Added some remarks about functions' thread safety.
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r--src/microhttpd/response.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index d0c72238..97b131cd 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -698,6 +698,9 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
698 * We are done sending the header of a given response to the client. 698 * We are done sending the header of a given response to the client.
699 * Now it is time to perform the upgrade and hand over the connection 699 * Now it is time to perform the upgrade and hand over the connection
700 * to the application. 700 * to the application.
701 * @remark To be called only from thread that process connection's
702 * recv(), send() and response. Must be called right after sending
703 * response headers.
701 * 704 *
702 * @param response the response that was created for an upgrade 705 * @param response the response that was created for an upgrade
703 * @param connection the specific connection we are upgrading 706 * @param connection the specific connection we are upgrading