diff --git a/contrib/mod_defender/spoa.c b/contrib/mod_defender/spoa.c index 1191260a4..34b24f491 100644 --- a/contrib/mod_defender/spoa.c +++ b/contrib/mod_defender/spoa.c @@ -43,7 +43,7 @@ #define CONNECTION_BACKLOG 10 #define NUM_WORKERS 10 #define MAX_FRAME_SIZE 16384 -#define SPOP_VERSION "1.0" +#define SPOP_VERSION "2.0" #define SLEN(str) (sizeof(str)-1) diff --git a/contrib/modsecurity/spoa.c b/contrib/modsecurity/spoa.c index cbabcb29c..18ef1d245 100644 --- a/contrib/modsecurity/spoa.c +++ b/contrib/modsecurity/spoa.c @@ -48,7 +48,7 @@ #define CONNECTION_BACKLOG 10 #define NUM_WORKERS 10 #define MAX_FRAME_SIZE 16384 -#define SPOP_VERSION "1.0" +#define SPOP_VERSION "2.0" #define SLEN(str) (sizeof(str)-1) diff --git a/contrib/spoa_example/spoa.c b/contrib/spoa_example/spoa.c index 71a36f072..d7486a417 100644 --- a/contrib/spoa_example/spoa.c +++ b/contrib/spoa_example/spoa.c @@ -43,7 +43,7 @@ #define CONNECTION_BACKLOG 10 #define NUM_WORKERS 10 #define MAX_FRAME_SIZE 16384 -#define SPOP_VERSION "1.0" +#define SPOP_VERSION "2.0" #define SLEN(str) (sizeof(str)-1) diff --git a/src/flt_spoe.c b/src/flt_spoe.c index 7a19a18a7..d1323ae3e 100644 --- a/src/flt_spoe.c +++ b/src/flt_spoe.c @@ -314,12 +314,13 @@ struct spoe_version { /* All supported versions */ static struct spoe_version supported_versions[] = { - {"1.0", 1000, 1000}, + /* 1.0 is now unsupported because of a bug about frame's flags*/ + {"2.0", 2000, 2000}, {NULL, 0, 0} }; /* Comma-separated list of supported versions */ -#define SUPPORTED_VERSIONS_VAL "1.0" +#define SUPPORTED_VERSIONS_VAL "2.0" /* Convert a string to a SPOE version value. The string must follow the format * "MAJOR.MINOR". It will be concerted into the integer (1000 * MAJOR + MINOR).