lix/src/libutil
Eelco Dolstra 78fa47a7f0
Fix 'error 9 while decompressing xz file'
Once we've started writing data to a Sink, we can't restart a download
request, because then we end up writing duplicate data to the
Sink. Therefore we shouldn't handle retries in Downloader but at a
higher level (in particular, in copyStorePath()).

Fixes #2952.

(cherry picked from commit a67cf5a358)
2019-06-24 21:59:51 +02:00
..
affinity.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
affinity.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00
archive.cc archive.cc: ignore more posix_fallocate "not supported" error codes 2019-03-01 10:31:17 +08:00
archive.hh Modularize config settings 2018-05-30 13:28:01 +02:00
args.cc nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
args.hh nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
compression.cc Fix build failure if parallel xz is not available 2018-09-17 16:36:11 +02:00
compression.hh Fix Brotli decompression in 'nix log' 2018-08-06 15:40:29 +02:00
config.cc Modularize config settings 2018-05-30 13:28:01 +02:00
config.hh Modularize config settings 2018-05-30 13:28:01 +02:00
finally.hh Add missing #include 2016-11-07 14:35:47 +01:00
hash.cc Support SRI hashes 2018-12-13 14:30:52 +01:00
hash.hh Support SRI hashes 2018-12-13 14:30:52 +01:00
istringstream_nocopy.hh Move istringstream_nocopy to a separate file 2017-03-21 14:43:03 +01:00
json.cc Store floating point numbers in double precision 2018-07-03 18:39:32 +02:00
json.hh nix search: Add a cache 2017-07-26 17:29:10 +02:00
lazy.hh Figure out the user's home directory if $HOME is not set 2017-05-05 17:08:23 +02:00
local.mk Remove mentions of libformat, it no longer exists 2019-01-05 14:31:29 -05:00
logging.cc Filter ANSI colors when not writing to a terminal 2018-03-15 16:08:07 +01:00
logging.hh Wrap thread local in function for Cygwin 2018-03-12 00:56:41 -04:00
lru-cache.hh experimental/optional -> optional 2019-03-14 14:10:52 +01:00
monitor-fd.hh monitor-fds: Fix on macOS. 2018-02-14 18:26:37 -05:00
pool.hh RemoteStore: Close connection if an exception occurs 2018-10-16 23:36:15 +02:00
ref.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
retry.hh Fix 'error 9 while decompressing xz file' 2019-06-24 21:59:51 +02:00
serialise.cc experimental/optional -> optional 2019-03-14 14:10:52 +01:00
serialise.hh Make NAR header check more robust 2018-09-26 12:03:58 +02:00
sync.hh sync.hh: return cv_status instead of dropping it, in case useful. 2018-06-18 17:31:00 -05:00
thread-pool.cc Fix a hang in ThreadPool 2017-10-09 15:41:09 +02:00
thread-pool.hh Fix a hang in ThreadPool 2017-10-09 15:41:09 +02:00
types.hh Fix 'error 9 while decompressing xz file' 2019-06-24 21:59:51 +02:00
util.cc runProgram: Uncomment chdir support 2019-05-12 17:03:01 -04:00
util.hh Merge pull request #2810 from NixOS/print-build-logs 2019-05-15 20:38:38 +02:00
xml-writer.cc Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
xml-writer.hh Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00