1. 10 Apr, 2018 15 commits
  2. 09 Apr, 2018 15 commits
  3. 08 Apr, 2018 2 commits
  4. 07 Apr, 2018 4 commits
  5. 06 Apr, 2018 4 commits
    • Daniel Martí's avatar
      cmd/vendor/.../pprof: update to 0f7d9ba1 · 31db81d3
      Daniel Martí authored
      In particular, to pull a few fixes that were causing some tests to be
      flaky on our build dashboard.
      
      Fixes #24405.
      Fixes #24508.
      Fixes #24611.
      
      Change-Id: I713156ad11c924e4a4b603144d10395523d526ed
      Reviewed-on: https://go-review.googlesource.com/105275
      Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      31db81d3
    • Mikio Hara's avatar
      net/http: replace SOCKS client implementation · 4acb305d
      Mikio Hara authored
      This change replaces the vendored socks client implementation with the
      bundle of golang.org/x/net/internal/socks package which contains fixes
      for 19354 and 11682.
      
      golang.org/x/net/internal/socks becomes socks_bundle.go.
      
      At git rev 61147c4. (golang.org/cl/38278)
      
      Updates #11682.
      Updates #18508.
      Updates #19354.
      Fixes #19688.
      Updates #21333.
      
      Change-Id: I8cf6c3f5eb87c24685a7592be015729f84fbed77
      Reviewed-on: https://go-review.googlesource.com/41031
      Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      4acb305d
    • Kir Kolyshkin's avatar
      os/user: add a way to enforce pure Go implementation · 62f0127d
      Kir Kolyshkin authored
      This provides a way to enforce pure Go implementation of os/user
      lookup functions on UNIX platforms by means of "osusergo" build tag,
      in a manner similar to netgo/netcgo tags in the net package.
      
      If "osusergo" build tag is set, Go implementation is selected.
      
      If "osusergo" build tag is NOT set, the old behavior is retained,
      that is to use cgo (libc-backed) implementation if both cgo and such
      and such implementation are available.
      
      The reason behind this change is to make it possible to build proper
      static binaries on Linux. The problem is, glibc implementation of
      getpw*, getgrp* and getgrouplist functions relies on presense of
      libnss*.so libraries during runtime, making it impossible to build
      a self-contained static binary which uses both cgo and os/user.
      In such case, linker warnings like this are shown:
      
      > warning: Using 'getgrouplist' in statically linked applications
      > requires at runtime the shared libraries from the glibc version
      > used for linking
      
      While this can be solved by recompiling glibc with --enable-static-nss
      flag or using a different libc implementation (like musl on Alpine Linux),
      it is not always practical or even possible.
      
      Fixes #23265
      
      Change-Id: I383a448a2ecf15493ec93dbd5d076b6330cb14cb
      Signed-off-by: default avatarKir Kolyshkin <kolyshkin@gmail.com>
      Reviewed-on: https://go-review.googlesource.com/92456
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      62f0127d
    • Veselkov Konstantin's avatar
      time: simplify comparison in test · 3c64c864
      Veselkov Konstantin authored
      Found using go-simple.
      
      Change-Id: I349e80a8c083688539bb4267564f02e3d7913da5
      Reviewed-on: https://go-review.googlesource.com/105195Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      3c64c864