diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-05-09 11:46:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-05-09 11:46:03 +0000 |
commit | 95ddb5b1c70dc36fa274a23fa69cb4d681c097cc (patch) | |
tree | 080bc9c015161b019e5f0cbfffc3fbe936386158 /src/microhttpd/connection.c | |
parent | 2184438b2d088ad0ffb54a763b045c0361b18a10 (diff) | |
download | libmicrohttpd-95ddb5b1c70dc36fa274a23fa69cb4d681c097cc.tar.gz libmicrohttpd-95ddb5b1c70dc36fa274a23fa69cb4d681c097cc.zip |
-unlock:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 5a27df88..0cb7f1d5 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -2037,6 +2037,8 @@ MHD_connection_handle_write (struct MHD_Connection *connection) | |||
2037 | if (response->data_size == connection->response_write_position - response->data_start) | 2037 | if (response->data_size == connection->response_write_position - response->data_start) |
2038 | { | 2038 | { |
2039 | /* nothing to transmit, move on */ | 2039 | /* nothing to transmit, move on */ |
2040 | if (response->crc != NULL) | ||
2041 | pthread_mutex_unlock (&response->mutex); | ||
2040 | connection->state = MHD_CONNECTION_BODY_SENT; | 2042 | connection->state = MHD_CONNECTION_BODY_SENT; |
2041 | return MHD_YES; | 2043 | return MHD_YES; |
2042 | } | 2044 | } |