1. 16 Jun, 2019 2 commits
  2. 15 Jun, 2019 4 commits
  3. 10 Jun, 2019 3 commits
  4. 09 Jun, 2019 3 commits
  5. 30 May, 2019 2 commits
  6. 27 May, 2019 2 commits
  7. 24 May, 2019 2 commits
  8. 02 May, 2019 2 commits
  9. 26 Apr, 2019 1 commit
  10. 22 Apr, 2019 7 commits
  11. 21 Apr, 2019 3 commits
  12. 19 Apr, 2019 5 commits
  13. 18 Apr, 2019 4 commits
    • Harris Hancock's avatar
      Fulfill AsyncPipe::tryPumpFrom() on EOF · 547bb03b
      Harris Hancock authored
      Previously if the input stream being pumped from encountered an EOF while the other side of the pipe was being pumped elsewhere, we did not fulfill the tryPumpFrom() promise, leaving it hanging.
      547bb03b
    • Kenton Varda's avatar
      Extend rpc.capnp to define how to attach file descriptors to capabilities. · 84c7ba81
      Kenton Varda authored
      This is just the protocol change, not implementation.
      84c7ba81
    • Kenton Varda's avatar
      Extend AsyncCapabilityStream to support sending FDs with a message. · 65b4f247
      Kenton Varda authored
      Previously, FDs could only be sent separately from data, with the underlying implementation actually sending a dummy one-byte message.
      
      For Cap'n Proto FD passing, it's better if we can attach the FDs to the RPC message they arrived with, because it avoids the need to pre-negotiate where FD passing is supported: if the sender sends FDs but the recipient doesn't arrange to receive them, the FDs will be discarded and closed automatically by the OS. Whereas, if we are sending separate one-byte messages, the recipient needs to know what to do with those.
      65b4f247
    • Kenton Varda's avatar
      Tweak: Remove redundant UnwindDetector from AutoCloseFd. · ce27fd77
      Kenton Varda authored
      This is redundant as the destructor already uses a recoverable assertion, which will not throw during unwind.
      
      I have long assumed AutoCloseFd wrapped only an integer and was shocked to realize it was more that that...
      ce27fd77