Make realityConnWrapper replaceable

This commit is contained in:
wwqgtxx 2025-08-19 23:05:37 +08:00 committed by 世界
parent f462ce5615
commit 52fa5f20a3
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -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
}