Add TLS fragment support

This commit is contained in:
世界
2025-07-08 13:12:14 +08:00
parent 988ac62a1b
commit 90ec9c8bcb
18 changed files with 476 additions and 181 deletions
+4
View File
@@ -113,6 +113,10 @@ func (to *TLSObfs) write(b []byte) (int, error) {
return len(b), err
}
func (to *TLSObfs) Upstream() any {
return to.Conn
}
// NewTLSObfs return a SimpleObfs
func NewTLSObfs(conn net.Conn, server string) net.Conn {
return &TLSObfs{