From dab82f1976df6f7fbfe67e4379562b79ff01b328 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 9 May 2013 11:48:42 +0000 Subject: [PATCH] -undo fix #2783 --- src/microhttpd/connection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 0cb7f1d5..9dfbfd5e 100644 --- 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