[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36283 - in libmicrohttpd: . doc src/include src/microhttpd
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36283 - in libmicrohttpd: . doc src/include src/microhttpd |
Date: |
Sun, 30 Aug 2015 14:55:04 +0200 |
Author: grothoff
Date: 2015-08-30 14:55:04 +0200 (Sun, 30 Aug 2015)
New Revision: 36283
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/doc/libmicrohttpd.texi
libmicrohttpd/src/include/microhttpd.h
libmicrohttpd/src/microhttpd/daemon.c
Log:
correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY is allowed (previous
formulation was wrong)
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2015-08-30 12:24:18 UTC (rev 36282)
+++ libmicrohttpd/ChangeLog 2015-08-30 12:55:04 UTC (rev 36283)
@@ -1,3 +1,7 @@
+Sun Aug 30 14:53:51 CEST 2015
+ Correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY
+ is allowed. -CG
+
Thu Aug 27 09:38:44 CEST 2015
Reimplement monotonic clock functions for better
support various platforms.
Modified: libmicrohttpd/doc/libmicrohttpd.texi
===================================================================
--- libmicrohttpd/doc/libmicrohttpd.texi 2015-08-30 12:24:18 UTC (rev
36282)
+++ libmicrohttpd/doc/libmicrohttpd.texi 2015-08-30 12:55:04 UTC (rev
36283)
@@ -487,9 +487,9 @@
@cindex FD_SETSIZE
@cindex poll
@cindex select
-Use poll instead of select. This allows sockets with descriptors
address@hidden>= FD_SETSIZE}. This option currently only works in conjunction
-with @code{MHD_USE_THREAD_PER_CONNECTION} or
+Use @code{poll()} instead of @code{select()}. This allows sockets with
+descriptors @code{>= FD_SETSIZE}. This option currently only works in
+conjunction with @code{MHD_USE_THREAD_PER_CONNECTION} or
@code{MHD_USE_INTERNAL_SELECT} (at this point). If you specify
@code{MHD_USE_POLL} and the local platform does not support it,
@code{MHD_start_daemon} will return NULL.
@@ -498,15 +498,16 @@
@cindex FD_SETSIZE
@cindex epoll
@cindex select
-Use epoll instead of poll or select. This allows sockets with
-descriptors @code{>= FD_SETSIZE}. This option is only available on
-Linux systems and only works in conjunction with
+Use @code{epoll()} instead of @code{poll()} or @code{select()}. This
+allows sockets with descriptors @code{>= FD_SETSIZE}. This option is
+only available on Linux systems and does not work in conjunction with
@code{MHD_USE_THREAD_PER_CONNECTION} (at this point). If you specify
@code{MHD_USE_EPOLL_LINUX_ONLY} and the local platform does not
-support it, @code{MHD_start_daemon} will return NULL. Using epoll
-instead of select or poll can in some situations result in significantly
-higher performance as the system call has fundamentally lower complexity
-(O(1) for epoll vs. O(n) for select/poll where n is the number of
+support it, @code{MHD_start_daemon} will return NULL. Using
address@hidden()} instead of @code{select()} or @code{poll()} can in some
+situations result in significantly higher performance as the system
+call has fundamentally lower complexity (O(1) for @code{epoll()}
+vs. O(n) for @code{select()}/@code{poll()} where n is the number of
open connections).
@item MHD_SUPPRESS_DATE_NO_CLOCK
Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h 2015-08-30 12:24:18 UTC (rev
36282)
+++ libmicrohttpd/src/include/microhttpd.h 2015-08-30 12:55:04 UTC (rev
36283)
@@ -581,7 +581,8 @@
/**
* Use `epoll()` instead of `select()` or `poll()` for the event loop.
* This option is only available on Linux; using the option on
- * non-Linux systems will cause #MHD_start_daemon to fail.
+ * non-Linux systems will cause #MHD_start_daemon to fail. Using
+ * this option is not supported with MHD_USE_THREAD_PER_CONNECTION.
*/
MHD_USE_EPOLL_LINUX_ONLY = 512,
Modified: libmicrohttpd/src/microhttpd/daemon.c
===================================================================
--- libmicrohttpd/src/microhttpd/daemon.c 2015-08-30 12:24:18 UTC (rev
36282)
+++ libmicrohttpd/src/microhttpd/daemon.c 2015-08-30 12:55:04 UTC (rev
36283)
@@ -4237,7 +4237,7 @@
{
#if HAVE_MESSAGES
MHD_DLOG (daemon,
- "file descriptor for worker control pipe exceeds
maximum value\n");
+ "File descriptor for worker control pipe exceeds
maximum value\n");
#endif
if (0 != MHD_pipe_close_ (d->wpipe[0]))
MHD_PANIC ("close failed\n");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36283 - in libmicrohttpd: . doc src/include src/microhttpd,
gnunet <=