gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 04/04: Use GNUTLS_NONBLOCK (if available) f


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 04/04: Use GNUTLS_NONBLOCK (if available) for TLS sessions
Date: Thu, 13 Jul 2017 20:45:12 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 67f0f76b90a8564ef45ef55e6be6e6a973f66ebc
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Jul 13 21:23:50 2017 +0300

    Use GNUTLS_NONBLOCK (if available) for TLS sessions
---
 ChangeLog               | 6 ++++++
 src/microhttpd/daemon.c | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 178b7970..7e9a6f12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jul 13 21:41:00 MSK 2017
+       Restored SIGPIPE suppression in TLS mode.
+       Added new value MHD_FEATURE_AUTOSUPPRESS_SIGPIPE so application could
+       check whether SIGPIPE handling is required.
+       Used GNUTLS_NONBLOCK for TLS sessions. -EG
+
 Tue Jun 20 23:52:00 MSK 2017
        Libgcrypt is now optional and required only for old GnuTLS versions. -EG
 
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 08fb8827..88dabed5 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2296,6 +2296,9 @@ internal_add_connection (struct MHD_Daemon *daemon,
 #if (GNUTLS_VERSION_NUMBER+0 >= 0x030402)
                    | GNUTLS_NO_SIGNAL
 #endif /* GNUTLS_VERSION_NUMBER >= 0x030402 */
+#if GNUTLS_VERSION_MAJOR >= 3
+                   | GNUTLS_NONBLOCK
+#endif /* GNUTLS_VERSION_MAJOR >= 3*/
                   );
       gnutls_priority_set (connection->tls_session,
                           daemon->priority_cache);

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



reply via email to

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