Protocol: Add backwards compatibility for Skyhash 1.0
ohsayan opened this issue · comments
As noted earlier (#255), we need to provide backward compatibility with Skyhash 1.0 to avoid existing clients from suddenly becoming non-functional. For now, we'll provide a shim (compat mode) through a configuration flag:
- In the configuration file:
[server] protocol = "compat" # replace with 1.0, 1.1, 1.2 or 2.0 as required
- As a command line arg:
skyd --protocol 1.0
- As an env var:
SKY_PROTOCOL=1.0
We're currently not planning to support auto protocol connection-upgrade/switch; however, if it's required we'll be happy to support it