gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 04/04: Stop deallocating memory buffer after each hunk o


From: gnunet
Subject: [libmicrohttpd] 04/04: Stop deallocating memory buffer after each hunk or reply part
Date: Mon, 23 Aug 2021 21:27:21 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 5ef86b7489595ceda7c75b7b7ba9154fe3f90846
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Aug 23 22:23:35 2021 +0300

    Stop deallocating memory buffer after each hunk or reply part
---
 src/microhttpd/connection.c | 9 ---------
 1 file changed, 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,
   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,
-                       0);
-  connection->write_buffer = NULL;
-  connection->write_buffer_size = 0;
   return MHD_YES;
 }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]