daemon: use kj for splicing stdio connections
drop our reimplementation of splice for non-linux in favor of using kj pumpTo. this avoids select() for its O(maxfd) behavior, and if kj ever uses something more efficient than read/write loops we'll benefit too. Change-Id: Id01ba84bf8831455af2d9755bf1a3039d215bb47
This commit is contained in:
@@ -31,4 +31,7 @@ nix-store --dump-db > $TEST_ROOT/d1
|
||||
NIX_REMOTE= nix-store --dump-db > $TEST_ROOT/d2
|
||||
cmp $TEST_ROOT/d1 $TEST_ROOT/d2
|
||||
|
||||
# check that proxying one daemon through another works
|
||||
nix --store 'ssh-ng://localhost?remote-store=ssh-ng%3a%2f%2flocalhost' store add-file ./ifd.nix
|
||||
|
||||
killDaemon
|
||||
|
||||
Reference in New Issue
Block a user