Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
27bb0e14a8ae17d4bdf4ca8bd73e1ceb79ca4a14
/
src
/
sample.c
1228dc0
BUG/MEDIUM: sample: fix random number upper-bound
by Vincent Bernat
· Wed Dec 10 10:31:37 2014 +0100
c9a0f6d
MINOR: samples: add the word converter.
by Emeric Brun
· Tue Nov 25 14:09:01 2014 +0100
f399b0d
MINOR: samples: adds the field converter.
by Emeric Brun
· Mon Nov 03 17:07:03 2014 +0100
54c4ac8
MINOR: samples: adds the bytes converter.
by Emeric Brun
· Mon Nov 03 15:32:43 2014 +0100
0f30d26
MINOR: sample: add a few basic internal fetches (nbproc, proc, stopping)
by Willy Tarreau
· Mon Nov 24 16:02:05 2014 +0100
4b9e802
BUG/MINOR: samples: fix unnecessary memcopy converting binary to string.
by Emeric Brun
· Mon Nov 03 18:17:10 2014 +0100
317e1c4
MINOR: sample: add "json" converter
by Thierry FOURNIER
· Tue Aug 12 10:20:47 2014 +0200
6bcb0a8
BUG/MAJOR: tcp: fix a possible busy spinning loop in content track-sc*
by Willy Tarreau
· Wed Jul 30 08:56:35 2014 +0200
bbfd1a2
MINOR: sample: allow integers to cast to binary
by Willy Tarreau
· Tue Jul 15 21:19:08 2014 +0200
23ec4ca
MINOR: sample: add new converters to hash input
by Willy Tarreau
· Tue Jul 15 20:15:37 2014 +0200
9700e5c
MINOR: sample: allow IP address to cast to binary
by Willy Tarreau
· Tue Jul 15 21:03:26 2014 +0200
0dbfdba
MINOR: samples: add two converters for the date format
by Willy Tarreau
· Thu Jul 10 16:37:47 2014 +0200
6c616e0
BUG/MAJOR: sample: correctly reinitialize sample fetch context before calling sample_process()
by Willy Tarreau
· Wed Jun 25 16:56:41 2014 +0200
3a4ac42
MINOR: tcp: prepare support for the "capture" action
by Willy Tarreau
· Fri Jun 13 16:17:14 2014 +0200
5b4bf70
MINOR: sample: improve sample_fetch_string() to report partial contents
by Willy Tarreau
· Fri Jun 13 16:04:35 2014 +0200
53d1a98
MINOR: ssl: adds sample converter base64 for binary type.
by Emeric Brun
· Wed Apr 30 18:21:37 2014 +0200
eeaa951
MINOR: configuration: File and line propagation
by Thierry FOURNIER
· Tue Feb 11 14:00:19 2014 +0100
d437314
MEDIUM: sample/http_proto: Add new type called method
by Thierry FOURNIER
· Tue Dec 17 01:10:10 2013 +0100
7654c9f
MEDIUM: sample: Remove types SMP_T_CSTR and SMP_T_CBIN, replace it by SMP_F_CONST flags
by Thierry FOURNIER
· Tue Dec 17 00:20:33 2013 +0100
0e9af55
MINOR: sample: dont call the sample cast function "c_none"
by Thierry FOURNIER
· Sat Dec 14 14:55:04 2013 +0100
1cf8f08
MINOR: sample: move smp_to_type to sample.c
by Willy Tarreau
· Fri Feb 07 12:14:54 2014 +0100
e87cac1
MEDIUM: sample: change the behavior of the bin2str cast
by Thierry FOURNIER
· Wed Mar 12 15:07:59 2014 +0100
2f49d6d
MINOR: sample: add hex converter
by Thierry FOURNIER
· Wed Mar 12 15:01:52 2014 +0100
84310e2
MINOR: sample: add a rand() sample fetch to return a sample.
by Willy Tarreau
· Fri Feb 14 11:59:04 2014 +0100
60bb020
BUG/MINOR: sample: The c_str2int converter does not fail if the entry is not an integer
by Thierry FOURNIER
· Mon Jan 27 18:20:48 2014 +0100
689a1df
BUG/MEDIUM: sample: simplify and fix the argument parsing
by Willy Tarreau
· Fri Dec 13 00:40:11 2013 +0100
975c178
MINOR: sample: make sample_parse_expr() use memprintf() to report parse errors
by Willy Tarreau
· Thu Dec 12 23:16:54 2013 +0100
fd13990
BUG/MEDIUM: sample: conversion from str to ipv6 may read data past end
by Thierry FOURNIER
· Wed Dec 11 12:38:57 2013 +0100
3d536ac
BUG/MINOR: acl: fix sample expression error reporting
by Willy Tarreau
· Fri Dec 06 16:02:46 2013 +0100
67ff7e0
BUG/MEDIUM: acl: fix regression introduced by latest converters support
by Willy Tarreau
· Thu Dec 05 02:19:58 2013 +0100
d18cd0f
MEDIUM: http: The redirect strings follows the log format rules.
by Thierry FOURNIER
· Fri Nov 29 12:15:45 2013 +0100
b805f71
MEDIUM: sample: let the cast functions set their output type
by Thierry FOURNIER
· Tue Nov 26 20:47:54 2013 +0100
9c1d67e
MINOR: sample: provide the original sample_conv descriptor struct to the argument checker function.
by Thierry FOURNIER
· Thu Nov 21 13:37:41 2013 +0100
348971e
MEDIUM: acl: use the fetch syntax 'fetch(args),conv(),conv()' into the ACL keyword
by Thierry FOURNIER
· Thu Nov 21 10:50:10 2013 +0100
8af6ff1
MINOR: sample: export sample_casts
by Thierry FOURNIER
· Thu Nov 21 10:53:12 2013 +0100
1c0054f
BUG/MINOR: arg: fix error reporting for add-header/set-header sample fetch arguments
by Thierry FOURNIER
· Wed Nov 20 15:09:52 2013 +0100
ef38c39
MEDIUM: sample: systematically pass the keyword pointer to the keyword
by Willy Tarreau
· Mon Jul 22 16:29:32 2013 +0200
6236d3a
MINOR: sample: add a new "date" fetch to return the current date
by Willy Tarreau
· Thu Jul 25 14:28:25 2013 +0200
5b8ad22
CLEANUP: acl: move the 3 remaining sample fetches to samples.c
by Willy Tarreau
· Thu Jul 25 12:17:57 2013 +0200
18387e2
MINOR: sample: fix sample_process handling of unstable data
by Willy Tarreau
· Thu Jul 25 12:02:38 2013 +0200
833cc79
MEDIUM: sample: handle comma-delimited converter list
by Willy Tarreau
· Wed Jul 24 15:34:19 2013 +0200
dc13c11
BUG/MEDIUM: prevent gcc from moving empty keywords lists into BSS
by Willy Tarreau
· Fri Jun 21 23:16:39 2013 +0200
a4312fa
MAJOR: sample: maintain a per-proxy list of the fetch args to resolve
by Willy Tarreau
· Tue Apr 02 16:34:32 2013 +0200
bf8e251
MINOR: sample: provide a function to report the name of a sample check point
by Willy Tarreau
· Mon Mar 25 14:52:41 2013 +0100
80aca90
MEDIUM: samples: use new flags to describe compatibility between fetches and their usages
by Willy Tarreau
· Mon Jan 07 15:42:20 2013 +0100
47ca545
MINOR: chunks: centralize the trash chunk allocation
by Willy Tarreau
· Sun Dec 23 20:22:19 2012 +0100
e7ad4bb
MINOR: samples: add a function to fetch and convert any sample to a string
by Willy Tarreau
· Fri Dec 21 00:02:32 2012 +0100
d167e6d
MINOR: sample: support cast from bool to string
by Willy Tarreau
· Fri Dec 21 17:38:05 2012 +0100
7e2c647
MEDIUM: remove remains of BUFSIZE in HTTP auth and sample conversions
by Willy Tarreau
· Mon Oct 29 20:44:36 2012 +0100
a068a29
MINOR: sample: export 'sample_get_trash_chunk(void)'
by Emeric Brun
· Wed Oct 17 15:34:03 2012 +0200
8ac33d9
MINOR: sample: manage binary to string type convertion in stick-table and samples.
by Emeric Brun
· Wed Oct 17 13:36:06 2012 +0200
2e845be
MEDIUM: sample: pass an empty list instead of a null for fetch args
by Willy Tarreau
· Fri Oct 19 19:49:09 2012 +0200
f22a508
MINOR: sample: accept fetch keywords without parenthesis
by Willy Tarreau
· Fri Oct 19 16:47:23 2012 +0200
dd2f85e
CLEANUP: includes: fix includes for a number of users of fd.h
by Willy Tarreau
· Sun Sep 02 22:34:23 2012 +0200
c7e4238
REORG: buffers: split buffers into chunk,buffer,channel
by Willy Tarreau
· Fri Aug 24 19:22:53 2012 +0200
cd3b094
REORG: rename "pattern" files
by Willy Tarreau
· Fri Apr 27 21:52:18 2012 +0200
[Renamed (98%) from src/pattern.c]
1278578
REORG: use the name "sample" instead of "pattern" to designate extracted data
by Willy Tarreau
· Fri Apr 27 21:37:17 2012 +0200
40aebd9
MINOR: pattern: centralize handling of unstable data in pattern_process()
by Willy Tarreau
· Thu Apr 26 11:05:50 2012 +0200
12e5011
MEDIUM: pattern: ensure that sample types always cast into other types.
by Willy Tarreau
· Wed Apr 25 17:21:49 2012 +0200
32a6f2e
MEDIUM: acl/pattern: use the same direction scheme
by Willy Tarreau
· Wed Apr 25 10:13:36 2012 +0200
b8c8f1f
MEDIUM: pattern: retrieve the sample type in the sample, not in the keyword description
by Willy Tarreau
· Mon Apr 23 22:38:26 2012 +0200
342acb4
MEDIUM: pattern: integrate pattern_data into sample and use sample everywhere
by Willy Tarreau
· Mon Apr 23 22:03:39 2012 +0200
b4a88f0
MINOR: pattern: replace struct pattern with struct sample
by Willy Tarreau
· Mon Apr 23 21:35:11 2012 +0200
f853c46
MEDIUM: pattern/acl: get rid of temp_pattern in ACLs
by Willy Tarreau
· Mon Apr 23 18:53:56 2012 +0200
422aa07
MEDIUM: pattern: add new sample types to replace pattern types
by Willy Tarreau
· Fri Apr 20 20:49:27 2012 +0200
b27c0d3
MEDIUM: pattern: report the precise argument parsing error when known.
by Willy Tarreau
· Fri Apr 20 16:04:47 2012 +0200
21d68a6
MEDIUM: pattern: add an argument validation callback to pattern descriptors
by Willy Tarreau
· Fri Apr 20 15:52:36 2012 +0200
9fcb984
MEDIUM: pattern: use the standard arg parser
by Willy Tarreau
· Fri Apr 20 14:45:49 2012 +0200
f995410
MEDIUM: pattern: get rid of arg_i in all functions making use of arguments
by Willy Tarreau
· Fri Apr 20 14:03:29 2012 +0200
ecfb8e8
MEDIUM: pattern: replace type pattern_arg with type arg
by Willy Tarreau
· Fri Apr 20 12:29:52 2012 +0200
1ded605
CLEANUP: patterns: get rid of pattern_data_setstring()
by Willy Tarreau
· Fri Dec 16 15:35:46 2011 +0100
5e6cc4a
MINOR: pattern: export the global temporary pattern
by Willy Tarreau
· Fri Dec 16 15:23:14 2011 +0100
d281eed
[MEDIUM] Correct ipmask() logic
by Simon Horman
· Sat Aug 13 08:03:49 2011 +0900
4f92d32
[MEDIUM] IPv6 support for stick-tables
by David du Colombier
· Thu Mar 24 11:09:31 2011 +0100
485479d
[MEDIUM] Create new protected pattern types CONSTSTRING and CONSTDATA to force memcpy if data from protected areas need to be manipulated.
by Emeric Brun
· Thu Sep 23 18:02:19 2010 +0200
f0b38bf
[CLEANUP] stick_table: move pattern to key functions to stick_table.c
by Willy Tarreau
· Sun Jun 06 13:22:23 2010 +0200
ac778f5
[CLEANUP] acl, patterns: make use of my_strndup() instead of malloc+memcpy
by Willy Tarreau
· Tue Jan 26 19:02:46 2010 +0100
d31d6eb
[MINOR] pattern: add the "ipmask()" converting function
by Willy Tarreau
· Tue Jan 26 18:01:41 2010 +0100
9e92d32
[MINOR] pattern: add support for argument parsers for converters
by Willy Tarreau
· Tue Jan 26 17:58:06 2010 +0100
1a51b63
[MINOR] pattern: make the converter more flexible by supporting void* and int args
by Willy Tarreau
· Tue Jan 26 17:17:56 2010 +0100
a724d49
[BUG] patterns: copy-paste typo in type conversion arguments
by Willy Tarreau
· Tue Jan 26 16:48:20 2010 +0100
107ca30
[MEDIUM] Add pattern fetch management types and functions
by Emeric Brun
· Mon Jan 04 16:16:05 2010 +0100