guix-devel/guix
Ludovic Courtès de9d8f0e29
ssh: Improve error reporting when 'send-files' fails.
Fixes <http://bugs.gnu.org/26972>.

* guix/ssh.scm (store-import-channel)[import]: Add 'consume-input'
procedure.  Wrap body in 'catch' and 'guard'.  Use 'open-remote-pipe'
with OPEN_BOTH instead of 'open-remote-output-pipe'.
(send-files): After the 'channel-send-eof' call, do (read port).
Interpret the result sexp and raise an error condition if needed.
2017-06-04 23:00:32 +02:00
..
build syscalls: Provide 'free-disk-space'. 2017-06-02 18:47:07 +02:00
build-system
import
scripts
store
tests tests: Move HTTP server to (guix tests http). 2016-11-16 18:00:41 +01:00
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm
discovery.scm
docker.scm
download.scm
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm
git-download.scm git-download: Fix 'git-predicate' to use absolute paths. 2017-05-30 18:08:37 +02:00
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.scm
hash.scm
hg-download.scm
http-client.scm
licenses.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm
pk-crypto.scm
pki.scm
profiles.scm
records.scm records: Slight simplification. 2017-04-17 23:31:28 +02:00
scripts.scm
search-paths.scm
serialization.scm
sets.scm
ssh.scm ssh: Improve error reporting when 'send-files' fails. 2017-06-04 23:00:32 +02:00
store.scm
svn-download.scm
tests.scm
ui.scm
upstream.scm
utils.scm
workers.scm
zlib.scm