vici: Allow maximum vici message size configuration via compile option

Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
Thomas Egerer
2020-04-14 16:55:49 +02:00
committed by Tobias Brunner
parent e0b1b12028
commit d2c15b7bf9
+2
View File
@@ -26,7 +26,9 @@
/**
* Maximum size of a single message exchanged.
*/
#ifndef VICI_MESSAGE_SIZE_MAX
#define VICI_MESSAGE_SIZE_MAX (512 * 1024)
#endif
typedef struct vici_socket_t vici_socket_t;