]> Cypherpunks repositories - gostls13.git/commit
net/http/httputil: also remove non-standard Proxy-Connection hop-by-hop header
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 3 Feb 2016 21:35:03 +0000 (21:35 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 3 Feb 2016 22:02:01 +0000 (22:02 +0000)
commit91911e39f0fdfecc5453f9eca7ff74215ffb28a2
tree8eb292fa3c24e227abc5b2c5574b61c8aee679c7
parent03f42ee3a561100f99bd98c3a52780536a422ab7
net/http/httputil: also remove non-standard Proxy-Connection hop-by-hop header

libcurl sends this (despite never being standardized), and the Google
GFE rejects it with a 400 bad request (but only when over http2?).

So nuke it.

Change-Id: I3fc95523d50f33a0e23bb26b9195f70ab0aed0f4
Reviewed-on: https://go-review.googlesource.com/19184
Reviewed-by: Chris Broadfoot <cbro@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/httputil/reverseproxy.go
src/net/http/httputil/reverseproxy_test.go