Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: e07c0dcf5c128875bf8af740b2c4bc81918713c9
https://github.com/NixOS/nix/commit/e07c0dcf5c128875bf8af740b2c4bc81918713c9
Author: Eelco Dolstra <[email protected]>
Date: 2016-09-14 (Wed, 14 Sep 2016)
Changed paths:
M src/libstore/derivations.cc
M src/libutil/util.cc
M src/libutil/util.hh
Log Message:
-----------
Move some .drv parsing functions out of util
Commit: a75d11a7e6984b3df15da9677fbd49ee8de7a9c3
https://github.com/NixOS/nix/commit/a75d11a7e6984b3df15da9677fbd49ee8de7a9c3
Author: Eelco Dolstra <[email protected]>
Date: 2016-09-14 (Wed, 14 Sep 2016)
Changed paths:
M src/libutil/util.cc
M src/libutil/util.hh
Log Message:
-----------
Add a toLower utility function
Commit: 90ad02bf626b885a5dd8967894e2eafc953bdf92
https://github.com/NixOS/nix/commit/90ad02bf626b885a5dd8967894e2eafc953bdf92
Author: Eelco Dolstra <[email protected]>
Date: 2016-09-14 (Wed, 14 Sep 2016)
Changed paths:
M src/libexpr/common-opts.cc
M src/libexpr/parser.y
M src/libexpr/primops.cc
M src/libstore/builtins.cc
M src/libstore/download.cc
M src/libstore/download.hh
M src/libstore/http-binary-cache-store.cc
M src/nix-channel/nix-channel.cc
M src/nix-prefetch-url/nix-prefetch-url.cc
Log Message:
-----------
Enable HTTP/2 support
The binary cache store can now use HTTP/2 to do lookups. This is much
more efficient than HTTP/1.1 due to multiplexing: we can issue many
requests in parallel over a single TCP connection. Thus it's no longer
necessary to use a bunch of concurrent TCP connections (25 by
default).
For example, downloading 802 .narinfo files from
https://cache.nixos.org/, using a single TCP connection, takes 11.8s
with HTTP/1.1, but only 0.61s with HTTP/2.
This did require a fairly substantial rewrite of the Downloader class
to use the curl multi interface, because otherwise curl wouldn't be
able to do multiplexing for us. As a bonus, we get connection reuse
even with HTTP/1.1. All downloads are now handled by a single worker
thread. Clients call Downloader::enqueueDownload() to tell the worker
thread to start the download, getting a std::future to the result.
Commit: 6656ef7b5b798200cf8bf0c7534dbad1e964444d
https://github.com/NixOS/nix/commit/6656ef7b5b798200cf8bf0c7534dbad1e964444d
Author: Eelco Dolstra <[email protected]>
Date: 2016-09-14 (Wed, 14 Sep 2016)
Changed paths:
M doc/manual/command-ref/conf-file.xml
M src/libstore/download.cc
Log Message:
-----------
Revive binary-caches-parallel-connections
It's a slight misnomer now because it actually limits *all* downloads,
not just binary cache lookups.
Also add a "enable-http2" option to allow disabling use of HTTP/2
(enabled by default).
Compare: https://github.com/NixOS/nix/compare/2c8c103ef803...6656ef7b5b79_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits