Make utlsConnWrapper replaceable

This commit is contained in:
wwqgtxx
2025-08-20 08:45:09 +08:00
committed by 世界
parent 52fa5f20a3
commit 83f02d0bfb
+8
View File
@@ -106,6 +106,14 @@ func (c *utlsConnWrapper) Upstream() any {
return c.UConn
}
func (c *utlsConnWrapper) ReaderReplaceable() bool {
return true
}
func (c *utlsConnWrapper) WriterReplaceable() bool {
return true
}
type utlsALPNWrapper struct {
utlsConnWrapper
nextProtocols []string