An error occurred fetching the project authors.
  1. 17 Dec, 2015 2 commits
  2. 03 Dec, 2015 1 commit
  3. 02 Dec, 2015 1 commit
  4. 28 Jul, 2015 1 commit
  5. 13 Jul, 2015 1 commit
  6. 15 May, 2015 1 commit
  7. 14 May, 2015 1 commit
  8. 07 May, 2015 1 commit
  9. 06 May, 2015 1 commit
  10. 30 Apr, 2015 1 commit
  11. 01 Apr, 2015 1 commit
  12. 31 Mar, 2015 1 commit
    • Mikio Hara's avatar
      net: add socket system call hooks for testing · 29d1f3b8
      Mikio Hara authored
      This change adds socket system call hooks to existing test cases for
      simulating a bit complicated network conditions to help making timeout
      and dual IP stack test cases work more properly in followup changes.
      
      Also test cases print debugging information in non-short mode like the
      following:
      
      Leaked goroutines:
      net.TestWriteTimeout.func2(0xc20802a5a0, 0xc20801d000, 0x1000, 0x1000, 0xc2081d2ae0)
      	/go/src/net/timeout_test.go:170 +0x98
      created by net.TestWriteTimeout
      	/go/src/net/timeout_test.go:173 +0x745
      net.runDatagramPacketConnServer(0xc2080730e0, 0x2bd270, 0x3, 0x2c1770, 0xb, 0xc2081d2ba0, 0xc2081d2c00)
      	/go/src/net/server_test.go:398 +0x667
      created by net.TestTimeoutUDP
      	/go/src/net/timeout_test.go:247 +0xc9
      	(snip)
      
      Leaked sockets:
      3: {Cookie:615726511685632 Err:<nil> SocketErr:0}
      5: {Cookie:7934075906097152 Err:<nil> SocketErr:0}
      
      Socket statistical information:
      {Family:1 Type:805306370 Protocol:0 Opened:17 Accepted:0 Connected:5 Closed:17}
      {Family:2 Type:805306369 Protocol:0 Opened:450 Accepted:234 Connected:279 Closed:636}
      {Family:1 Type:805306369 Protocol:0 Opened:11 Accepted:5 Connected:5 Closed:16}
      {Family:28 Type:805306369 Protocol:0 Opened:95 Accepted:22 Connected:16 Closed:116}
      {Family:2 Type:805306370 Protocol:0 Opened:84 Accepted:0 Connected:34 Closed:83}
      {Family:28 Type:805306370 Protocol:0 Opened:52 Accepted:0 Connected:4 Closed:52}
      
      Change-Id: I0e84be59a0699bc31245c78e2249423459b8cdda
      Reviewed-on: https://go-review.googlesource.com/6390Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      29d1f3b8
  13. 15 Jan, 2015 1 commit
  14. 08 Sep, 2014 1 commit
  15. 04 Sep, 2014 1 commit
  16. 30 Aug, 2014 1 commit
    • Alex A Skinner's avatar
      net: implement query-response fast failover in builtin dns stub resolver · 39a021bc
      Alex A Skinner authored
      Speed improvements via code cleanup, and changes to make go dns behave more like glibc resolver.  See https://groups.google.com/forum/#!topic/golang-dev/lV-0aHqxVeo
      
      Fixes #6579.
      
      Benchmark results on linux/amd64
      
      benchmark                                  old ns/op    new ns/op    delta
      BenchmarkGoLookupIP                          4831903      2572937  -46.75%
      BenchmarkGoLookupIPNoSuchHost               10114105      2419641  -76.08%
      BenchmarkGoLookupIPWithBrokenNameServer  20007735624   5004490730  -74.99%
      
      benchmark                                 old allocs   new allocs    delta
      BenchmarkGoLookupIP                              287          288    0.35%
      BenchmarkGoLookupIPNoSuchHost                    204          102  -50.00%
      BenchmarkGoLookupIPWithBrokenNameServer          410          358  -12.68%
      
      benchmark                                  old bytes    new bytes    delta
      BenchmarkGoLookupIP                            13181        13271    0.68%
      BenchmarkGoLookupIPNoSuchHost                  17260         8714  -49.51%
      BenchmarkGoLookupIPWithBrokenNameServer        28160        22432  -20.34%
      
      LGTM=mikioh.mikioh
      R=golang-codereviews, mikioh.mikioh, bradfitz, josharian, abursavich
      CC=golang-codereviews
      https://golang.org/cl/128820043
      39a021bc
  17. 29 Aug, 2014 1 commit
    • Alex A Skinner's avatar
      net: ensure identical queries are not sent multiple times in builtin stub resolver · 854dbb7f
      Alex A Skinner authored
      Prevents non-rooted queries with > ndots dots from being tried twice on error.
      Fixes #8616.
      
      Benchmark results on linux/amd64
      benchmark                        old ns/op    new ns/op    delta
      BenchmarkGoLookupIPNoSuchHost      8212394      4413293  -46.26%
      
      benchmark                       old allocs   new allocs    delta
      BenchmarkGoLookupIPNoSuchHost          216          108  -50.00%
      
      benchmark                        old bytes    new bytes    delta
      BenchmarkGoLookupIPNoSuchHost        17460         8726  -50.02%
      
      LGTM=iant, mikioh.mikioh
      R=golang-codereviews, iant, mikioh.mikioh
      CC=golang-codereviews
      https://golang.org/cl/137870043
      854dbb7f
  18. 06 Aug, 2014 1 commit
  19. 15 May, 2014 1 commit
  20. 30 Apr, 2014 1 commit
  21. 23 Aug, 2013 1 commit
  22. 14 Aug, 2013 1 commit
  23. 13 Aug, 2013 3 commits