Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSelectFlushInterval (0.19 sec)

  1. src/net/http/httputil/reverseproxy_test.go

    				if resp != nil {
    					io.Copy(io.Discard, resp.Body)
    					resp.Body.Close()
    				}
    			}
    		}()
    	}
    	wg.Wait()
    }
    
    func TestSelectFlushInterval(t *testing.T) {
    	tests := []struct {
    		name string
    		p    *ReverseProxy
    		res  *http.Response
    		want time.Duration
    	}{
    		{
    			name: "default",
    			res:  &http.Response{},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
Back to top