mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-19 02:29:31 -05:00
MINOR: deviceatlas: increase DA_MAX_HEADERS and header buffer sizes
Increase DA_MAX_HEADERS from 24 to 32 and hbuf from 24 to 64 to accommodate current DeviceAtlas data files which may use more headers and longer header names.
This commit is contained in:
parent
8031bf6e03
commit
23aeb72798
1 changed files with 3 additions and 3 deletions
|
|
@ -419,7 +419,7 @@ static int da_haproxy_conv(const struct arg *args, struct sample *smp, void *pri
|
|||
return status != DA_OK ? 0 : da_haproxy(args, smp, &devinfo);
|
||||
}
|
||||
|
||||
#define DA_MAX_HEADERS 24
|
||||
#define DA_MAX_HEADERS 32
|
||||
|
||||
static int da_haproxy_fetch(const struct arg *args, struct sample *smp, const char *kw, void *private)
|
||||
{
|
||||
|
|
@ -450,8 +450,8 @@ static int da_haproxy_fetch(const struct arg *args, struct sample *smp, const ch
|
|||
da_evidence_id_t evid;
|
||||
enum htx_blk_type type;
|
||||
struct ist n, v;
|
||||
char hbuf[24] = { 0 };
|
||||
char tval[1024] = { 0 };
|
||||
char hbuf[64];
|
||||
char tval[1024];
|
||||
|
||||
type = htx_get_blk_type(blk);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue