about summary refs log tree commit diff
path: root/src/boost/assert.hpp
diff options
context:
space:
mode:
authorVova Kryachko <v.kryachko@gmail.com>2024-11-02T17·15+0000
committerVladimir Kryachko <v.kryachko@gmail.com>2024-11-02T18·08+0000
commitaecf0641a4917994e58e0fe7a9cfecb596f0c4f6 (patch)
tree7ab43587958b818bb8bc1276831818bc6d112579 /src/boost/assert.hpp
parent4ec9a4b7dfb7a22fca39715e20f4973d299fd7fa (diff)
fix(tvix/nix_compat): Fix nix-daemon handshake r/8880
Existing handshake behavior assumed that the server version is always
at least as new as the client. Meaning that the client's version was
always picked the handshake details as well as for further communication

This change removes that assumption and correctly uses
min(server_version, client_version).

Change-Id: Ia5dad4613dd5f69a0aeb6c9d86982f1f36fe1a4c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12722
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'src/boost/assert.hpp')
0 files changed, 0 insertions, 0 deletions