Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNoCrashReturningTransportAltConn (0.48 sec)

  1. src/net/http/transport_test.go

    		} else if addr != firstAddr {
    			t.Fatalf("On request %d, addr %q != original addr %q", i+1, addr, firstAddr)
    		}
    		res.Body.Close()
    	}
    }
    
    // Issue 13839
    func TestNoCrashReturningTransportAltConn(t *testing.T) {
    	cert, err := tls.X509KeyPair(testcert.LocalhostCert, testcert.LocalhostKey)
    	if err != nil {
    		t.Fatal(err)
    	}
    	ln := newLocalListener(t)
    	defer ln.Close()
    
    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