This commit is contained in:
Christian Grothoff committed 2013-05-09 11:46:03 +00:00
1 parent 2184438b2d
commit 95ddb5b1c7
1 file changed
+2
+2
View File
@@ -2037,6 +2037,8 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
if (response->data_size == connection->response_write_position - response->data_start)
{
/* nothing to transmit, move on */
if (response->crc != NULL)
pthread_mutex_unlock (&response->mutex);
connection->state = MHD_CONNECTION_BODY_SENT;
return MHD_YES;
}