Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
refs/tags/v2.4.24
/
src
/
sample.c
tag
5387796d854c723061c389487a7eb9766f62513b
tagger
Willy Tarreau <w@1wt.eu>
Sat Aug 19 11:25:53 2023 +0200
object
d1756705e7928198062b8c5afece6f4407e5c737
HAProxy 2.4.24
fbd88d4
BUG/MINOR: sample: Fix wrong overflow detection in add/sub conveters
by Christopher Faulet
· 12 months ago
c242313
MINOR: sink/api: pass explicit maxlen parameter to sink_write()
by Aurelien DARRAGON
· 1 year ago
daa8cd1
BUG/MEDIUM: sample: Fix adjusting size in word converter
by Thayne McCombs
· 2 years, 1 month ago
9b340a0
BUG/MINOR: samples: add missing context names for sample fetch functions
by Willy Tarreau
· 2 years, 3 months ago
08da273
BUG/MINOR: sample: Fix 'fix_tag_value' sample when waiting for more data
by Christopher Faulet
· 2 years, 9 months ago
8fdaf25
BUG/MEDIUM: sample: properly verify that variables cast to sample
by Willy Tarreau
· 2 years, 9 months ago
ea57350
MINOR: sample: provide a generic var-to-sample conversion function
by Willy Tarreau
· 2 years, 9 months ago
05cd2e6
CLEANUP: sample: uninline sample_conv_var2smp_str()
by Willy Tarreau
· 2 years, 9 months ago
9cfb71f
CLEANUP: sample: rename sample_conv_var2smp() to *_sint
by Willy Tarreau
· 2 years, 9 months ago
45bb15f
MINOR: arg: Be able to forbid unresolved args when building an argument list
by Christopher Faulet
· 2 years, 9 months ago
d9b331c
MINOR: sample: add missing ARGC_ entries
by Willy Tarreau
· 2 years, 10 months ago
9da4b1f
BUG/MINOR threads: Use get_(local|gm)time instead of (local|gm)time
by Tim Duesterhus
· 2 years, 10 months ago
fb60195
BUILD: sample: use strtoll() instead of atoll()
by Willy Tarreau
· 3 years, 2 months ago
2a8a2f0
BUILD: ssl: define HAVE_CRYPTO_memcmp() based on the library version
by Willy Tarreau
· 3 years, 2 months ago
a1169b6
MINOR: sample: improve error reporting on missing arg to strcmp() converter
by Willy Tarreau
· 3 years, 2 months ago
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· 3 years, 3 months ago
3b9cdf1
CLEANUP: sample: Use explicit return for successful `json_query`s
by Tim Duesterhus
· 3 years, 3 months ago
8f3bc8f
CLEANUP: sample: Explicitly handle all possible enum values from mjson
by Tim Duesterhus
· 3 years, 3 months ago
4809c8c
CLEANUP: sample: Improve local variables in sample_conv_json_query
by Tim Duesterhus
· 3 years, 3 months ago
51c8ad4
MINOR: sample: converter: Add json_query converter
by Alex
· 3 years, 3 months ago
848216f
CLEANUP: sample: align samples list in sample.c
by Moemen MHEDHBI
· 3 years, 3 months ago
92f7d43
MINOR: sample: add ub64dec and ub64enc converters
by Moemen MHEDHBI
· 3 years, 3 months ago
b284305
BUG/MEDIUM: sample: Fix adjusting size in field converter
by Thayne McCombs
· 3 years, 3 months ago
2c481d0
BUILD: ssl: use EVP_CIPH_GCM_MODE macro instead of HA_OPENSSL_VERSION
by Ilya Shipitsin
· 3 years, 3 months ago
db5e0db
MINOR: sample: add a new CLI_PARSER context for samples
by Willy Tarreau
· 3 years, 3 months ago
f9a7a8f
MINOR: sample: add a new CFG_PARSER context for samples
by Willy Tarreau
· 3 years, 3 months ago
0209c97
MINOR: sample: mark the truly constant sample fetch keywords as such
by Willy Tarreau
· 3 years, 3 months ago
be2159b
MINOR: sample: add a new SMP_SRC_CONST sample capability
by Willy Tarreau
· 3 years, 3 months ago
77e6a4e
MINOR: sample: make smp_resolve_args() return an allocate error message
by Willy Tarreau
· 3 years, 3 months ago
e26cd0b
CLEANUP: sample: remove duplicate "stopping" sample fetch keyword
by Willy Tarreau
· 3 years, 3 months ago
9e8db13
BUG/MINOR: sample: secure convs that accept base64 string and var name as args
by Dragan Dosen
· 3 years, 4 months ago
e6e7a58
MINOR: sample: Don't check if argument list is set in sample fetches
by Christopher Faulet
· 3 years, 5 months ago
22e0d9b
BUG/MINOR: sample: Memory leak of sample_expr structure in case of error
by Remi Tricot-Le Breton
· 3 years, 6 months ago
e997010
BUG/MINOR: sample: check alloc_trash_chunk return value in concat()
by William Dauchy
· 3 years, 6 months ago
5417e89
CLEANUP: sample: remove uneeded check in json validation
by William Dauchy
· 3 years, 6 months ago
591fc3a
BUG/MINOR: sample: fix concat() converter's corruption with non-string variables
by Willy Tarreau
· 3 years, 6 months ago
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· 3 years, 6 months ago
04bf0cc
MINOR: sample: add the xxh3 converter
by Dragan Dosen
· 3 years, 6 months ago
f38a018
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 3 years, 7 months ago
7f8314c
MINOR: opentracing: add ARGC_OT enum
by Miroslav Zagorac
· 3 years, 7 months ago
e279ca6
MINOR: sample: Add converts to parses MQTT messages
by Baptiste Assmann
· 3 years, 8 months ago
e138dda
MINOR: sample: Add converters to parse FIX messages
by Baptiste Assmann
· 3 years, 9 months ago
3943e4f
MINOR: sample: Add iif(<true>,<false>) converter
by Tim Duesterhus
· 3 years, 10 months ago
6ad7df4
MINOR: arg: Use chunk_destroy() to release string arguments
by Christopher Faulet
· 4 years ago
9591713
BUG/MINOR: arg: Fix leaks during arguments validation for fetches/converters
by Christopher Faulet
· 4 years ago
b45bf8e
BUG/MINOR: converters: Store the sink in an arg pointer for debug() converter
by Christopher Faulet
· 4 years ago
6b79f38
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 4 years ago
5464885
MEDIUM: log/sink: re-work and merge of build message API.
by Emeric Brun
· 4 years ago
041a626
BUG/MINOR: sample: Free str.area in smp_check_const_meth
by Tim Duesterhus
· 4 years ago
c7d8a86
BUG/MINOR: sample: Free str.area in smp_check_const_bool
by Tim Duesterhus
· 4 years ago
867cd98
BUG/MINOR: sample: Fix freeing of conv_exprs in release_sample_expr
by Tim Duesterhus
· 4 years ago
46a030c
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· 4 years ago
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· 4 years, 1 month ago
36979d9
REORG: include: move the error reporting functions to from log.h to errors.h
by Willy Tarreau
· 4 years, 1 month ago
a264d96
REORG: include: move proxy.h to haproxy/proxy{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
aeed4a8
REORG: include: move log.h to haproxy/log{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
8c42b8a
REORG: include: split common/uri_auth.h into haproxy/uri_auth{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
872f2ea
REORG: include: move stick_table.h to haproxy/stick_table{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
f268ee8
REORG: include: split global.h into haproxy/global{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
a171892
REORG: include: move vars.h to haproxy/vars{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
b23e595
REORG: include: move protocol_buffers.h to haproxy/protobuf{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
e6ce10b
REORG: include: move sample.h to haproxy/sample{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
ac13aea
REORG: include: move auth.h to haproxy/auth{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
aa74c4e
REORG: include: move arg.h to haproxy/arg{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
ba2f73d
REORG: include: move sink.h to haproxy/sink{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
48fbcae
REORG: tools: split common/standard.h into haproxy/tools{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
16f958c
REORG: include: split common/htx.h into haproxy/htx{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
cd72d8c
REORG: include: split common/http.h into haproxy/http{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
7cd8b6e
REORG: include: split common/regex.h into haproxy/regex{,-t}.h
by Willy Tarreau
· 4 years, 1 month ago
6131d6a
REORG: include: move common/net_helper.h to haproxy/net_helper.h
by Willy Tarreau
· 4 years, 1 month ago
c13ed53
REORG: include: move common/chunk.h to haproxy/chunk.h
by Willy Tarreau
· 4 years, 1 month ago
8d36697
REORG: include: move base64.h, errors.h and hash.h from common to to haproxy/
by Willy Tarreau
· 4 years, 1 month ago
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· 4 years, 1 month ago
f38175c
MINOR: sample: Add secure_memcmp converter
by Tim Duesterhus
· 4 years, 1 month ago
3b967c1
MINOR: http-htx/proxy: Add http-error directive using http return syntax
by Christopher Faulet
· 4 years, 2 months ago
bd16381
MEDIUM: sink: build header in sink_write for log formats
by Emeric Brun
· 4 years, 2 months ago
8e36651
MINOR: sample: Add digest and hmac converters
by Patrick Gansterer
· 4 years, 2 months ago
b399bfb
MINOR: sample: Move aes_gcm_dec implementation into sample.c
by Patrick Gansterer
· 6 years ago
e596d18
MEDIUM: checks: Remove dedicated sample fetches and use response ones instead
by Christopher Faulet
· 4 years, 2 months ago
472ad51
BUG/MINOR: sample: Set the correct type when a binary is converted to a string
by Christopher Faulet
· 4 years, 2 months ago
e0dd210
BUG/MEDIUM: sample: make the CPU and latency sample fetches check for a stream
by Willy Tarreau
· 4 years, 2 months ago
568415a
MINOR: sample: add rtrim converter
by Christopher Faulet
· 4 years, 3 months ago
51fc9d1
MINOR: sample: add ltrim converter
by Christopher Faulet
· 4 years, 3 months ago
ea159d6
MINOR: sample: add cut_crlf converter
by Christopher Faulet
· 4 years, 3 months ago
4ccc12f
MINOR: sample: add htonl converter
by Christopher Faulet
· 4 years, 3 months ago
707b52f
MEDIUM: checks: Parse custom action rules in tcp-checks
by Gaetan Rivet
· 4 years, 4 months ago
ee3bcdd
MINOR: tools: add a generic function to generate UUIDs
by Willy Tarreau
· 4 years, 4 months ago
aa8bbc1
MINOR: sample: make all bits random on the rand() sample fetch
by Willy Tarreau
· 4 years, 4 months ago
52bf839
BUG/MEDIUM: random: implement a thread-safe and process-safe PRNG
by Willy Tarreau
· 4 years, 4 months ago
0fbf28a
Revert "BUG/MEDIUM: random: implement per-thread and per-process random sequences"
by Willy Tarreau
· 4 years, 4 months ago
1c306aa
BUG/MEDIUM: random: implement per-thread and per-process random sequences
by Willy Tarreau
· 4 years, 4 months ago
a8b7ecd
CLEANUP: sample: use read_u64() in ipmask() to apply an IPv6 mask
by Willy Tarreau
· 4 years, 4 months ago
5715da2
BUG/MINOR: sample: fix the json converter's endian-sensitivity
by Willy Tarreau
· 4 years, 4 months ago
9080711
BUILD: general: always pass unsigned chars to is* functions
by Willy Tarreau
· 4 years, 4 months ago
23997da
BUG/MINOR: sample: exit regsub() in case of trash allocation error
by Willy Tarreau
· 4 years, 5 months ago
07e1e3c
MINOR: sample: regsub now supports backreferences
by Jerome Magnin
· 4 years, 5 months ago
e3b57bf
MINOR: sample: make sample_parse_expr() able to return an end pointer
by Willy Tarreau
· 4 years, 5 months ago
80b53ff
MEDIUM: arg: make make_arg_list() stop after its own arguments
by Willy Tarreau
· 4 years, 5 months ago
ed2c662
MINOR: sample/acl: use is_idchar() to locate the fetch/conv name
by Willy Tarreau
· 4 years, 5 months ago
0851fd5
MINOR: debug: support logging to various sinks
by Willy Tarreau
· 4 years, 7 months ago
Next »