The buffer length for command buffers should be controlled by a single
[rrdtool.git] / src / rrd_client.h
index e203d7c..681397d 100644 (file)
@@ -49,6 +49,8 @@
        typedef unsigned long long int  uint64_t;
 #endif
 
+/* max length of socket command or response */
+#define RRD_CMD_MAX 4096
 
 #ifndef RRDCACHED_DEFAULT_ADDRESS
 # define RRDCACHED_DEFAULT_ADDRESS "unix:/tmp/rrdcached.sock"