25 lines
751 B
Diff
25 lines
751 B
Diff
From fd8004b7b7e78d08a7ad59a4561a3b539e806f06 Mon Sep 17 00:00:00 2001
|
|
From: hankangkang <hankangkang5@huawei.com>
|
|
Date: Thu, 12 Dec 2024 09:14:25 +0800
|
|
Subject: [PATCH] openGauss unsupport_tcp_optname
|
|
|
|
---
|
|
src/lstack/api/lstack_wrap.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/lstack/api/lstack_wrap.c b/src/lstack/api/lstack_wrap.c
|
|
index 4416bd8..95e77b6 100644
|
|
--- a/src/lstack/api/lstack_wrap.c
|
|
+++ b/src/lstack/api/lstack_wrap.c
|
|
@@ -426,6 +426,7 @@ static bool unsupport_tcp_optname(int32_t optname)
|
|
if ((optname == TCP_QUICKACK) ||
|
|
(optname == TCP_INFO) ||
|
|
(optname == TCP_MAXSEG) ||
|
|
+ (optname == TCP_USER_TIMEOUT) ||
|
|
(optname == TCP_CONGESTION)) {
|
|
return true;
|
|
}
|
|
--
|
|
2.33.0
|
|
|