From 1468d83895502ac468b5dca99f188a007ad1a5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 20 Aug 2025 16:26:12 +0800 Subject: [PATCH] Make realityClientConnWrapper replaceable --- common/tls/reality_client.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/tls/reality_client.go b/common/tls/reality_client.go index ca0e1e04..d056966c 100644 --- a/common/tls/reality_client.go +++ b/common/tls/reality_client.go @@ -307,3 +307,11 @@ func (c *realityClientConnWrapper) Upstream() any { func (c *realityClientConnWrapper) CloseWrite() error { return c.Close() } + +func (c *realityClientConnWrapper) ReaderReplaceable() bool { + return true +} + +func (c *realityClientConnWrapper) WriterReplaceable() bool { + return true +}