1. 07 Sep, 2016 10 commits
  2. 17 Aug, 2016 1 commit
  3. 16 Aug, 2016 1 commit
  4. 15 Aug, 2016 4 commits
  5. 08 Aug, 2016 3 commits
    • Chris Broadfoot's avatar
      go1.7rc6 · 1e933ed7
      Chris Broadfoot authored
      Change-Id: Ie76b5af0ecc4c64c523110b44483c06e7031237c
      Reviewed-on: https://go-review.googlesource.com/25582Reviewed-by: default avatarChris Broadfoot <cbro@golang.org>
      1e933ed7
    • Chris Broadfoot's avatar
      all: merge master into release-branch.go1.7 · 78d024a5
      Chris Broadfoot authored
      7a622740 net/http: make Transport use new connection if over HTTP/2 concurrency limit
      219ca602 doc: fix required OS X version inconsistency for binary downloads
      26015b95 runtime: make stack 16-byte aligned for external code in _rt0_amd64_linux_lib
      9fde86b0 runtime, syscall: fix kernel gettimeofday ABI change on iOS 10
      3a03e877 os: check for waitid returning ENOSYS
      10316757 net/http: update bundled http2 for flow control window adjustment fix
      da070bed syscall: fix Gettimeofday on macOS Sierra
      f135c326 runtime: initialize hash algs before typemap
      
      Change-Id: Ie176f3db1e253d75ae8e56b16d3fd9900b37dde3
      78d024a5
    • Brad Fitzpatrick's avatar
      net/http: make Transport use new connection if over HTTP/2 concurrency limit · 7a622740
      Brad Fitzpatrick authored
      The Go HTTP/1 client will make as many new TCP connections as the user requests.
      
      The HTTP/2 client tried to have that behavior, but the policy of
      whether a connection is re-usable didn't take into account the extra 1
      stream counting against SETTINGS_MAX_CONCURRENT_STREAMS so in practice
      users were getting errors.
      
      For example, if the server's advertised max concurrent streams is 100
      and 200 concurrrent Go HTTP requests ask for a connection at once, all
      200 will think they can reuse that TCP connection, but then 100 will
      fail later when the number of concurrent streams exceeds 100.
      
      Instead, recognize the "no cached connections" error value in the
      shouldRetryRequest method, so those 100 will retry a new connection.
      
      This is the conservative fix for Go 1.7 so users don't get errors, and
      to match the HTTP/1 behavior. Issues #13957 and #13774 are the more
      involved bugs for Go 1.8.
      
      Updates #16582
      Updates #13957
      
      Change-Id: I1f15a7ce60c07a4baebca87675836d6fe03993e8
      Reviewed-on: https://go-review.googlesource.com/25580
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      Reviewed-by: default avatarChris Broadfoot <cbro@golang.org>
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      7a622740
  6. 06 Aug, 2016 1 commit
  7. 05 Aug, 2016 4 commits
  8. 04 Aug, 2016 2 commits
    • Brad Fitzpatrick's avatar
      syscall: fix Gettimeofday on macOS Sierra · da070bed
      Brad Fitzpatrick authored
      Fixes #16606
      
      Change-Id: I57465061b90e901293cd8b6ef756d6aa84ebd4a3
      Reviewed-on: https://go-review.googlesource.com/25495Reviewed-by: default avatarQuentin Smith <quentin@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      Run-TryBot: Quentin Smith <quentin@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      da070bed
    • David Crawshaw's avatar
      runtime: initialize hash algs before typemap · f135c326
      David Crawshaw authored
      When compiling with -buildmode=shared, a map[int32]*_type is created for
      each extra module mapping duplicate types back to a canonical object.
      This is done in the function typelinksinit, which is called before the
      init function that sets up the hash functions for the map
      implementation. The result is typemap becomes unusable after
      runtime initialization.
      
      The fix in this CL is to move algorithm init before typelinksinit in
      the runtime setup process. (For 1.8, we may want to turn typemap into
      a sorted slice of types and use binary search.)
      
      Manually tested on GOOS=linux with:
      
      	GOHOSTARCH=386 GOARCH=386 ./make.bash && \
      		go install -buildmode=shared std && \
      		cd ../test && \
      		go run run.go -linkshared
      
      Fixes #16590
      
      Change-Id: Idc08c50cc70d20028276fbf564509d2cd5405210
      Reviewed-on: https://go-review.googlesource.com/25469
      Run-TryBot: David Crawshaw <crawshaw@golang.org>
      Reviewed-by: default avatarKeith Randall <khr@golang.org>
      f135c326
  9. 02 Aug, 2016 12 commits
  10. 29 Jul, 2016 1 commit
    • Cherry Zhang's avatar
      cmd/compile: fix possible spill of invalid pointer with DUFFZERO on AMD64 · 111d590f
      Cherry Zhang authored
      SSA compiler on AMD64 may spill Duff-adjusted address as scalar. If
      the object is on stack and the stack moves, the spilled address become
      invalid.
      
      Making the spill pointer-typed does not work. The Duff-adjusted address
      points to the memory before the area to be zeroed and may be invalid.
      This may cause stack scanning code panic.
      
      Fix it by doing Duff-adjustment in genValue, so the intermediate value
      is not seen by the reg allocator, and will not be spilled.
      
      Add a test to cover both cases. As it depends on allocation, it may
      be not always triggered.
      
      Fixes #16515.
      
      Change-Id: Ia81d60204782de7405b7046165ad063384ede0db
      Reviewed-on: https://go-review.googlesource.com/25309
      Run-TryBot: Cherry Zhang <cherryyz@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarDavid Chase <drchase@google.com>
      111d590f
  11. 28 Jul, 2016 1 commit