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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index a860a8fb..e49bfe9a 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2635,6 +2635,9 @@ check_write_done (struct MHD_Connection *connection,
2635 connection->write_buffer_append_offset = 0; 2635 connection->write_buffer_append_offset = 0;
2636 connection->write_buffer_send_offset = 0; 2636 connection->write_buffer_send_offset = 0;
2637 connection->state = next_state; 2637 connection->state = next_state;
2638 /* TODO: avoid deallocation of the buffer so
2639 * it can be reused for chunked body sending when
2640 * header has been sent */
2638 MHD_pool_reallocate (connection->pool, 2641 MHD_pool_reallocate (connection->pool,
2639 connection->write_buffer, 2642 connection->write_buffer,
2640 connection->write_buffer_size, 2643 connection->write_buffer_size,