diff options
| author | Emmanuel Odeke <emm.odeke@gmail.com> | 2016-10-16 05:00:27 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-10-17 09:02:42 +0000 |
| commit | fe4307f0607dff7742d047b04df06e721aea7906 (patch) | |
| tree | 6fb38164226cc9836e318411b6c01aa726cc78e1 /src/runtime | |
| parent | 516001f50ff3de9f7de2a0525bb771b509504e93 (diff) | |
| download | go-fe4307f0607dff7742d047b04df06e721aea7906.tar.xz | |
net/http: support multiple identical Content-Length headers
Referencing RFC 7230 Section 3.3.2, this CL
deduplicates multiple identical Content-Length headers
of a message or rejects the message as invalid if the
Content-Length values differ.
Fixes #16490
Change-Id: Ia6b0f58ec7d35710b11a36113d2bd9128f693f64
Reviewed-on: https://go-review.googlesource.com/31252
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
