1. 01 Dec, 2018 2 commits
    • Brad Fitzpatrick's avatar
      net/http: update bundled x/net/http2 · 6d6c8582
      Brad Fitzpatrick authored
      This updates x/net/http2 to x/net git rev 351d144f for:
      
         http2: revert Transport's strict interpretation of MAX_CONCURRENT_STREAMS
         https://golang.org/cl/151857
      
         http2: don't leak streams on broken body
         https://golang.org/cl/132715
      
         http2: remove support for Go 1.8 and earlier
         https://golang.org/cl/145677
      
         http2: reduce init-time work & allocations
         https://golang.org/cl/127664
      
      And some CLs fixing typos.
      
      Fixes #27044
      Fixes #27208
      
      Change-Id: I11cc32576c690199ceb4c0bd1448d01e3cab3097
      Reviewed-on: https://go-review.googlesource.com/c/152080
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      Reviewed-by: default avatarEmmanuel Odeke <emm.odeke@gmail.com>
      6d6c8582
    • Elias Naur's avatar
      syscall: avoid "64"-postfixed libSystem syscalls on iOS · e985ba80
      Elias Naur authored
      The stat(2) man page contain this comment about the 64-bit versions
      of the system file functions:
      
      "Platforms that were released after these updates only have the
      newer variants available to them.  These platforms have the macro
      _DARWIN_FEATURE_ONLY_64_BIT_INODE defined."
      
      It turns out that on iOS the _DARWIN_FEATURE_ONLY_64_BIT_INODE is
      defined and that even though the "64"-postfixed versions are
      accessible they are deemed private. Apps that refer to private
      API are not admissible on App Store, and after the Go runtime
      started using libSystem instead of direct syscalls, the App Store
      submission checks reject apps built with Go tip.
      
      The fix is simple: use the non-postfixed versions on iOS.
      
      getdirentries(2) is not changed; it is not available at all on iOS
      and needs replacement.
      
      Updates #28984
      
      Change-Id: Icb8d44e271456acaa1913ba486fcf5b569722fa9
      Reviewed-on: https://go-review.googlesource.com/c/151938
      Run-TryBot: Elias Naur <elias.naur@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarKeith Randall <khr@golang.org>
      e985ba80
  2. 30 Nov, 2018 10 commits
  3. 29 Nov, 2018 26 commits
  4. 28 Nov, 2018 2 commits