1. 16 Apr, 2015 1 commit
    • Mikio Hara's avatar
      net: fix TestDialGoogle with -ipv6 when CGO_ENABLED=0 · 57bc7a04
      Mikio Hara authored
      Under some dial tests that require external network connectivity, we
      must prevent application traffic but must not interfere with control
      plane traffic such as DNS message exchange. But test helper function
      disableSocketConnect prevents both application and control plane traffic
      unconditionally and makes some dial tests with -ipv6 fail when
      CGO_ENABLED=0.
      
      This change makes disableSocketConnect take a look at not only address
      family but socket type for fixing some dial tests with -ipv6 when
      CGO_ENBALED=0.
      
      Change-Id: I32241d9592d31483424bb5e69cb4d56f3fc20312
      Reviewed-on: https://go-review.googlesource.com/8743Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      57bc7a04
  2. 15 Apr, 2015 22 commits
  3. 14 Apr, 2015 13 commits
  4. 13 Apr, 2015 4 commits