gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32417 - in libmicrohttpd: . doc src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r32417 - in libmicrohttpd: . doc src/microhttpd
Date: Tue, 18 Feb 2014 21:05:14 +0100

Author: Karlson2k
Date: 2014-02-18 21:05:14 +0100 (Tue, 18 Feb 2014)
New Revision: 32417

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/doc/libmicrohttpd.texi
   libmicrohttpd/src/microhttpd/daemon.c
Log:
Remove plibc leftover, update ChangeLog and docs

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2014-02-18 19:06:36 UTC (rev 32416)
+++ libmicrohttpd/ChangeLog     2014-02-18 20:05:14 UTC (rev 32417)
@@ -1,3 +1,10 @@
+Tue Feb 18 19:46:45 CET 2014
+       Removed dependency on plibc for simpler compilation for W32.
+       Added configure option "--disable-pipes" to use socketpairs
+       instead of pipes for signalling to child threads. Pipes are 
+       always disabled on W32.
+       Some code refactoring. - EG
+
 Sat Feb  8 15:08:35 CET 2014
        Corrected some uses of 'int' vs. 'size_t'. -EG/CG
 

Modified: libmicrohttpd/doc/libmicrohttpd.texi
===================================================================
--- libmicrohttpd/doc/libmicrohttpd.texi        2014-02-18 19:06:36 UTC (rev 
32416)
+++ libmicrohttpd/doc/libmicrohttpd.texi        2014-02-18 20:05:14 UTC (rev 
32417)
@@ -359,16 +359,9 @@
 
 @section Portability to W32
 
-On W32, GNUnet requires PlibC, a lightweight library to provide some
-more POSIX-like calls on W32.  While PlibC takes care of most issues,
-it is unable to make @code{select} (or equivalent alternative socket
-calls) unblock when a socket is @code{shutdown}.  This can be
-problematic if MHD is used in ``one thread per connection'' mode.  In
-this case, an inactive TCP connection may block @code{MHD_stop_daemon}
-until the connection times out.  You may be able to mitigate the issue
-by setting a reasonably low timeout, but in general we of course
-recommend migrating away from Windows.  Using MHD with other types of
-event loops is unaffected by this issue.
+libmicrohttpd in general ported well to W32. Most libmicrohttpd features
+are supported. W32 do not support some functions, like epoll and 
+corresponding MHD features are not available on W32.
 
 
 @section Portability to z/OS

Modified: libmicrohttpd/src/microhttpd/daemon.c
===================================================================
--- libmicrohttpd/src/microhttpd/daemon.c       2014-02-18 19:06:36 UTC (rev 
32416)
+++ libmicrohttpd/src/microhttpd/daemon.c       2014-02-18 20:05:14 UTC (rev 
32417)
@@ -3681,14 +3681,8 @@
         goto thread_failed;
 #else
       sk_flags = 1;
-#if HAVE_PLIBC_FD
-      if (SOCKET_ERROR ==
-         ioctlsocket (plibc_fd_get_handle (socket_fd), FIONBIO, &sk_flags))
+      if (SOCKET_ERROR == ioctlsocket (socket_fd, FIONBIO, &sk_flags))
         goto thread_failed;
-#else
-      if (ioctlsocket (socket_fd, FIONBIO, &sk_flags) == SOCKET_ERROR)
-        goto thread_failed;
-#endif // PLIBC_FD
 #endif // MINGW
 
       /* Allocate memory for pooled objects */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]