diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index e2271bba..bcc24705 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -492,6 +492,8 @@ need_100_continue (struct MHD_Connection *connection) | |||
492 | /** | 492 | /** |
493 | * Close the given connection and give the | 493 | * Close the given connection and give the |
494 | * specified termination code to the user. | 494 | * specified termination code to the user. |
495 | * @remark To be called only from thread that | ||
496 | * process connection's recv(), send() and response. | ||
495 | * | 497 | * |
496 | * @param connection connection to close | 498 | * @param connection connection to close |
497 | * @param termination_code termination reason to give | 499 | * @param termination_code termination reason to give |
@@ -2563,6 +2565,8 @@ MHD_connection_handle_write (struct MHD_Connection *connection) | |||
2563 | /** | 2565 | /** |
2564 | * Clean up the state of the given connection and move it into the | 2566 | * Clean up the state of the given connection and move it into the |
2565 | * clean up queue for final disposal. | 2567 | * clean up queue for final disposal. |
2568 | * @remark To be called only from thread that process connection's | ||
2569 | * recv(), send() and response. | ||
2566 | * | 2570 | * |
2567 | * @param connection handle for the connection to clean up | 2571 | * @param connection handle for the connection to clean up |
2568 | */ | 2572 | */ |
@@ -2613,6 +2617,8 @@ cleanup_connection (struct MHD_Connection *connection) | |||
2613 | /** | 2617 | /** |
2614 | * This function was created to handle per-connection processing that | 2618 | * This function was created to handle per-connection processing that |
2615 | * has to happen even if the socket cannot be read or written to. | 2619 | * has to happen even if the socket cannot be read or written to. |
2620 | * @remark To be called only from thread that process connection's | ||
2621 | * recv(), send() and response. | ||
2616 | * | 2622 | * |
2617 | * @param connection connection to handle | 2623 | * @param connection connection to handle |
2618 | * @return #MHD_YES if we should continue to process the | 2624 | * @return #MHD_YES if we should continue to process the |