aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-05-09 11:48:42 +0000
committerChristian Grothoff <christian@grothoff.org>2013-05-09 11:48:42 +0000
commitdab82f1976df6f7fbfe67e4379562b79ff01b328 (patch)
tree6856dc076f628202c9f99fcea2a42a8f32ff7f4b /src/microhttpd/connection.c
parent95ddb5b1c70dc36fa274a23fa69cb4d681c097cc (diff)
downloadlibmicrohttpd-dab82f1976df6f7fbfe67e4379562b79ff01b328.tar.gz
libmicrohttpd-dab82f1976df6f7fbfe67e4379562b79ff01b328.zip
-undo fix #2783
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 2 insertions, 0 deletions
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)
2034 pthread_mutex_unlock (&response->mutex); 2034 pthread_mutex_unlock (&response->mutex);
2035 break; 2035 break;
2036 } 2036 }
2037#if 0
2037 if (response->data_size == connection->response_write_position - response->data_start) 2038 if (response->data_size == connection->response_write_position - response->data_start)
2038 { 2039 {
2039 /* nothing to transmit, move on */ 2040 /* nothing to transmit, move on */
@@ -2042,6 +2043,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
2042 connection->state = MHD_CONNECTION_BODY_SENT; 2043 connection->state = MHD_CONNECTION_BODY_SENT;
2043 return MHD_YES; 2044 return MHD_YES;
2044 } 2045 }
2046#endif
2045 ret = connection->send_cls (connection, 2047 ret = connection->send_cls (connection,
2046 &response->data 2048 &response->data
2047 [connection->response_write_position 2049 [connection->response_write_position