]> git.pld-linux.org Git - packages/libmicrohttpd.git/commitdiff
- updated to 0.9.29 auto/th/libmicrohttpd-0.9.29-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 26 Aug 2013 18:11:36 +0000 (20:11 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 26 Aug 2013 18:11:36 +0000 (20:11 +0200)
- updated messages patch

libmicrohttpd-messages.patch
libmicrohttpd.spec

index 06610ecfcf9c70882ec0f3a2993e5a3638fd9f05..884f0c71b803eb53fea889ccafce66eab23cfcb3 100644 (file)
@@ -1,6 +1,6 @@
---- libmicrohttpd-0.9.28/src/microhttpd/daemon.c.orig  2013-07-19 17:32:13.000000000 +0200
-+++ libmicrohttpd-0.9.28/src/microhttpd/daemon.c       2013-07-19 20:31:23.474232117 +0200
-@@ -612,9 +612,11 @@
+--- libmicrohttpd-0.9.29/src/microhttpd/daemon.c.orig  2013-08-22 08:09:22.000000000 +0200
++++ libmicrohttpd-0.9.29/src/microhttpd/daemon.c       2013-08-26 20:01:42.635866349 +0200
+@@ -620,9 +620,11 @@
          break;
        }
      }
    return MHD_YES;
  }
  
-@@ -3112,9 +3114,11 @@
-         int sk_flags = fcntl (socket_fd, F_GETFL);
-         if (0 != fcntl (socket_fd, F_SETFL, sk_flags | O_NONBLOCK))
-           {
+@@ -1272,8 +1274,11 @@
+     if ( (MHD_YES == external_add) &&
+        (-1 != daemon->wpipe[1]) &&
+        (1 != WRITE (daemon->wpipe[1], "n", 1)) )
 +#if HAVE_MESSAGES
-             MHD_DLOG (daemon,
-                       "Failed to make listen socket non-blocking: %s\n", 
-                       STRERROR (errno));
+       MHD_DLOG (daemon,
+-              "failed to signal new connection via pipe");
++              "failed to signal new connection via pipe")
 +#endif
-             if (0 != CLOSE (socket_fd))
-               MHD_PANIC ("close failed\n");         
-             goto free_and_fail;             
++            ;
+ #if EPOLL_SUPPORT
+   if (0 != (daemon->options & MHD_USE_EPOLL_LINUX_ONLY))
index ebd8d82533d1b987607f961668a3ca250a21bb5b..b527a2e9abc8a926e4e9fcd3023e653c42898df4 100644 (file)
@@ -5,12 +5,12 @@
 Summary:       Embeded HTTP server library
 Summary(pl.UTF-8):     Biblioteka wbudowanego serwera HTTP
 Name:          libmicrohttpd
-Version:       0.9.28
+Version:       0.9.29
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
-# Source0-md5: 16c3cb66c839c6f929677471401a5b53
+# Source0-md5: ead86d88e8b71ad99a2273bca438536c
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-messages.patch
 Patch2:                %{name}-link.patch
This page took 0.180587 seconds and 4 git commands to generate.