GNU libmicrohttpd
0.9.29
|
Methods for managing response objects. More...
Go to the source code of this file.
Functions | |
void | MHD_increment_response_rc (struct MHD_Response *response) |
int | MHD_response_execute_upgrade_ (struct MHD_Response *response, struct MHD_Connection *connection) |
Methods for managing response objects.
Definition in file response.h.
void MHD_increment_response_rc | ( | struct MHD_Response * | response | ) |
Increments the reference counter for the response.
response | object to modify |
Definition at line 1090 of file response.c.
References MHD_mutex_lock_chk_, MHD_mutex_unlock_chk_, MHD_Response::mutex, and MHD_Response::reference_count.
Referenced by MHD_queue_response().
int MHD_response_execute_upgrade_ | ( | struct MHD_Response * | response, |
struct MHD_Connection * | connection | ||
) |
We are done sending the header of a given response to the client. Now it is time to perform the upgrade and hand over the connection to the application.
response | the response that was created for an upgrade |
connection | the specific connection we are upgrading |
Referenced by MHD_connection_handle_idle(), and MHD_create_response_from_buffer().