]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: contrib/spoa-server: allow MAX_FRAME_SIZE override
authorBertrand Jacquin <jacquinb@amazon.com>
Mon, 24 Aug 2020 19:21:30 +0000 (19:21 +0000)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 1 Sep 2020 16:25:04 +0000 (18:25 +0200)
MAX_FRAME_SIZE is forced to the default value of tune.bufsize, however
they don't necessarily have to be tight together.

contrib/spoa_server/spoa.h

index 8f912e435fe2f09a0dab9ed8bf4669922ff17683..8d6d4bef33e221d186be0241c6622d6051c460a3 100644 (file)
 #include <netinet/in.h>
 #include <sys/time.h>
 
+#ifndef MAX_FRAME_SIZE
 #define MAX_FRAME_SIZE    16384
+#endif
+
 #define SPOP_VERSION      "2.0"
 #define SPOA_CAPABILITIES ""