I found some more operations that are obsolete and a few missing fields. I also did some small changes to make handshake description more consistent. Change-Id: I9f853a37e9d50621491f31ea71879d6a600046e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12724 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
740 B
740 B
client -> server
- 0x6e697863 :: Int (hardcoded, 'nixc' in ASCII)
client <- server
client -> server
- clientVersion :: Int
If clientVersion is 1.14 or later
- sendCpu :: Bool (hardcoded to false in client)
If sendCpu is true
- cpuAffinity :: Int (obsolete and ignored)
If clientVersion is 1.11 or later
- reserveSpace :: Bool (obsolete, ignored and set to false)
client <- server
If clientVersion is 1.33 or later
- nixVersion :: String
If clientVersion is 1.35 or later
- trusted :: OptTrusted
client <- server
- send logs
- operation :: Int