1. 07 Nov, 2018 1 commit
    • Steven Allen's avatar
      mocknet: use peer ID in peer address · f4229470
      Steven Allen authored
      RandLocalTCPAddress is mostly useful when we *actually* want to listen on a real
      address. Unfortunately, when running a bunch of tests, we can actually run
      out.
      
      With this change, a collision means we have a duplicate peer ID so yeah...
      
      fixes #473
      f4229470
  2. 24 Oct, 2018 2 commits
  3. 14 Sep, 2018 1 commit
  4. 08 Sep, 2018 1 commit
  5. 28 Aug, 2018 1 commit
  6. 08 Aug, 2018 2 commits
  7. 06 Jun, 2018 2 commits
  8. 05 Jun, 2018 1 commit
  9. 16 Feb, 2018 1 commit
  10. 17 Nov, 2017 1 commit
  11. 14 Sep, 2017 1 commit
    • Steven Allen's avatar
      make sure to not drop writes on close · 860d2784
      Steven Allen authored
      Before, on close, we:
      
      1. Weren't completing the write.
      2. Flushing the buffer without waiting the latency delay.
      
      This fixes that by using two separate channels for close/reset and ignoring the
      close channel in deliverOrWait.
      860d2784
  12. 13 Sep, 2017 2 commits
    • Steven Allen's avatar
      get rid of debugging code · 17354d77
      Steven Allen authored
      17354d77
    • Steven Allen's avatar
      update go-stream-muxer · 1b9aa778
      Steven Allen authored
      * Fix the tests to work with separate reset/close methods.
      * Ensure we interrupt writes on reset.
      * Always delay the proper time even if we're sending short messages.
      * Copy buffers as we send them. `Write` is not allowed to hang onto buffers. If
        we run into performance issues, we can always add a buffer pool.
      1b9aa778
  13. 04 Aug, 2017 1 commit
  14. 02 Aug, 2017 1 commit
  15. 01 Aug, 2017 1 commit
  16. 27 Jul, 2017 1 commit
  17. 31 May, 2017 1 commit
    • Lars Gierth's avatar
      basichost: refactor BasicHost construction · f0453a24
      Lars Gierth authored
      There were previously 4 different ways of passing various options
      into BasicHost construction.
      
      1. Function parameters to New
      2. Option parameters to New
      3. Global variables, e.g. NegotiateTimeout
      4. Options struct, in the calling code in go-ipfs
      
      This changeset deprecated all of these, and introduces the HostOpts
      struct to replace them. It also introduces a new constructor called
      NewHost, which accepts a *HostOpts.
      
      The old New constructor continues to work the same way,
      but is from now on deprecated too.
      f0453a24
  18. 17 Nov, 2016 1 commit
  19. 10 Nov, 2016 1 commit
  20. 08 Nov, 2016 1 commit
  21. 04 Nov, 2016 1 commit
  22. 05 Oct, 2016 2 commits
  23. 04 Oct, 2016 5 commits
  24. 03 Oct, 2016 1 commit
  25. 25 Sep, 2016 1 commit
  26. 18 Sep, 2016 1 commit
  27. 16 Sep, 2016 1 commit
  28. 08 Sep, 2016 3 commits
  29. 05 Sep, 2016 1 commit