mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-27 05:18:00 +00:00
MINOR: global: Few new struct fields for da module
The name and length of the client cookie, useful for extracting cookie value's function and a simple bitfield one to define if set or not.
This commit is contained in:
parent
4686f792b4
commit
5801a8247a
@ -180,10 +180,13 @@ struct global {
|
|||||||
struct {
|
struct {
|
||||||
void *atlasimgptr;
|
void *atlasimgptr;
|
||||||
char *jsonpath;
|
char *jsonpath;
|
||||||
|
char *cookiename;
|
||||||
|
size_t cookienamelen;
|
||||||
da_atlas_t atlas;
|
da_atlas_t atlas;
|
||||||
da_evidence_id_t useragentid;
|
da_evidence_id_t useragentid;
|
||||||
da_severity_t loglevel;
|
da_severity_t loglevel;
|
||||||
char separator;
|
char separator;
|
||||||
|
unsigned char daset:1;
|
||||||
} deviceatlas;
|
} deviceatlas;
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_51DEGREES
|
#ifdef USE_51DEGREES
|
||||||
|
@ -181,8 +181,11 @@ struct global global = {
|
|||||||
#ifdef USE_DEVICEATLAS
|
#ifdef USE_DEVICEATLAS
|
||||||
.deviceatlas = {
|
.deviceatlas = {
|
||||||
.loglevel = DA_SEV_INFO,
|
.loglevel = DA_SEV_INFO,
|
||||||
.useragentid = 0,
|
|
||||||
.jsonpath = 0,
|
.jsonpath = 0,
|
||||||
|
.cookiename = 0,
|
||||||
|
.cookienamelen = 0,
|
||||||
|
.useragentid = 0,
|
||||||
|
.daset = 0,
|
||||||
.separator = '|',
|
.separator = '|',
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user