commit | 62affa334b73ec65ed44a326519ac12c421905e3 | [log] [tgz] |
---|---|---|
author | Paschalis Tsilias <paschalistsilias@gmail.com> | Wed Jun 03 12:30:35 2020 +0300 |
committer | Emmanuel Odeke <emm.odeke@gmail.com> | Fri Sep 04 19:48:48 2020 +0000 |
tree | ac19633e05260436bcd6c7274c6d2be52cfa3be3 | |
parent | c89045814202410a2d67ec20ecf177ec77ceae7f [diff] |
x/net/http2: reject HTTP/2 Content-Length headers containing a sign Continuing the work of CL 234817, we enforce the same for HTTP/2 connections; that Content-Length header values with a sign (such as "+5") are rejected or ignored. In each place, the handling of such incorrect headers follows the approach already in place. Fixes golang/go#39017 Change-Id: Ie4854962dd0091795cb861d1cb3a78ce753fd3a8 Reviewed-on: https://go-review.googlesource.com/c/net/+/236098 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.