mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-01 04:03:18 +03:00
Use GNUTLS_NONBLOCK (if available) for TLS sessions
This commit is contained in:
2 files changed
+9
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user