Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestServerHandshakeContextCancellation (0.64 sec)

  1. src/crypto/tls/handshake_server_test.go

    			}
    		})
    	}
    }
    
    // TestServerHandshakeContextCancellation tests that canceling
    // the context given to the server side conn.HandshakeContext
    // interrupts the in-progress handshake.
    func TestServerHandshakeContextCancellation(t *testing.T) {
    	c, s := localPipe(t)
    	ctx, cancel := context.WithCancel(context.Background())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top