gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 22/154: mhd_send.c: call send_tls_adapter()


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 22/154: mhd_send.c: call send_tls_adapter() when TLS is used.
Date: Mon, 19 Aug 2019 10:15:34 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 3100e3e368aa364294c00184a91fb57e4c80abef
Author: ng0 <address@hidden>
AuthorDate: Thu Jul 18 18:45:17 2019 +0000

    mhd_send.c: call send_tls_adapter() when TLS is used.
---
 src/microhttpd/mhd_send.c | 4 ++--
 src/microhttpd/mhd_send.h | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index d32533a8..18996c00 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -218,9 +218,9 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
   /* for TLS*/
 
   if (0 != (connection->daemon->options & MHD_USE_TLS))
-    /* old TLS code here */;
+    send_tls_adapter(connection, buffer, buffer_size);
   else
-    no-TLS;
+    ;
 
   // shouldn't we return 0 or -1? Why re-use the _ERR_ functions?
   // error handling from send_param_adapter():
diff --git a/src/microhttpd/mhd_send.h b/src/microhttpd/mhd_send.h
index 64b4f240..7bd79a16 100644
--- a/src/microhttpd/mhd_send.h
+++ b/src/microhttpd/mhd_send.h
@@ -35,6 +35,7 @@
 #include <errno.h>
 #include "mhd_sockets.h"
 #include "connection.h"
+#include "connection_https.h"
 
 enum MHD_SendSocketOptions
 {

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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