diff options
author | Ørjan Malde <red@foxi.me> | 2022-12-21 13:25:06 +0100 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2022-12-21 13:25:06 +0100 |
commit | babd0e70da03cbb941d608ebb878d8e4c009da5b (patch) | |
tree | f21013be4933271d63d88946330b167f4832c2a2 /patches | |
parent | 03db0d4e4a651804ff02493c4ba445a474b9b21e (diff) | |
download | midipix_build-babd0e70da03cbb941d608ebb878d8e4c009da5b.tar.bz2 midipix_build-babd0e70da03cbb941d608ebb878d8e4c009da5b.tar.xz |
patches/wget2-2.0.1.local.patch: disable TCP_FASTOPEN_CONNECT
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/wget2-2.0.1.local.patch | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/patches/wget2-2.0.1.local.patch b/patches/wget2-2.0.1.local.patch index 2e412fd8..c4ecc7d4 100644 --- a/patches/wget2-2.0.1.local.patch +++ b/patches/wget2-2.0.1.local.patch @@ -1,7 +1,23 @@ diff -ru wget2-2.0.1.orig/libwget/net.c wget2-2.0.1/libwget/net.c ---- wget2-2.0.1.orig/libwget/net.c 2022-02-27 19:21:11.000000000 +0100 -+++ wget2-2.0.1/libwget/net.c 2022-12-21 12:51:40.841232059 +0100 -@@ -608,9 +608,11 @@ +--- wget2-2.0.1.orig/libwget/net.c 2022-12-21 13:17:32.426227872 +0100 ++++ wget2-2.0.1/libwget/net.c 2022-12-21 13:16:45.802227589 +0100 +@@ -52,6 +52,7 @@ + # include <fcntl.h> + #endif + ++#if 0 + #if defined __APPLE__ && defined __MACH__ && defined CONNECT_DATA_IDEMPOTENT && defined CONNECT_RESUME_ON_READ_WRITE + # define TCP_FASTOPEN_OSX + #elif defined TCP_FASTOPEN_CONNECT // since Linux 4.11 +@@ -59,6 +60,7 @@ + #elif defined TCP_FASTOPEN && defined MSG_FASTOPEN + # define TCP_FASTOPEN_LINUX + #endif ++#endif + + #include <wget.h> + #include "private.h" +@@ -608,9 +610,11 @@ if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (void *)&on, sizeof(on)) == -1) error_printf(_("Failed to set socket option REUSEADDR\n")); |