1. 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
  2. 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
  3. 04 Aug, 2017 1 commit
  4. 02 Aug, 2017 1 commit
  5. 01 Aug, 2017 1 commit
  6. 27 Jul, 2017 1 commit
  7. 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
  8. 17 Nov, 2016 1 commit
  9. 10 Nov, 2016 1 commit
  10. 08 Nov, 2016 1 commit
  11. 04 Nov, 2016 1 commit
  12. 05 Oct, 2016 2 commits
  13. 04 Oct, 2016 5 commits
  14. 03 Oct, 2016 1 commit
  15. 25 Sep, 2016 1 commit
  16. 18 Sep, 2016 1 commit
  17. 16 Sep, 2016 1 commit
  18. 08 Sep, 2016 3 commits
  19. 05 Sep, 2016 2 commits
  20. 04 Sep, 2016 2 commits
  21. 03 Sep, 2016 1 commit
  22. 24 Aug, 2016 2 commits
  23. 18 Aug, 2016 3 commits
  24. 16 Aug, 2016 1 commit
  25. 11 Aug, 2016 1 commit
  26. 10 Aug, 2016 2 commits