Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTCPConnectionStaysOpen (0.16 sec)

  1. src/net/http/serve_test.go

    func TestHTTP10KeepAlive204Response(t *testing.T) {
    	testTCPConnectionStaysOpen(t, "GET / HTTP/1.0\r\nConnection: keep-alive\r\n\r\n", HandlerFunc(send204))
    }
    
    func TestHTTP11KeepAlive204Response(t *testing.T) {
    	testTCPConnectionStaysOpen(t, "GET / HTTP/1.1\r\nHost: foo\r\n\r\n", HandlerFunc(send204))
    }
    
    func TestHTTP10KeepAlive304Response(t *testing.T) {
    	testTCPConnectionStaysOpen(t,
    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