gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 02/02: fixed: really use sendmsg() for header and body


From: gnunet
Subject: [libmicrohttpd] 02/02: fixed: really use sendmsg() for header and body
Date: Sat, 12 Dec 2020 13:05:52 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 5f9f3f06a47cecb502caf110ba6b35e8d38f48e8
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Dec 12 14:59:55 2020 +0300

    fixed: really use sendmsg() for header and body
    
    Previously 'data_buffer_size' was incorrectly used as the size of
    the response. 'data_buffer_size' is always zero for static responses.
---
 src/microhttpd/connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 27b1cbdc..20e31998 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2934,7 +2934,7 @@ MHD_connection_handle_write (struct MHD_Connection 
*connection)
                                         [connection->write_buffer_send_offset],
                                         wb_ready,
                                         connection->response->data,
-                                        
connection->response->data_buffer_size);
+                                        connection->response->data_size);
       }
 
       if (ret < 0)

-- 
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]