[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/05: connection.c: added TODO comment
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/05: connection.c: added TODO comment |
Date: |
Tue, 08 Jun 2021 08:58:19 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 2106f6f2bb9bda5c56c33eb0f795b54c61b5a933
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Jun 6 18:24:12 2021 +0300
connection.c: added TODO comment
---
src/microhttpd/connection.c | 3 +++
1 file changed, 3 insertions(+)
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,
connection->write_buffer_append_offset = 0;
connection->write_buffer_send_offset = 0;
connection->state = next_state;
+ /* TODO: avoid deallocation of the buffer so
+ * it can be reused for chunked body sending when
+ * header has been sent */
MHD_pool_reallocate (connection->pool,
connection->write_buffer,
connection->write_buffer_size,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.