1. 12 Jul, 2018 4 commits
    • Brad Fitzpatrick's avatar
      net/http: add tests to validate that Client.Timeout closes connections · 10d977d7
      Brad Fitzpatrick authored
      For #23399
      
      Change-Id: I9bc7c21fda6bfa89af2e7656e5c85aa9edd4f29e
      Reviewed-on: https://go-review.googlesource.com/123435Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      10d977d7
    • Rob Pike's avatar
      doc: clarify a sentence about *_js.go · d87f6356
      Rob Pike authored
      Change "have to" to "need to" for clarity and to avoid a
      peculiar English idiom.
      
      Change-Id: Iec2b1f841d0353dd7925f8f934fe82d4ed059d7d
      Reviewed-on: https://go-review.googlesource.com/123495Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      d87f6356
    • Matthew Dempsky's avatar
      cmd/compile: fix ICE due to missing inline function body · cc422e64
      Matthew Dempsky authored
      For golang.org/cl/74110, I forgot that you can use range-based for
      loops to extract key values from a map value.
      
      This wasn't a problem for the binary format importer, because it was
      more tolerant about missing inline function bodies. However, the
      indexed importer is more particular about this.
      
      We could potentially just make it more lenient like the binary
      importer, but tweaking the logic here is easy enough and seems like
      the preferable solution.
      
      Fixes #26341.
      
      Change-Id: I54564dcd0be60ea393f8a0f6954b7d3d61e96ee5
      Reviewed-on: https://go-review.googlesource.com/123475
      Run-TryBot: Matthew Dempsky <mdempsky@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarHeschi Kreinick <heschi@google.com>
      cc422e64
    • Russ Cox's avatar
      cmd/dist: enable build cache always · 6b89194c
      Russ Cox authored
      GOCACHE=off is not a reliable signal of user intent.
      
      At startup the go command fills in an empty GOCACHE with the effective setting.
      If $HOME is set, then GOCACHE ends up somewhere in $HOME/.cache.
      But if $HOME is unset, then the go command sets GOCACHE=off explicitly.
      
      That environment is used for invoking "go tool dist".
      
      So if the machine has no $HOME, then go tool dist ends up with the cache
      disabled even though the user was not trying to disable the cache.
      This affects the linux-ppc64le builder, which appears to be unique
      among builders in not having $HOME set. So that builder is running
      with no build cache.
      
      Now that there is a cmd/go test that needs the cache to be on,
      the linux-ppc64le builder is failing.
      
      In the next release we intend to force the use of the build cache
      always. This CL is not doing that: it's only forcing the use of the
      build cache during all.bash, which won't affect the majority of
      our users (they run pre-build binary releases).
      
      If this is a problem we can roll it back and fix the linux-ppc64le
      builders some other way.
      
      While we're here, print a few more useful variables in 'go tool dist env'
      and sort the output.
      
      Change-Id: I66548aa8990d0794cbc0f2069b739ab1834898dd
      Reviewed-on: https://go-review.googlesource.com/123297
      Run-TryBot: Russ Cox <rsc@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      6b89194c
  2. 11 Jul, 2018 13 commits
  3. 10 Jul, 2018 18 commits
  4. 09 Jul, 2018 5 commits