diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-06-06 18:24:12 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-06-08 09:54:39 +0300 |
commit | 2106f6f2bb9bda5c56c33eb0f795b54c61b5a933 (patch) | |
tree | df7d3bf9916e0b612283f1fbc6207e2de48898ab | |
parent | 7d53b1eb9e979e199d8014a878630b061d129011 (diff) | |
download | libmicrohttpd-2106f6f2bb9bda5c56c33eb0f795b54c61b5a933.tar.gz libmicrohttpd-2106f6f2bb9bda5c56c33eb0f795b54c61b5a933.zip |
connection.c: added TODO comment
-rw-r--r-- | src/microhttpd/connection.c | 3 |
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, |