Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestErrConnKilledHTTP2 (0.49 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    	}
    	if !info.Reused {
    		panic(fmt.Sprintf("expected the connection to be reused, info %#v", info))
    	}
    }
    
    // TestErrConnKilledHTTP2 check if HTTP/2 connection is not closed when an HTTP handler panics
    // The net/http library recovers the panic and sends an HTTP/2 RST_STREAM.
    func TestErrConnKilledHTTP2(t *testing.T) {
    	var buf bytes.Buffer
    	klog.SetOutput(&buf)
    	klog.LogToStderr(false)
    	defer klog.LogToStderr(true)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top