lix/src
Eelco Dolstra 5b798f6cae Fix random client failures during GC server shutdown
We need to close the GC server socket before shutting down the active
GC client connections, otherwise a client may (re)connect and get
ECONNRESET. But also handle ECONNRESET for resilience.

Fixes random failures like

  GC socket disconnected
  connecting to '/tmp/nix-shell.y07M0H/nix-test/default/var/nix/gc-socket/socket'
  sending GC root '/tmp/nix-shell.y07M0H/nix-test/default/store/kb5yzija0f1x5xkqkgclrdzldxj6nnc6-non-blocking'
  reading GC root from client: error: unexpected EOF reading a line
  1 store paths deleted, 0.00 MiB freed
  error: reading from file: Connection reset by peer

in gc-non-blocking.sh.
2022-11-27 12:57:18 +01:00
..
build-remote build-remote: Add brackets to error message 2022-11-04 10:49:44 -07:00
libcmd nix build --json: Include build statistics 2022-11-21 12:06:01 +01:00
libexpr Don't use GC_STRNDUP 2022-11-25 22:30:56 +01:00
libfetchers Merge pull request #7039 from Mic92/libfetchers-variant 2022-10-31 11:48:51 +01:00
libmain Move savedArgv into libmain 2022-10-28 12:19:37 +02:00
libstore Fix random client failures during GC server shutdown 2022-11-27 12:57:18 +01:00
libutil tarfile: set directory mode to at least 0500, don't extract fflags 2022-11-01 16:01:38 +01:00
nix Merge pull request #7337 from Radvendii/why-depends-ca 2022-11-23 20:16:14 +01:00
nix-build nix-build: remove unused --add-root arg 2022-09-27 00:07:42 +02:00
nix-channel
nix-collect-garbage Add missing rethrows in conditional exception handlers 2022-06-10 10:52:41 -07:00
nix-copy-closure
nix-env Revert to copyStore = true for nix-instantiate and nix-env 2022-08-23 14:40:27 +02:00
nix-instantiate Revert to copyStore = true for nix-instantiate and nix-env 2022-08-23 14:40:27 +02:00
nix-store Fix a misplaced parenthese in serve protocol check 2022-08-24 01:54:43 +02:00
resolve-system-dependencies Get rid of most .at calls (#6393) 2022-05-04 07:44:32 +02:00
toml11