Make utlsConnWrapper replaceable

This commit is contained in:
wwqgtxx 2025-08-19 23:25:03 +08:00
parent 693292b4bf
commit 3e4fc45033

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