From: Markus Armbruster Date: Sat, 15 Dec 2007 06:27:55 +0000 (+0000) Subject: Comment cautioning about protocol version change. X-Git-Tag: v4.3.11~22 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=63a88dbb1d5f67a0b9dba53172c18c83c8d9c6d5;ds=sidebyside Comment cautioning about protocol version change. --- 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