1. 28 Apr, 2019 1 commit
  2. 02 Oct, 2018 1 commit
  3. 25 Sep, 2018 1 commit
  4. 15 Dec, 2017 2 commits
    • Steven Allen's avatar
      return buffer if mac fails · 6d7c50d7
      Steven Allen authored
      6d7c50d7
    • Steven Allen's avatar
      refactor secio handshake · 765a37f9
      Steven Allen authored
      1. Respect context. Before, we didn't respect the context when writing/reading
      the final nonce.
      2. Don't make assumptions about connection buffering. Read/write handshake
      messages in parallel.
      3. Return messages from ReadMsg to the buffer pool.
      4. Close the connection on timeout. We can't reuse it at this point as there may
      be an outstanding writer/reader (and we don't allow parallel reads/writes).
      765a37f9
  5. 19 Nov, 2017 2 commits
    • Steven Allen's avatar
      share the buffer pool. · 9f79cbcd
      Steven Allen authored
      Before, we were copying it (dangerously, locks and stuff), into every writer.
      Now, we share it (like we should...).
      
      note: I'm not even sure if we should be using buffer pools (the allocator may be
      faster in this case) but that's another issue.
      9f79cbcd
    • Steven Allen's avatar
      switch to libp2p/go-msgio · 8f2205fe
      Steven Allen authored
      8f2205fe
  6. 20 Mar, 2017 1 commit
  7. 03 Feb, 2017 2 commits
  8. 05 Oct, 2016 1 commit
  9. 15 Aug, 2016 1 commit
  10. 16 Apr, 2016 1 commit
  11. 30 Jan, 2016 1 commit
    • Randall Leeds's avatar
      Leave overflow logic to go-msgio · 62b0a5c2
      Randall Leeds authored
      go-msgio implements the message length limit (currently 8MB), so the
      secio reader can get away without re-implementing this logic.
      
      Instead, the reader lets go-msgio allocate a buffer when the output
      buffer is too small to hold the incoming message. This buffer is kept
      and drained into the output buffer(s) of Read() calls and released back
      to the msgio instance once it is fully drained.
      
      License: MIT
      Signed-off-by: default avatarRandall Leeds <randall@bleeds.info>
      62b0a5c2
  12. 04 Jan, 2016 1 commit
  13. 07 Dec, 2015 1 commit
    • Jeromy's avatar
      WIP · 47fb36ea
      Jeromy authored
      47fb36ea
  14. 19 Nov, 2015 1 commit
  15. 16 Nov, 2015 2 commits
  16. 12 Nov, 2015 1 commit
  17. 30 Sep, 2015 1 commit