aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-18 16:36:22 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-18 16:36:22 +0000
commitfbbc9197edec8a94ef01b723b7e04d21b4b1579b (patch)
treed51ee030cd269a13a4edbcf6382c4bb70ea35d2b
parente22f196d71f9e28095bbc99c3504e8d1d4a1456c (diff)
downloadlibmicrohttpd-fbbc9197edec8a94ef01b723b7e04d21b4b1579b.tar.gz
libmicrohttpd-fbbc9197edec8a94ef01b723b7e04d21b4b1579b.zip
-oops
-rw-r--r--src/microhttpd/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 7157d6d1..6190fc29 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2353,11 +2353,11 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
2353 } 2353 }
2354 if (MHD_YES == try_ready_normal_body (connection)) 2354 if (MHD_YES == try_ready_normal_body (connection))
2355 { 2355 {
2356 if (NULL != connection->response->crc)
2357 pthread_mutex_unlock (&connection->response->mutex);
2356 connection->state = MHD_CONNECTION_NORMAL_BODY_READY; 2358 connection->state = MHD_CONNECTION_NORMAL_BODY_READY;
2357 break; 2359 break;
2358 } 2360 }
2359 if (connection->response->crc != NULL)
2360 pthread_mutex_unlock (&connection->response->mutex);
2361 /* not ready, no socket action */ 2361 /* not ready, no socket action */
2362 break; 2362 break;
2363 case MHD_CONNECTION_CHUNKED_BODY_READY: 2363 case MHD_CONNECTION_CHUNKED_BODY_READY: