[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 134/154: handle TLS case in send_on_connect
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 134/154: handle TLS case in send_on_connectin2 |
Date: |
Mon, 19 Aug 2019 10:17:26 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository libmicrohttpd.
commit 97fd0a6557b98166f9617370e1497d47e80e9a04
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Aug 1 21:20:56 2019 +0200
handle TLS case in send_on_connectin2
---
src/microhttpd/mhd_send.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 36d8afa7..cc9fcf5b 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -348,6 +348,13 @@ MHD_send_on_connection2_ (struct MHD_Connection
*connection,
const char *buffer,
size_t buffer_size)
{
+#ifdef HTTPS_SUPPORT
+ if (0 != (connection->daemon->options & MHD_USE_TLS))
+ return MHD_send_on_connection_ (connection,
+ header,
+ header_size,
+ MHD_SSO_HDR_CORK);
+#endif
#if defined(HAVE_SENDMSG) || defined(HAVE_WRITEV)
MHD_socket s = connection->socket_fd;
ssize_t ret;
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [libmicrohttpd] 129/154: swap _NODELAY and _NOPUSH, (continued)
- [GNUnet-SVN] [libmicrohttpd] 129/154: swap _NODELAY and _NOPUSH, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 118/154: Add MSG_MORE detection., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 123/154: fix behavior on NetBSD, use the right sizeof., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 106/154: switch post/pre function definition to a logical appearance in the file (pre before post), purely for orientation., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 110/154: check before post_ function if we need to set want_cork to false, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 96/154: simplify, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 113/154: _len -> _size, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 147/154: Merge remote-tracking branch 'origin/master' into dev/ng0/gsoc2019, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 149/154: connection.c: remove 2 more calls of dead code., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 122/154: partial fix to sendmsg code, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 134/154: handle TLS case in send_on_connectin2,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 128/154: TCP_NOPUSH, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 141/154: Document MHD_UPGRADE_ACTION_CORK_ON and HD_UPGRADE_ACTION_CORK_OFF., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 145/154: remove more code., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 143/154: fix a couple of fixmes: add log messages., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 137/154: remove obsolete OLD_SOCK if'd blocks., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 142/154: Add draft of Changelog., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 150/154: mhd_send.c: log EINVAL, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 148/154: Merge remote-tracking branch 'origin/master' into dev/ng0/gsoc2019, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 88/154: attempt fix, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 71/154: lisp sneeks in., gnunet, 2019/08/19