commit dab82f1976df6f7fbfe67e4379562b79ff01b328
parent 95ddb5b1c70dc36fa274a23fa69cb4d681c097cc
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 9 May 2013 11:48:42 +0000
-undo fix #2783
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -2034,6 +2034,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
pthread_mutex_unlock (&response->mutex);
break;
}
+#if 0
if (response->data_size == connection->response_write_position - response->data_start)
{
/* nothing to transmit, move on */
@@ -2042,6 +2043,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
connection->state = MHD_CONNECTION_BODY_SENT;
return MHD_YES;
}
+#endif
ret = connection->send_cls (connection,
&response->data
[connection->response_write_position