Add support for kTLS

Reference: https://gitlab.com/go-extension/tls
This commit is contained in:
世界 committed 2026-01-17 05:44:42 +08:00
1 parent f84129ca79
commit 107f92381b
59 files changed
+2682 -222

No files matched your search

+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