Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHandlerPanicWithHijack (0.31 sec)

  1. src/net/http/serve_test.go

    }
    
    func TestHandlerPanic(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, false, mode, nil, "intentional death for testing")
    	}, testNotParallel)
    }
    
    func TestHandlerPanicWithHijack(t *testing.T) {
    	// Only testing HTTP/1, and our http2 server doesn't support hijacking.
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, true, mode, nil, "intentional death for testing")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top