Ludovic CourtèsandEelco Dolstra 51800e06de Allow recovery from isValidPath RPCs with an invalid path
Currently, clients cannot recover from an isValidPath RPC with an
invalid path parameter because the daemon closes the connection when
that happens.

More precisely:

  1. in performOp, wopIsValidPath case, ‘readStorePath’ raises an
     ‘Error’ exception;

  2. that exception is caught by the handler in ‘processConnection’;

  3. the handler determines errorAllowed == false, and thus exits after
     sending the message.

This last part is fixed by calling ‘startWork’ early on, as in the patch
below.

The same reasoning could be applied to all the RPCs that take one or
more store paths as inputs, but isValidPath is, by definition, likely to
be passed invalid paths in the first place, so it’s important for this
one to allow recovery.
2014-03-18 23:22:49 +01:00
2014-02-01 13:54:38 +01:00
2014-03-12 14:25:48 +01:00
2014-02-01 13:54:38 +01:00
2014-02-01 14:38:12 +01:00
2014-03-17 17:33:13 +01:00
2014-03-12 14:24:29 +01:00
2004-11-07 20:30:02 +00:00
2012-05-21 09:43:01 -04:00
2014-02-01 11:30:21 +01:00
2013-08-21 12:53:46 +02:00
2014-03-05 11:11:24 +01:00
2014-02-08 00:13:33 -05:00
2014-02-07 17:36:04 +01:00
2014-03-12 14:24:29 +01:00
2013-11-19 14:45:19 +01:00

Nix is a purely functional package manager.  For installation and
usage instructions, please read the manual, which can be found in
`docs/manual/manual.html', and additionally at the Nix website at
<http://nixos.org/>.


Acknowledgments

This product includes software developed by the OpenSSL Project for
use in the OpenSSL Toolkit (http://www.OpenSSL.org/).
S
Description
Working fork of Lix - carries the adaptive load-aware build-remote patch. Upstream: gerrit.lix.systems
Readme
92 MiB
Languages
C++ 74.9%
Python 11.7%
Nix 6.1%
Shell 3.6%
Meson 2%
Other 1.6%