[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 09/10: MHD_start_daemon(): report if TCP_FA
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 09/10: MHD_start_daemon(): report if TCP_FASTOPEN is used on supported platform |
Date: |
Tue, 21 May 2019 21:29:13 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit c835a2334f84d74a0c13308444fd6895fb744980
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Tue May 21 22:12:43 2019 +0300
MHD_start_daemon(): report if TCP_FASTOPEN is used on supported platform
---
src/microhttpd/daemon.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index d3d46de3..b2185b4c 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5210,12 +5210,18 @@ parse_options_va (struct MHD_Daemon *daemon,
size_t);
break;
#endif
-#ifdef TCP_FASTOPEN
case MHD_OPTION_TCP_FASTOPEN_QUEUE_SIZE:
+#ifdef TCP_FASTOPEN
daemon->fastopen_queue_size = va_arg (ap,
unsigned int);
break;
-#endif
+#else /* ! TCP_FASTOPEN */
+#ifdef HAVE_MESSAGES
+ MHD_DLOG (daemon,
+ _("TCP fastopen is not supported on this platform\n"));
+ return MHD_NO;
+#endif /* HAVE_MESSAGES */
+#endif /* ! TCP_FASTOPEN */
case MHD_OPTION_LISTENING_ADDRESS_REUSE:
daemon->listening_address_reuse = va_arg (ap,
unsigned int) ? 1 : -1;
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [libmicrohttpd] branch master updated (d5d03f11 -> 9da5831c), gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 03/10: Removed unused macro, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 04/10: Fixed compiler warning, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 02/10: Avoid dropping 'const' qualifier in macros, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 06/10: Check TLS strings lengths, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 05/10: MHD_start_daemon(): fixed port detection on some platforms, avoid re-use variable names., gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 01/10: Fixed doxygen comments, Fixed spelling in comments, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 07/10: Removed extra ';', gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 08/10: MHD_set_connection_value_n_nocheck_() mark as static function, gnunet, 2019/05/21
- [GNUnet-SVN] [libmicrohttpd] 09/10: MHD_start_daemon(): report if TCP_FASTOPEN is used on supported platform,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 10/10: ChangeLog updated, gnunet, 2019/05/21