lwip/0115-enable-LWIP_SO_RCVTIMEO-to-support-recv-accept-timeo.patch
liyunqing a9bafd5aeb recv support SO_RCVTIMEO
(cherry picked from commit 8852706f49d5766f31df31192517b5c40b4a0a9a)
2024-03-28 15:15:38 +08:00

26 lines
613 B
Diff

From f0ca9ad7361b943c0ce84bad8dc2655a90e38ca4 Mon Sep 17 00:00:00 2001
From: liyunqing <liyunqing@kylinos.cn>
Date: Fri, 15 Mar 2024 17:49:27 +0800
Subject: [PATCH] enable LWIP_SO_RCVTIMEO to support recv\accept timeout
---
src/include/lwipopts.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h
index d067dea..3b8de83 100644
--- a/src/include/lwipopts.h
+++ b/src/include/lwipopts.h
@@ -257,6 +257,8 @@
#define SIOCSHIWAT 1
+#define LWIP_SO_RCVTIMEO 1
+
/*
------------------------------------
--------- Debug log options --------
--
2.27.0