From 5821f2ef85c57606bf64164b0efbc86007329a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sun, 23 Apr 2023 09:10:54 +0000 Subject: [PATCH] Revert commit 3d66b6f076729d7b1c1eba7f47159e97df848f20 Not more needed after latest upgrade of libmicrohttpd --- deps/Makefile | 3 --- deps/libmicrohttpd/mhd_sockets.c-issue-5977.patch | 8 -------- 2 files changed, 11 deletions(-) delete mode 100644 deps/libmicrohttpd/mhd_sockets.c-issue-5977.patch diff --git a/deps/Makefile b/deps/Makefile index b3242c737..29d06948d 100644 --- a/deps/Makefile +++ b/deps/Makefile @@ -168,9 +168,6 @@ else cd libmicrohttpd && ln -s libmicrohttpd-0.9.75 libmicrohttpd cd libmicrohttpd && tar -zxf libmicrohttpd-0.9.75.tar.gz # cd libmicrohttpd/libmicrohttpd && patch src/microhttpd/connection.c < ../connection.c-snprintf-overflow.patch -endif -ifeq ($(UNAME_S),Darwin) - cd libmicrohttpd/libmicrohttpd && patch src/microhttpd/mhd_sockets.c < ../mhd_sockets.c-issue-5977.patch endif cd libmicrohttpd/libmicrohttpd && ./configure --enable-https && CC=${CC} CXX=${CXX} ${MAKE} diff --git a/deps/libmicrohttpd/mhd_sockets.c-issue-5977.patch b/deps/libmicrohttpd/mhd_sockets.c-issue-5977.patch deleted file mode 100644 index f37083fee..000000000 --- a/deps/libmicrohttpd/mhd_sockets.c-issue-5977.patch +++ /dev/null @@ -1,8 +0,0 @@ -@@ -528,6 +528,7 @@ MHD_socket_cork_ (MHD_socket sock, - TCP_CORK always flushes socket buffer. */ - if (0 > send (sock, - &dummy, -+ 0, - 0)) - return 0; /* even force flush failed!? */ - return 1; /* success */