26 lines
613 B
Diff
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
|
|
|