summaryrefslogtreecommitdiff
path: root/memcached.h
diff options
context:
space:
mode:
Diffstat (limited to 'memcached.h')
-rw-r--r--memcached.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/memcached.h b/memcached.h
index e569ad5..1202fa0 100644
--- a/memcached.h
+++ b/memcached.h
@@ -71,6 +71,7 @@
#define UDP_READ_BUFFER_SIZE 65536
#define UDP_MAX_PAYLOAD_SIZE 1400
#define UDP_HEADER_SIZE 8
+#define UDP_DATA_SIZE 1392 // UDP_MAX_PAYLOAD_SIZE - UDP_HEADER_SIZE
#define MAX_SENDBUF_SIZE (256 * 1024 * 1024)
/* Binary protocol stuff */