1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/src
Eelco Dolstra 8ffea0a018 Add 'download-buffer-size' setting
We are piping curl downloads into `unpackTarfileToSink()`, but the
latter is typically slower than the former if you're on a fast
connection. So the download could appear unnecessarily slow. (There is
even a risk that if the Git import is *really* slow for whatever
reason, the TCP connection could time out.)

So let's make the download buffer bigger by default - 64 MiB is big
enough for the Nixpkgs tarball. Perhaps in the future, we could have
an unlimited buffer that spills data to disk beyond a certain
threshold, but that's probably overkill.
2024-07-24 20:10:45 +02:00
..
build-remote Move plugins infra to libnixmain 2024-07-15 17:26:03 -04:00
external-api-docs packaging: Pass version directly 2024-07-06 17:52:57 +02:00
internal-api-docs packaging: Pass version directly 2024-07-06 17:52:57 +02:00
libcmd Add missing threads deps 2024-07-22 11:46:54 -04:00
libexpr Update fixupBoehmStackPointer doc 2024-07-24 13:02:49 +02:00
libexpr-c Add missing threads deps 2024-07-22 11:46:54 -04:00
libfetchers Add missing threads deps 2024-07-22 11:46:54 -04:00
libflake Add missing threads deps 2024-07-22 11:46:54 -04:00
libmain Add missing threads deps 2024-07-22 11:46:54 -04:00
libmain-c Add missing threads deps 2024-07-22 11:46:54 -04:00
libstore Add 'download-buffer-size' setting 2024-07-24 20:10:45 +02:00
libstore-c Add missing threads deps 2024-07-22 11:46:54 -04:00
libutil ~FramedSource(): Don't throw an exception if the remote has disconnected 2024-07-23 10:56:29 +02:00
libutil-c Add missing threads deps 2024-07-22 11:46:54 -04:00
nix Merge pull request #11156 from obsidiansystems/fix-bsd-pthread 2024-07-22 13:58:41 -04:00
nix-build Merge pull request #11058 from hercules-ci/more-nix-shell 2024-07-17 21:52:34 +02:00
nix-channel downloadFile(): Remove the "locked" (aka "immutable") flag 2024-04-08 15:56:16 +02:00
nix-collect-garbage inline the usage of nix::readDirectory 2024-05-12 17:42:18 +05:30
nix-copy-closure
nix-env No global settings in libnixfetchers and libnixflake 2024-07-12 08:50:28 -04:00
nix-instantiate No global settings in libnixfetchers and libnixflake 2024-07-12 08:50:28 -04:00
nix-store Solve unused header warnings reported by clangd 2024-07-12 15:37:54 +02:00
perl packaging: Pass version directly 2024-07-06 17:52:57 +02:00
nix-expr-test-support Put back files for now 2024-07-02 09:26:22 -04:00
nix-expr-tests Put back files for now 2024-07-02 09:26:22 -04:00
nix-fetchers-tests Put back files for now 2024-07-02 09:26:22 -04:00
nix-flake-tests Put back files for now 2024-07-02 09:26:22 -04:00
nix-store-test-support Put back files for now 2024-07-02 09:26:22 -04:00
nix-store-tests Put back files for now 2024-07-02 09:26:22 -04:00
nix-util-test-support Put back files for now 2024-07-02 09:26:22 -04:00
nix-util-tests Put back files for now 2024-07-02 09:26:22 -04:00