From 4e52c357fe1d5eb73afd33d3f9a912c6c3af8083 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Tue, 19 Aug 2025 23:05:37 +0800 Subject: [PATCH] Make realityConnWrapper replaceable --- common/tls/reality_server.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/tls/reality_server.go b/common/tls/reality_server.go index 27420248..3a3ae99e 100644 --- a/common/tls/reality_server.go +++ b/common/tls/reality_server.go @@ -206,3 +206,11 @@ func (c *realityConnWrapper) Upstream() any { func (c *realityConnWrapper) CloseWrite() error { return c.Close() } + +func (c *realityConnWrapper) ReaderReplaceable() bool { + return true +} + +func (c *realityConnWrapper) WriterReplaceable() bool { + return true +}