aboutsummaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-02-10 12:07:00 +0100
committerTom Smeding <tom@tomsmeding.com>2021-02-10 12:07:19 +0100
commit6a69d512e4615e01b5f35e7b68af307969fc6c17 (patch)
treee344c345f1e67f035ec8d7a58aef1c1bb1bc957b /command.h
parent0695060d4d08ffb7612e35185a95a11db648ec33 (diff)
server: Support sendat, protocol version 4
Diffstat (limited to 'command.h')
-rw-r--r--command.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/command.h b/command.h
index 68ec014..23f38ff 100644
--- a/command.h
+++ b/command.h
@@ -4,7 +4,10 @@
#include "conn_data.h"
-#define PROTOCOL_VERSION 3
+// Protocol version 4 adds the 'sendat' command; if the client reports not to
+// support sendat, we just disable that command. In this manner, we continue to
+// support protocol version 3.
+#define PROTOCOL_VERSION 4
#define MIN_SUPPORTED_PROTOCOL_VERSION 3