diff options
author | Simon Rettberg | 2013-08-12 18:04:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2013-08-12 18:04:39 +0200 |
commit | a1dd0acdbdd6a9b70f9d7aa447e323f2072c650a (patch) | |
tree | ea67a4cc5c3dd003184bb13ccfaf3fa90c42720c /src/server/globals.h | |
parent | I'm stupid (diff) | |
download | dnbd3-a1dd0acdbdd6a9b70f9d7aa447e323f2072c650a.tar.gz dnbd3-a1dd0acdbdd6a9b70f9d7aa447e323f2072c650a.tar.xz dnbd3-a1dd0acdbdd6a9b70f9d7aa447e323f2072c650a.zip |
[SERVER] Improve proxy mode, implement integrity check in proxy mode
Diffstat (limited to 'src/server/globals.h')
-rw-r--r-- | src/server/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/globals.h b/src/server/globals.h index baa13f3..2159021 100644 --- a/src/server/globals.h +++ b/src/server/globals.h @@ -31,6 +31,7 @@ typedef struct volatile uint64_t to; // Last byte + 1 of requested block (ie. 8192, if request len is 4096, resulting in bytes 4096-8191) dnbd3_client_t * volatile client; // Client to send reply to volatile int status; // status of this entry: ULR_* + time_t entered; // When this request entered the queue (for debugging) } dnbd3_queued_request_t; #define RTT_IDLE 0 // Not in progress |