- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestEndlessWrite (0.24 sec)
-
src/net/write_unix_test.go
) // Test that a client can't trigger an endless loop of write system // calls on the server by shutting down the write side on the client. // Possibility raised in the discussion of https://golang.org/cl/71973. func TestEndlessWrite(t *testing.T) { t.Parallel() c := make(chan bool) server := func(cs *TCPConn) error { cs.CloseWrite() <-c return nil } client := func(ss *TCPConn) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.6K bytes - Viewed (0)