mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-17 17:04:35 +00:00
MINOR: http-htx: Make 'internal.htx_blk_data' return a binary string
This internal sample fetch now returns a binary string (SMP_T_BIN) instead of a character string.
This commit is contained in:
parent
c5db14c5d4
commit
8178e4006c
@ -1261,7 +1261,7 @@ smp_fetch_htx_blk_data(const struct arg *arg_p, struct sample *smp, const char *
|
||||
|
||||
chunk_initlen(&smp->data.u.str, val.ptr, val.len, val.len);
|
||||
}
|
||||
smp->data.type = SMP_T_STR;
|
||||
smp->data.type = SMP_T_BIN;
|
||||
smp->flags = SMP_F_CONST | SMP_F_VOLATILE | SMP_F_MAY_CHANGE;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user