diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-23 19:07:38 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-24 15:51:28 +0300 |
commit | 3e15e43b1fa979a53eab353fa95dc2ed10fcb17c (patch) | |
tree | 00a972424386e99d5ac8ec95d6f8567844c1479e /src/microhttpd/response.c | |
parent | 0701ed2e8a521a55c3ce8c2137e360a71ec2db9b (diff) | |
download | libmicrohttpd-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.c | 3 |
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 |