commit | 07e8617a6db2368fa55d4616f371ee1b1403c817 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Wed Mar 07 20:24:50 2018 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Wed Mar 07 20:53:06 2018 +0000 |
tree | e82e798bc7284b011cb6850466f45d1e19c130da | |
parent | d25186b37f34ebdbbea8f488ef055638dfab272d [diff] |
http2/h2demo: set externalTrafficPolicy to preserve client IPs So https://http2.golang.org/reqinfo has a RemoteAddr of the client's actual IP address. Change-Id: I9db52b2f451ad937d013dd78078e4228e732ffe0 Reviewed-on: https://go-review.googlesource.com/99235 Reviewed-by: David Anderson <danderson@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@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.