rixed / ramen

A stream processing language and compiler for small-scale monitoring
Other
14 stars 4 forks source link

Have a version check when connecting to confserver #1371

Open rixed opened 2 years ago

rixed commented 2 years ago

Simplest solution would be to add a version field in the Auth message, assuming a larger change would make deserialization fail. But a strongest solution would be to have an initial packet sent before anything else by the client with its version, and the server would answer by accepting further data or send back its own version and close.