Make utlsConnWrapper replaceable
This commit is contained in:
parent
52fa5f20a3
commit
83f02d0bfb
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue