- 19 Apr, 2019 1 commit
-
-
Kenton Varda authored
An endpoint (subclass of `Capability::Server`) may override `kj::Maybe<int> getFd()` to expose an underlying file descriptor. A remote client may use `Capability::Client::getFd()` on the endpoint's capability to get that FD. The client and server must explicitly opt into FD passing by passing a max-FDs-per-message limit to TwoPartyVatNetwork and using Unix sockets as the transport. Nothing other than that is needed.
-
- 18 Apr, 2019 5 commits
-
-
Kenton Varda authored
This is just the protocol change, not implementation.
-
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.
-
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...
-
Kenton Varda authored
Fix #800 : pwritev() missing before Android API Level 24.
-
chenqi authored
-
- 15 Apr, 2019 3 commits
-
-
Kenton Varda authored
Update link to @popham plugin
-
Kenton Varda authored
Fix typo
-
AlexDenisov authored
-
- 13 Apr, 2019 1 commit
-
-
Tim Popham authored
-
- 05 Apr, 2019 1 commit
-
-
Kenton Varda authored
Add HttpClient wrapper for limiting concurrent connections
-
- 03 Apr, 2019 1 commit
-
-
Joe Lee authored
-
- 01 Apr, 2019 4 commits
-
-
Kenton Varda authored
Feature grab bag
-
Kenton Varda authored
Not sure how this slipped by for so long!
-
Kenton Varda authored
This class lets you hold a temporary value that is only safe to access under lock, while you release the lock to do some other work.
-
Kenton Varda authored
-
- 29 Mar, 2019 1 commit
-
-
Kenton Varda authored
-
- 21 Mar, 2019 3 commits
-
-
Kenton Varda authored
Jlee/fix mingw warnings
-
Joe Lee authored
-
Kenton Varda authored
http-test: Replace windows-conditional block with extra poll
-
- 20 Mar, 2019 5 commits
- 17 Mar, 2019 1 commit
-
-
Kenton Varda authored
`Maybe<T>(Maybe<T&>&&)` should do a copy, not a move.
-
- 12 Mar, 2019 2 commits
-
-
Kenton Varda authored
`Maybe<T&>` does not own the `T` it points to. But, before this change, initializing a `Maybe<T>` from a `Maybe<T&>` would inadvertently perform a move, stealing the `T` away from its owner.
-
Kenton Varda authored
Fix capnpc extension handling on Windows
-
- 10 Mar, 2019 1 commit
-
-
Thomas Arcila authored
On Windows executables needs to end with .exe. Fix this in CMakeLists.txt and update capnp detection code accordingly.
-
- 08 Mar, 2019 2 commits
-
-
Kenton Varda authored
Fix narrowing conversion
-
Kenton Varda authored
Implement InsertionOrderIndex move constructor/assignment operator
-
- 04 Mar, 2019 1 commit
-
-
Crunkle authored
-
- 27 Feb, 2019 1 commit
-
-
Harris Hancock authored
InsertionOrderIndex manages memory, but it didn't have an explicit move constructor or move assignment operator, causing segmentation faults and double frees.
-
- 19 Feb, 2019 2 commits
-
-
Kenton Varda authored
Fix compile error with Array<const T>.
-
Kenton Varda authored
For trivial types, we already had this const_cast (line 622), but for non-trivial types it was missing.
-
- 12 Feb, 2019 2 commits
-
-
Kenton Varda authored
Update rpc.capnp
-
0xflotus authored
-
- 09 Feb, 2019 2 commits
-
-
Kenton Varda authored
Fix obscure optimization-blocking bug in PromiseIoStream::tryPumpFrom().
-
Kenton Varda authored
I don't have a use case, I was just reading the code and noticed it was wrong.
-
- 05 Feb, 2019 1 commit
-
-
Kenton Varda authored
-