lix compat: SSH connections uses socketpairs now #51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "raito/hydra:socketpairs-ssh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pipes are removed and replaced by socketpairs the same way Lix does for
ssh-ng.
Fixes #50 but I'm not sure the code is perfectly correct, thorough testing is advised.
Signed-off-by: Raito Bezarius raito@lix.systems
@ -87,1 +91,4 @@
parent.close();
if (dup2(child.get(), STDIN_FILENO) == -1)
throw SysError("cannot dup input pipe to stdin");
these should be changed
I don't follow, wdym with "changed"?
"cannot dup input pipe to stdin" should be "cannot dup socket to stdin"
Will fix up the error message on main (I cannot push to other contributor's branches here, apparently).
Tested on my own Hydra.