Comment cautioning about protocol version change.
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 15 Dec 2007 06:27:55 +0000 (06:27 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 15 Dec 2007 06:27:55 +0000 (06:27 +0000)
include/proto.h

index a8900734dc0bd25a054c5c1718739e2012d60dd6..5ca39a2c2d85f2242962d1281e251cb8f44cdd66 100644 (file)
 #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