From 97657ebd7069c1925578de8222112c7b52a0c7a7 Mon Sep 17 00:00:00 2001
From: Igor Raits <igor.raits@gmail.com>
Date: Sat, 26 Nov 2022 08:49:11 +0100
Subject: [PATCH 2/3] Enable tcp_fastopen in bundled libhttpserver
We have kernel 3.6+ for years and the condition is wrong.
---
deps/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/deps/Makefile b/deps/Makefile
index ca3e0ac0..3de69764 100644
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -98,6 +98,7 @@ ifeq ($(REQUIRE_PATCH), true)
cd libhttpserver/libhttpserver && patch -p0 < ../re2_regex.patch
cd libhttpserver/libhttpserver && patch -p0 < ../final_val_post_process.patch
endif
+ sed -i -e 's|is_fastopen_supported=no|is_fastopen_supported=yes|' libhttpserver/libhttpserver/configure.ac
ifeq ($(UNAME_S),FreeBSD)
sed -i -e 's/\/bin\/bash/\/usr\/local\/bin\/bash/' libhttpserver/libhttpserver/bootstrap
endif
--
2.38.1