Add TLS fragment support

This commit is contained in:
世界
2025-01-26 09:01:00 +08:00
parent b93a07b6b8
commit 9dc93e97c5
18 changed files with 476 additions and 181 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
}