go/src/net/net_test.go

func TestCloseRead(t *testing.T) {}

func TestCloseWrite(t *testing.T) {}

func TestConnClose(t *testing.T) {}

func TestListenerClose(t *testing.T) {}

func TestPacketConnClose(t *testing.T) {}

// See golang.org/issue/6163, golang.org/issue/6987.
func TestAcceptIgnoreAbortedConnRequest(t *testing.T) {}

func TestZeroByteRead(t *testing.T) {}

// withTCPConnPair sets up a TCP connection between two peers, then
// runs peer1 and peer2 concurrently. withTCPConnPair returns when
// both have completed.
func withTCPConnPair(t *testing.T, peer1, peer2 func(c *TCPConn) error) {}

// Tests that a blocked Read is interrupted by a concurrent SetReadDeadline
// modifying that Conn's read deadline to the past.
// See golang.org/cl/30164 which documented this. The net/http package
// depends on this.
func TestReadTimeoutUnblocksRead(t *testing.T) {}

// Issue 17695: verify that a blocked Read is woken up by a Close.
func TestCloseUnblocksRead(t *testing.T) {}

// Issue 24808: verify that ECONNRESET is not temporary for read.
func TestNotTemporaryRead(t *testing.T) {}

// The various errors should implement the Error interface.
func TestErrors(t *testing.T) {}