1. 24 Apr, 2018 1 commit
  2. 21 Apr, 2018 2 commits
  3. 18 Apr, 2018 3 commits
    • Kenton Varda's avatar
      fixup: more size_t -> uint64_t · 3902a6c5
      Kenton Varda authored
      3902a6c5
    • Kenton Varda's avatar
    • Kenton Varda's avatar
      Implement in-process byte stream pipes. · 7117175d
      Kenton Varda authored
      This lets you construct an AsyncInputStream / AsyncOutputStream pair that operates entirely within userspace, rather than pushing through a kernel-level pipe. This is far more efficient, avoiding system calls and reducing copies.
      
      The pipe does not buffer at all. Instead, it waits for both a read() and a write() call to be active at the same time, and then it fulfills one with the other.
      
      This implementation also optimizes pumps. Imagine the situation: you create a pipe; you call pumpTo() on the write end to pump it to some other; then you write to the write end of the pipe. In this case, the write will *directly* call the target stream to which the pipe is being pumped. Hence, adding daisy-chained pipes on top of a final output stream does not incur additional copies of the data. Similarly, tryPumpFrom() is optimized on the read end.
      7117175d
  4. 23 Feb, 2018 1 commit
  5. 26 Jan, 2018 1 commit
    • Kenton Varda's avatar
      Treat 'Premature EOF' error on async stream as DISCONNECTED. · fe3e3657
      Kenton Varda authored
      Unfortunately TCP does not always distinguish between dirty connection failure and clean connection shutdown. In practice, though, "Premature EOF" errors on streams basically always appear to be due to disconnects (including when the peer crashes).
      fe3e3657
  6. 20 Nov, 2017 1 commit
  7. 23 Sep, 2017 1 commit
  8. 22 Sep, 2017 1 commit
  9. 21 Sep, 2017 2 commits
  10. 15 Sep, 2017 3 commits
  11. 14 Sep, 2017 2 commits
  12. 12 Sep, 2017 2 commits
  13. 02 Feb, 2017 1 commit
  14. 24 Jan, 2017 3 commits
  15. 22 Jan, 2017 2 commits
  16. 01 Dec, 2016 1 commit
  17. 12 Nov, 2016 1 commit
  18. 07 Nov, 2016 3 commits
  19. 29 Jul, 2016 1 commit
    • Vitali Lovich's avatar
      Fix build compatability with Android · cbacb180
      Vitali Lovich authored
      Add missing include when building on Linux
      
      Discovered trying to build on Android using CMake.  UIO_MAXIOV is only
      exported by the linux/uio.h header which was never included.  Not sure
      how normal Linux builds work.
      
      Add missing reinterpret cast from const void* to const byte*.
      
      Remove -pthread compile flag when building under Android.  ANDROID cmake
      variable exported by android-cmake project.
      cbacb180
  20. 06 Sep, 2015 1 commit
  21. 03 Jul, 2015 1 commit
  22. 16 May, 2015 1 commit
  23. 09 May, 2015 1 commit
  24. 19 Feb, 2015 1 commit
  25. 18 Feb, 2015 1 commit
  26. 29 Dec, 2014 1 commit
  27. 12 Dec, 2014 1 commit