Add support for kTLS

Reference: https://gitlab.com/go-extension/tls
This commit is contained in:
世界
2026-01-17 05:44:42 +08:00
parent f84129ca79
commit 107f92381b
59 changed files with 2682 additions and 222 deletions
+8
View File
@@ -83,6 +83,14 @@ func (c *ClientConn) Upstream() any {
return c.ExtendedConn
}
func (c *ClientConn) ReaderReplaceable() bool {
return c.headerWritten
}
func (c *ClientConn) WriterReplaceable() bool {
return c.headerWritten
}
type ClientPacketConn struct {
net.Conn
access sync.Mutex