[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14699 - in libmicrohttpd: . src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14699 - in libmicrohttpd: . src/daemon |
Date: |
Wed, 23 Mar 2011 23:30:47 +0100 |
Author: grothoff
Date: 2011-03-23 23:30:47 +0100 (Wed, 23 Mar 2011)
New Revision: 14699
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/src/daemon/daemon.c
Log:
pollin issue
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2011-03-23 15:45:57 UTC (rev 14698)
+++ libmicrohttpd/ChangeLog 2011-03-23 22:30:47 UTC (rev 14699)
@@ -1,3 +1,8 @@
+Wed Mar 23 23:24:25 CET 2011
+ Do not use POLLIN when we only care about POLLHUP (significantly
+ improves performance when using MHD_USE_THREAD_PER_CONNECTION
+ in combination with MHD_USE_POLL). -ES
+
Sun Mar 20 09:16:53 CET 2011
Fixing race when using MHD_USE_THREAD_PER_CONNECTION in combination
with MHD_USE_POLL. -CG
Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c 2011-03-23 15:45:57 UTC (rev 14698)
+++ libmicrohttpd/src/daemon/daemon.c 2011-03-23 22:30:47 UTC (rev 14699)
@@ -647,7 +647,7 @@
fd = con->daemon->socket_fd;
p[1].fd = fd;
- p[1].events |= POLLIN;
+ p[1].events = 0; /* only care about POLLHUP */
if (poll (p,
(fd != -1) ? 2 : 1,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14699 - in libmicrohttpd: . src/daemon,
gnunet <=