httputil: fix SPDY support with reverse proxy (#2134)

This commit is contained in:
Caleb Doxsey 2021-04-26 14:45:07 -06:00 committed by GitHub
parent 9d0baad136
commit b3216ae854
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 3 deletions

View file

@ -53,7 +53,7 @@ func TestPolicyHTTPTransport(t *testing.T) {
defer s.Close()
get := func(options *Options, policy *Policy) (*http.Response, error) {
transport := NewPolicyHTTPTransport(options, policy)
transport := NewPolicyHTTPTransport(options, policy, false)
client := &http.Client{
Transport: transport,
}