diff options
author | sr | 2012-09-01 18:08:27 +0200 |
---|---|---|
committer | sr | 2012-09-01 18:08:27 +0200 |
commit | 3e992e066c6aeb3972758a2304cccbdba024c31e (patch) | |
tree | b7d31b75002d5b6edd3c18b884eebf08346828ac /src/config.h | |
parent | [SERVER] Added soft and hard timeouts for image deletion: reject any new clie... (diff) | |
download | dnbd3-3e992e066c6aeb3972758a2304cccbdba024c31e.tar.gz dnbd3-3e992e066c6aeb3972758a2304cccbdba024c31e.tar.xz dnbd3-3e992e066c6aeb3972758a2304cccbdba024c31e.zip |
[KERNEL] Tell server whether we're a client or a server in proxy mode
[KERNEL] SysFS: Return empty string for current_server if not connected
[SERVER] Code refactoring
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h index 688b51c..ff638d2 100644 --- a/src/config.h +++ b/src/config.h @@ -28,11 +28,11 @@ // Protocol version should be increased whenever new features/messages are added, // so either the client or server can run in compatibility mode, or they can // cancel the connection right away if the protocol has changed too much -#define PROTOCOL_VERSION 1 +#define PROTOCOL_VERSION 2 // Which is the minimum protocol version the server expects from the client -#define MIN_SUPPORTED_CLIENT 1 +#define MIN_SUPPORTED_CLIENT 2 // Which is the minimum protocol version the client expects from the server -#define MIN_SUPPORTED_SERVER 1 +#define MIN_SUPPORTED_SERVER 2 // No payload allowed exceeding this many bytes (actual data from client->server is not affected by this limit!) #define MAX_PAYLOAD 1000 |