diff options
| author | Jonathon Lacher <jonathon.lacher@gmail.com> | 2019-05-14 15:11:30 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2019-05-14 15:37:14 +0000 |
| commit | a5cea062b305c8502bdc959c0eec279dbcd4391f (patch) | |
| tree | a0359e0c022c07f1da9e9e62554a46b9701b9d5e /src/database/sql/convert.go | |
| parent | 40b433e6fb42f278943176269de549bf3e40faf0 (diff) | |
| download | go-a5cea062b305c8502bdc959c0eec279dbcd4391f.tar.xz | |
net/http/httputil: remove all fields in Connection header
In the reverseproxy, replace use (Header).Get, which returns only one value
of a multiple value header, with using the Header map directly. Also fixes
corresponding tests which hid the bug, and adds more tests.
Fixes #30303
Change-Id: Ic9094b5983043460697748759f6dfd95fc111db7
GitHub-Last-Rev: b41038143f602d4286cb46c542d40de02e6e639d
GitHub-Pull-Request: golang/go#30687
Reviewed-on: https://go-review.googlesource.com/c/go/+/166298
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql/convert.go')
0 files changed, 0 insertions, 0 deletions
