Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/request_test.go

    // the payload size and the internal leeway buffer size of 10MiB overflows, that we
    // correctly return an error.
    func TestMaxInt64ForMultipartFormMaxMemoryOverflow(t *testing.T) {
    	run(t, testMaxInt64ForMultipartFormMaxMemoryOverflow)
    }
    func testMaxInt64ForMultipartFormMaxMemoryOverflow(t *testing.T, mode testMode) {
    	payloadSize := 1 << 10
    	cst := newClientServerTest(t, mode, HandlerFunc(func(rw ResponseWriter, req *Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top