From 63a88dbb1d5f67a0b9dba53172c18c83c8d9c6d5 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 15 Dec 2007 06:27:55 +0000 Subject: [PATCH] Comment cautioning about protocol version change. --- include/proto.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/proto.h b/include/proto.h index a8900734d..5ca39a2c2 100644 --- a/include/proto.h +++ b/include/proto.h @@ -34,7 +34,14 @@ #ifndef PROTO_H #define PROTO_H -#define CLIENTPROTO 2 /* if new things are added, bump this */ +/* + * Protocol version. + * Bump this if the protocol changes in a way that is not backwards + * compatible. This breaks all existing clients. If you are tempted + * to do that, please consider using session options to make your + * change backwards compatible. + */ +#define CLIENTPROTO 2 #define C_CMDOK 0x0 #define C_DATA 0x1 -- 2.43.0