Make utlsConnWrapper replaceable

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

View File

@ -106,6 +106,14 @@ func (c *utlsConnWrapper) Upstream() any {
return c.UConn return c.UConn
} }
func (c *utlsConnWrapper) ReaderReplaceable() bool {
return true
}
func (c *utlsConnWrapper) WriterReplaceable() bool {
return true
}
type utlsALPNWrapper struct { type utlsALPNWrapper struct {
utlsConnWrapper utlsConnWrapper
nextProtocols []string nextProtocols []string