commit | 56fb01167e7d1e1d17dd87993d34c963f4356e87 | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.public.networking@gmail.com> | Thu Dec 27 04:18:42 2018 +0900 |
committer | Mikio Hara <mikioh.public.networking@gmail.com> | Mon Mar 11 03:10:20 2019 +0000 |
tree | 59ffa0c9b12625fe0c5f585891144f0ff653170e | |
parent | c10a0554eabf8a6a7a6cc3097c9d9f43dcee0a43 [diff] |
icmp: add simple multipart message validation This change adds simple validation for multipart messages to avoid generating incorrect messages and introduces RawBody and RawExtension to control message validation. RawBody and RawExtension are excluded from normal message processing and can be used to construct crafted messages for applications such as wire format testing. Fixes golang/go#28686. Change-Id: I56f51d6566142f5e1dcc75cfce5250801e583d6d Reviewed-on: https://go-review.googlesource.com/c/net/+/155859 Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
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.