vici: Allow maximum vici message size configuration via compile option

Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
This commit is contained in:
Thomas Egerer 2020-04-07 20:35:57 +02:00 committed by Tobias Brunner
parent e0b1b12028
commit d2c15b7bf9
1 changed files with 2 additions and 0 deletions

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;