aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 4ebbf68f..8ba793f4 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3211,15 +3211,6 @@ check_write_done (struct MHD_Connection *connection,
3211 connection->write_buffer_append_offset = 0; 3211 connection->write_buffer_append_offset = 0;
3212 connection->write_buffer_send_offset = 0; 3212 connection->write_buffer_send_offset = 0;
3213 connection->state = next_state; 3213 connection->state = next_state;
3214 /* TODO: avoid deallocation of the buffer so
3215 * it can be reused for chunked body sending when
3216 * header has been sent */
3217 MHD_pool_reallocate (connection->pool,
3218 connection->write_buffer,
3219 connection->write_buffer_size,
3220 0);
3221 connection->write_buffer = NULL;
3222 connection->write_buffer_size = 0;
3223 return MHD_YES; 3214 return MHD_YES;
3224} 3215}
3225 3216