Skip to content

Commit

Permalink
tris: update Go to 1.9
Browse files Browse the repository at this point in the history
Use Go 1.9 (go1.9) with a patch to enable users to access the 0RTT API:

    net/http: attach TLSConnContextKey to the request Context
  • Loading branch information
Lekensteyn committed Sep 7, 2017
1 parent cd63e47 commit 25f2efc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,7 +23,7 @@ So, to build with tls-tris, you need to use a custom GOROOT.
A script is provided that will take care of it for you: `./_dev/go.sh`.
Just use that instead of the `go` tool.

The script also transparently fetches the custom Cloudflare Go 1.8rc3 compiler with the required backports.
The script also transparently fetches the custom Cloudflare Go 1.9 compiler with the required backports.

```
./_dev/go.sh build ./_dev/tris-localserver
Expand Down
4 changes: 2 additions & 2 deletions _dev/Makefile
Expand Up @@ -22,15 +22,15 @@ endif

# Note: when changing this, if it doesn't change the Go version
# (it should), you need to run make clean.
GO_COMMIT := 98882e950cbb48ce7aad4b5b9972601d3438fbe5
GO_COMMIT := 88253a956a753213617d95af3f42a23a78798473

.PHONY: go
go: go/.ok_$(GO_COMMIT)_$(GOENV)

go/.ok_$(GO_COMMIT)_$(GOENV):
rm -rf go/.ok_*_$(GOENV) go/$(GOENV)
mkdir -p go
git clone --branch 1.8 --single-branch --depth 25 https://github.com/cloudflare/go go/$(GOENV)
git clone --branch 1.9 --single-branch --depth 25 https://github.com/cloudflare/go go/$(GOENV)
cd go/$(GOENV) && git checkout $(GO_COMMIT)
cd go/$(GOENV)/src && GOROOT_BOOTSTRAP="$(shell $(GO) env GOROOT)" ./make.bash
@touch "$@"
Expand Down

0 comments on commit 25f2efc

Please sign in to comment.