diff options
author | eldritch horrors <pennae@lix.systems> | 2024-05-04 01:39:06 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-05-05 18:09:31 +0000 |
commit | 6b081389290a5a6a6d143ee7fa4d12ea1296a8d0 (patch) | |
tree | 04f2e21120b1ea83ace986816f71694b0d225a73 /tests/unit/meson.build | |
parent | 03a20ef1ff11f7ed785f02d2965a1f8314d06132 (diff) |
filetransfer: abort transfer on receiver exception
not doing this will cause transfers that had their readers disappear to
linger. with lingering transfers the curl thread can't shut down, which
will cause nix itself to not shut down until the transfer finishes some
other way (most likely network timeouts). also add a new test for this.
Change-Id: Id2401b3ac85731c824db05918d4079125be25b57
Diffstat (limited to 'tests/unit/meson.build')
-rw-r--r-- | tests/unit/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/meson.build b/tests/unit/meson.build index 339ac9a4a..f5355cce8 100644 --- a/tests/unit/meson.build +++ b/tests/unit/meson.build @@ -113,6 +113,7 @@ libstore_tests_sources = files( 'libstore/derivation.cc', 'libstore/derived-path.cc', 'libstore/downstream-placeholder.cc', + 'libstore/filetransfer.cc', 'libstore/machines.cc', 'libstore/nar-info-disk-cache.cc', 'libstore/outputs-spec.cc', |