1. 12 Feb, 2015 1 commit
    • Bryan C. Mills's avatar
      net/context: Don't leak goroutines in Done example. · 59b0df9b
      Bryan C. Mills authored
      The current example leaks the DoSomethingSlow goroutine for an
      arbitrarily long time.  In a real server, that can lead to an
      out-of-memory failure during events such as network outages; a
      more careful version of that example would be too long for a
      simple package doc.
      
      Fortunately, there are other short, common patterns using Done
      that don't leak and don't require a lot of explanation.  Let's
      use one of those instead.
      
      Change-Id: I0ad0c6121d06b757a397e0e71be9e01ccfd75f77
      Reviewed-on: https://go-review.googlesource.com/4490Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
      59b0df9b
  2. 10 Feb, 2015 3 commits
  3. 09 Feb, 2015 1 commit
  4. 06 Feb, 2015 4 commits
  5. 04 Feb, 2015 4 commits
  6. 02 Feb, 2015 2 commits
  7. 01 Feb, 2015 1 commit
  8. 30 Jan, 2015 5 commits
  9. 29 Jan, 2015 4 commits
  10. 27 Jan, 2015 3 commits
  11. 22 Jan, 2015 1 commit
  12. 21 Jan, 2015 1 commit
  13. 20 Jan, 2015 1 commit
  14. 17 Jan, 2015 2 commits
  15. 16 Jan, 2015 2 commits
  16. 15 Jan, 2015 3 commits
  17. 09 Jan, 2015 1 commit
  18. 08 Jan, 2015 1 commit