- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHairpinInClose (0.15 sec)
-
src/crypto/tls/conn_test.go
// the tls.Conn which is calling it. type hairpinConn struct { net.Conn tlsConn *Conn } func (conn *hairpinConn) Close() error { conn.tlsConn.ConnectionState() return nil } func TestHairpinInClose(t *testing.T) { // This tests that the underlying net.Conn can call back into the // tls.Conn when being closed without deadlocking. client, server := localPipe(t) defer server.Close() defer client.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:35:01 UTC 2023 - 10.5K bytes - Viewed (0)