Make utlsConnWrapper replaceable

This commit is contained in:
wwqgtxx 2025-08-19 23:25:03 +08:00
parent 4e52c357fe
commit 194aad8d40

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