aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r--src/microhttpd/internal.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 95314d5d..451520fc 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -29,12 +29,12 @@
29 29
30#include "platform.h" 30#include "platform.h"
31#include "microhttpd.h" 31#include "microhttpd.h"
32#if HTTPS_SUPPORT 32#ifdef HTTPS_SUPPORT
33#include <gnutls/gnutls.h> 33#include <gnutls/gnutls.h>
34#if GNUTLS_VERSION_MAJOR >= 3 34#if GNUTLS_VERSION_MAJOR >= 3
35#include <gnutls/abstract.h> 35#include <gnutls/abstract.h>
36#endif 36#endif
37#endif 37#endif /* HTTPS_SUPPORT */
38#include "mhd_options.h" 38#include "mhd_options.h"
39 39
40 40
@@ -889,7 +889,7 @@ struct MHD_Connection
889 */ 889 */
890 struct MHD_UpgradeResponseHandle *urh; 890 struct MHD_UpgradeResponseHandle *urh;
891 891
892#if HTTPS_SUPPORT 892#ifdef HTTPS_SUPPORT
893 893
894 /** 894 /**
895 * State required for HTTPS/SSL/TLS support. 895 * State required for HTTPS/SSL/TLS support.
@@ -916,7 +916,7 @@ struct MHD_Connection
916 * TLS layer was shut down? 916 * TLS layer was shut down?
917 */ 917 */
918 int tls_closed; 918 int tls_closed;
919#endif 919#endif /* HTTPS_SUPPORT */
920 920
921 /** 921 /**
922 * Is the connection suspended? 922 * Is the connection suspended?
@@ -994,7 +994,7 @@ struct MHD_UpgradeResponseHandle
994 */ 994 */
995 struct MHD_Connection *connection; 995 struct MHD_Connection *connection;
996 996
997#if HTTPS_SUPPORT 997#ifdef HTTPS_SUPPORT
998 /** 998 /**
999 * Kept in a DLL per daemon. 999 * Kept in a DLL per daemon.
1000 */ 1000 */
@@ -1369,7 +1369,7 @@ struct MHD_Daemon
1369 */ 1369 */
1370 int listen_socket_in_epoll; 1370 int listen_socket_in_epoll;
1371 1371
1372#if HTTPS_SUPPORT 1372#ifdef HTTPS_SUPPORT
1373 /** 1373 /**
1374 * File descriptor associated with the #run_epoll_for_upgrade() loop. 1374 * File descriptor associated with the #run_epoll_for_upgrade() loop.
1375 * Only available if #MHD_USE_HTTPS_EPOLL_UPGRADE is set. 1375 * Only available if #MHD_USE_HTTPS_EPOLL_UPGRADE is set.
@@ -1381,7 +1381,7 @@ struct MHD_Daemon
1381 * #MHD_NO if not. 1381 * #MHD_NO if not.
1382 */ 1382 */
1383 int upgrade_fd_in_epoll; 1383 int upgrade_fd_in_epoll;
1384#endif 1384#endif /* HTTPS_SUPPORT */
1385 1385
1386#endif 1386#endif
1387 1387
@@ -1441,7 +1441,7 @@ struct MHD_Daemon
1441 */ 1441 */
1442 uint16_t port; 1442 uint16_t port;
1443 1443
1444#if HTTPS_SUPPORT 1444#ifdef HTTPS_SUPPORT
1445 /** 1445 /**
1446 * Head of DLL of upgrade response handles we are processing. 1446 * Head of DLL of upgrade response handles we are processing.
1447 * Used for upgraded TLS connections when thread-per-connection 1447 * Used for upgraded TLS connections when thread-per-connection
@@ -1523,7 +1523,7 @@ struct MHD_Daemon
1523 */ 1523 */
1524 unsigned int num_tls_read_ready; 1524 unsigned int num_tls_read_ready;
1525 1525
1526#endif 1526#endif /* HTTPS_SUPPORT */
1527 1527
1528#ifdef DAUTH_SUPPORT 1528#ifdef DAUTH_SUPPORT
1529 1529