Add TLS fragment support

This commit is contained in:
世界
2025-01-26 09:01:00 +08:00
parent 8fe84b6a4a
commit 60497bb83b
21 changed files with 16249 additions and 189 deletions

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
}