Brad Fitzpatrick 5916dcb167 http2, lex/httplex: make Transport reject bogus headers before sending
The http2.Transport was able to send bogus header keys & values.
This changes rejects them earlier, before they hit the wire.

In the process, mirror the lexical rules from the http package to x/net.
Maintaining two copies has gotten increasingly annoying.

Updates golang/go#14048

Change-Id: I20abcdeea92e7dc8706a1bbd60688ee8843a2b12
Reviewed-on: https://go-review.googlesource.com/23229
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-05-19 01:54:56 +00:00
2016-01-08 17:00:32 +00:00
2016-05-18 03:10:31 +00:00
2016-05-18 03:10:44 +00:00
2016-05-18 03:10:18 +00:00
2016-05-01 04:31:21 +00:00

This repository holds supplementary Go networking libraries.

To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
[mirror] Go supplementary network libraries
Readme BSD-3-Clause 13 MiB
Languages
Go 99.9%