Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHandshakeRace (0.15 sec)

  1. src/crypto/tls/handshake_client_test.go

    	}
    	clientWCC.Close()
    	<-done
    
    	if n := serverWCC.numWrites; n != 1 {
    		t.Errorf("expected server handshake to complete with one write, but saw %d", n)
    	}
    }
    
    func TestHandshakeRace(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in -short mode")
    	}
    	t.Parallel()
    	// This test races a Read and Write to try and complete a handshake in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top