Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTLSServerClosesConnection (0.42 sec)

  1. src/net/http/transport_test.go

    		t.Errorf("expected 'handshake timeout' in error; got %v", err)
    	}
    }
    
    // Trying to repro golang.org/issue/3514
    func TestTLSServerClosesConnection(t *testing.T) {
    	run(t, testTLSServerClosesConnection, []testMode{https1Mode})
    }
    func testTLSServerClosesConnection(t *testing.T, mode testMode) {
    	closedc := make(chan bool, 1)
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top