MINOR: contrib/spoa-server: allow MAX_FRAME_SIZE override

MAX_FRAME_SIZE is forced to the default value of tune.bufsize, however
they don't necessarily have to be tight together.
This commit is contained in:
Bertrand Jacquin 2020-08-24 19:21:30 +00:00 committed by Christopher Faulet
parent bde2c4c621
commit ae2132cffb

View File

@ -17,7 +17,10 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <sys/time.h> #include <sys/time.h>
#ifndef MAX_FRAME_SIZE
#define MAX_FRAME_SIZE 16384 #define MAX_FRAME_SIZE 16384
#endif
#define SPOP_VERSION "2.0" #define SPOP_VERSION "2.0"
#define SPOA_CAPABILITIES "" #define SPOA_CAPABILITIES ""