projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bde2c4c
)
MINOR: contrib/spoa-server: allow MAX_FRAME_SIZE override
author
Bertrand Jacquin
<jacquinb@amazon.com>
Mon, 24 Aug 2020 19:21:30 +0000
(19:21 +0000)
committer
Christopher 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
patch
|
blob
|
history
diff --git
a/contrib/spoa_server/spoa.h
b/contrib/spoa_server/spoa.h
index
8f912e4
..
8d6d4be
100644
(file)
--- 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 ""