From: Bertrand Jacquin <jacqu...@amazon.com>

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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/spoa_server/spoa.h b/contrib/spoa_server/spoa.h
index 8f912e4..8d6d4be 100644
--- a/contrib/spoa_server/spoa.h
+++ b/contrib/spoa_server/spoa.h
@@ -17,7 +17,10 @@
 #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 ""
 
-- 
2.24.3.AMZN


Reply via email to