- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for resyncConn (0.07 sec)
-
src/vendor/golang.org/x/net/nettest/conntest.go
} if string(buf) != s { t.Errorf("roundtrip data mismatch: got %q, want %q", buf, s) } } // resyncConn resynchronizes the connection into a sane state. // It assumes that everything written into c is echoed back to itself. // It assumes that 0xff is not currently on the wire or in the read buffer. func resyncConn(t *testing.T, c net.Conn) { t.Helper() c.SetDeadline(neverTimeout) errCh := make(chan error) go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.2K bytes - Viewed (0)