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
+14
View File
@@ -0,0 +1,14 @@
//go:build !(linux || darwin || windows)
package tf
import (
"context"
"net"
"time"
)
func writeAndWaitAck(ctx context.Context, conn *net.TCPConn, payload []byte, fallbackDelay time.Duration) error {
time.Sleep(fallbackDelay)
return nil
}