lix/tests/unit/libstore
eldritch horrors 4ae6fb5a8f libstore: pause only stalling transfers
don't pause the entire curl thread. we have multiple consumer threads
after all, not just one, so stalling all of them is likely not great.

note that libcurl advises against using transfer pauses if compressed
encodings are allowed and automatically decoded. this should not lead
to problems in practice because our data is usually not compressed to
such a degree that curl buffering *uncompressed* data matters. should
this cause problems we can reintroduce the whole-thread pause, but we
will probably get away with this until the entire file transfer class
is made kj::Promise-using async (and *then* curl can be hardpaused if
it cannot get rid of its data, solving the problem once and for all).

Change-Id: I218e41bfa5a27c7454eafb0bdb54f2a29a7f6493
2024-10-30 22:52:19 +00:00
..
data Delete old ValidPathInfo test, fix UnkeyedValidPathInfo 2024-06-16 19:13:51 -07:00
common-protocol.cc refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00
derivation.cc tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
derived-path.cc derived-path: refuse built derived path with a non-derivation base 2024-05-17 02:16:15 +02:00
downstream-placeholder.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
filetransfer.cc libstore: pause only stalling transfers 2024-10-30 22:52:19 +00:00
machines.cc treewide: consistently mark overridden settings as such 2024-10-15 19:55:50 +02:00
nar-info-disk-cache.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
outputs-spec.cc Fix various clang-tidy lints 2024-03-29 20:26:38 -07:00
path.cc Disallow store path names that are . or .. (plus opt. -) 2024-05-02 19:34:38 +02:00
protocol.hh tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
references.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
serve-protocol.cc refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00
worker-protocol.cc refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00