MCPcopy Create free account
hub / github.com/Jigsaw-Code/Intra / DialWithSplitRetry

Function DialWithSplitRetry

Android/app/src/go/intra/split/retrier.go:124–150  ·  view source on GitHub ↗

DialWithSplitRetry returns a TCP connection that transparently retries by splitting the initial upstream segment if the socket closes without receiving a reply. Like net.Conn, it is intended for two-threaded use, with one thread calling Read and CloseRead, and another calling Write, ReadFrom, and C

(ctx context.Context, dialer *net.Dialer, addr *net.TCPAddr, stats *RetryStats)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

dialMethod · 0.92
dialMethod · 0.92
makeSetupFunction · 0.85

Calls 2

DebugFunction · 0.92
timeoutFunction · 0.85

Tested by 1

makeSetupFunction · 0.68