Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/serve_test.go

    	s.Close()
    	s.Close()
    }
    
    // Issue 17717: tests that Server.SetKeepAlivesEnabled is respected by
    // both HTTP/1 and HTTP/2.
    func TestServerKeepAlivesEnabled(t *testing.T) { run(t, testServerKeepAlivesEnabled, testNotParallel) }
    func testServerKeepAlivesEnabled(t *testing.T, mode testMode) {
    	if mode == http2Mode {
    		restore := ExportSetH2GoawayTimeout(10 * time.Millisecond)
    		defer restore()
    	}
    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