lix/src
Eelco Dolstra f0358ed465 Fix a hang in nix-copy-ssh.sh
This hang for some reason didn't trigger in the Nix build, but did
running 'make installcheck' interactively. What happened:

* Store::addMultipleToStore() calls a SinkToSource object to copy a
  path, which in turn calls LegacySSHStore::narFromPath(), which
  acquires a connection.

* The SinkToSource object is not destroyed after the last bytes has
  been read, so the coroutine's stack is still alive and its
  destructors are not run. So the connection is not released.

* Then when the next path is copied, because max-connections = 1,
  LegacySSHStore::narFromPath() hangs forever waiting for a connection
  to be released.

The fix is to make sure that the source object is destroyed when we're
done with it.
2022-08-23 14:19:53 +02:00
..
build-remote Generalize DerivationType in preparation for impure derivations 2022-03-18 14:59:56 +00:00
libcmd nix repl: Stop the progress bar 2022-08-22 14:27:36 +02:00
libexpr libexpr/flake: remove FIXME 2022-08-04 09:45:29 +02:00
libfetchers Don't pass --force to 'git add' 2022-08-17 16:59:02 +02:00
libmain ProgressBar: Delay before showing a new activity 2022-08-17 11:31:44 +02:00
libstore Fix a hang in nix-copy-ssh.sh 2022-08-23 14:19:53 +02:00
libutil json: write null on abnormal placeholder destruction 2022-08-19 01:00:10 +02:00
nix Fix default profile path for root in nix profile documentation 2022-08-20 03:48:42 +02:00
nix-build nix-shell: restore backwards-compat with old nixpkgs 2022-06-13 23:29:28 +02:00
nix-channel Fix segfault in headerCallback() 2022-03-03 11:11:16 +01:00
nix-collect-garbage Add missing rethrows in conditional exception handlers 2022-06-10 10:52:41 -07:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env nix-env: don't output incomplete JSON 2022-08-19 01:00:10 +02:00
nix-instantiate store Symbols in a table as well, like positions 2022-04-21 21:56:31 +02:00
nix-store nix-store: small std::move() optimization 2022-06-09 16:25:26 +05:30
resolve-system-dependencies Get rid of most .at calls (#6393) 2022-05-04 07:44:32 +02:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00