Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
c22747d470cdd215d98e1b174719602dc04171d9
/
src
/
pattern.c
a5bbaaf
CLEANUP: pattern: fix spelling/grammatical/copy-paste in comments
by Willy Tarreau
· Fri Oct 30 16:03:50 2020 +0100
8135d9b
CLEANUP: pattern: use calloc() rather than malloc for structures
by Willy Tarreau
· Fri Oct 30 15:35:11 2020 +0100
6bedf15
MINOR: pattern: export pat_ref_push()
by Willy Tarreau
· Wed Oct 28 11:18:06 2020 +0100
6a17407
MINOR: pattern: make pat_ref_add() rely on pat_ref_append()
by Willy Tarreau
· Wed Oct 28 10:58:05 2020 +0100
f4edb72
MINOR: pattern: make pat_ref_append() return the newly added element
by Willy Tarreau
· Wed Oct 28 10:52:46 2020 +0100
6cfc851
BUG/MEDIUM: pattern: Renew the pattern expression revision when it is pruned
by Christopher Faulet
· Wed Sep 09 16:09:44 2020 +0200
f278eec
BUILD: tree-wide: cast arguments to tolower/toupper to unsigned char
by Willy Tarreau
· Sun Jul 05 21:46:32 2020 +0200
b4cf7ab
BUG/MEDIUM: pattern: Add a trailing \0 to match strings only if possible
by Christopher Faulet
· Tue Jun 30 18:52:32 2020 +0200
47d1718
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jun 21 21:42:57 2020 +0500
d1d005d
MEDIUM: map: make the "clear map" operation yield
by Willy Tarreau
· Fri Dec 20 18:22:02 2019 +0100
2fc761e
BUG/MEDIUM: pattern: fix thread safety of pattern matching
by Willy Tarreau
· Thu Jun 11 16:37:35 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
aeed4a8
REORG: include: move log.h to haproxy/log{,-t}.h
by Willy Tarreau
· Thu Jun 04 22:01:04 2020 +0200
f268ee8
REORG: include: split global.h into haproxy/global{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:05:57 2020 +0200
e6ce10b
REORG: include: move sample.h to haproxy/sample{,-t}.h
by Willy Tarreau
· Thu Jun 04 15:33:47 2020 +0200
225a90a
REORG: include: move pattern.h to haproxy/pattern{,-t}.h
by Willy Tarreau
· Thu Jun 04 15:06:28 2020 +0200
48fbcae
REORG: tools: split common/standard.h into haproxy/tools{,-t}.h
by Willy Tarreau
· Wed Jun 03 18:09:46 2020 +0200
7cd8b6e
REORG: include: split common/regex.h into haproxy/regex{,-t}.h
by Willy Tarreau
· Tue Jun 02 17:32:26 2020 +0200
6131d6a
REORG: include: move common/net_helper.h to haproxy/net_helper.h
by Willy Tarreau
· Tue Jun 02 16:48:09 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
8d2b777
REORG: ebtree: move the include files from ebtree to include/import/
by Willy Tarreau
· Wed May 27 10:58:19 2020 +0200
b584b44
BUG/MINOR: pattern: Do not pass len = 0 to calloc()
by Tim Duesterhus
· Tue Mar 17 21:08:24 2020 +0100
52bf839
BUG/MEDIUM: random: implement a thread-safe and process-safe PRNG
by Willy Tarreau
· Sun Mar 08 00:42:37 2020 +0100
0fbf28a
Revert "BUG/MEDIUM: random: implement per-thread and per-process random sequences"
by Willy Tarreau
· Sat Mar 07 11:24:39 2020 +0100
1c306aa
BUG/MEDIUM: random: implement per-thread and per-process random sequences
by Willy Tarreau
· Fri Mar 06 19:04:55 2020 +0100
f91ac19
OPTIM: startup: fast unique_id allocation for acl.
by Carl Henrik Lunde
· Thu Feb 27 16:45:50 2020 +0100
296cfd1
MINOR: pattern: fix all remaining strict aliasing issues
by Willy Tarreau
· Tue Feb 25 09:58:41 2020 +0100
b8bd6d7
BUILD: pattern: include errno.h
by Jerome Magnin
· Fri Jan 17 18:01:20 2020 +0100
3c79d4b
BUG/MINOR: pattern: handle errors from fgets when trying to load patterns
by Jerome Magnin
· Fri Jan 17 16:09:33 2020 +0100
403bfbb
BUG/MEDIUM: pattern: make the pattern LRU cache thread-local and lockless
by Willy Tarreau
· Wed Oct 23 06:59:31 2019 +0200
33ccf1c
BUILD: pattern: work around an internal compiler bug in gcc-3.4
by Willy Tarreau
· Sun Jun 16 18:40:33 2019 +0200
2674303
MEDIUM: regex: modify regex_comp() to atomically allocate/free the my_regex struct
by Dragan Dosen
· Tue Apr 30 15:54:36 2019 +0200
e99af97
BUG/MEDIUM: pattern: fix memory leak in regex pattern functions
by Dragan Dosen
· Tue Apr 30 01:03:26 2019 +0200
49ee3b2
BUG/MAJOR: map/acl: real fix segfault during show map/acl on CLI
by Willy Tarreau
· Tue Apr 30 11:43:43 2019 +0200
86abe44
MEDIUM: init: use self-initializing spinlocks and rwlocks
by Willy Tarreau
· Sun Nov 25 20:12:18 2018 +0100
4189d67
CLEANUP: Fix typos in the pattern subsystem
by Joseph Herlant
· Thu Nov 15 10:22:31 2018 -0800
f147479
BUG/MEDIUM: patterns: fix possible double free when reloading a pattern list
by Dragan Dosen
· Tue Sep 18 20:18:09 2018 +0200
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· Fri Jul 13 11:56:34 2018 +0200
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· Fri Jul 13 10:54:26 2018 +0200
579fb25
BUG/MAJOR: map: fix a segfault when using http-request set-map
by William Lallemand
· Mon Jun 11 10:53:46 2018 +0200
564d15a
BUG/MINOR: pattern: Add a missing HA_SPIN_INIT() in pat_ref_newid()
by Aurélien Nephtali
· Thu Apr 19 16:56:07 2018 +0200
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· Mon Nov 13 10:34:01 2017 +0100
09fdf4b
BUG/MINOR: pattern: Rely on the sample type to copy it in pattern_exec_match
by Christopher Faulet
· Thu Nov 09 16:14:16 2017 +0100
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· Tue Nov 07 10:42:54 2017 +0100
b5997f7
MAJOR: threads/map: Make acls/maps thread safe
by Emeric Brun
· Mon Jul 03 11:34:05 2017 +0200
7d27f3c
BUG/MEDIUM: map/acl: fix unwanted flags inheritance.
by Emeric Brun
· Mon Jul 03 17:54:23 2017 +0200
8d85aa4
BUG/MAJOR: map: fix segfault during 'show map/acl' on cli.
by Emeric Brun
· Thu Jun 29 15:40:33 2017 +0200
e6e22e8
BUG/MINOR: pattern: Avoid memory leak on out-of-memory condition
by Andreas Seltenreich
· Thu Mar 03 20:20:23 2016 +0100
f065319
CLEANUP: pattern: Ignore unknown samples in pat_match_ip().
by Andreas Seltenreich
· Thu Mar 03 20:08:35 2016 +0100
8feaa66
MINOR: map: Add regex matching replacement
by Thierry Fournier
· Wed Feb 10 22:55:20 2016 +0100
aede6dd
BUG/MEDIUM: pattern: fixup use_after_free in the pat_ref_delete_by_id
by peter cai
· Wed Oct 07 00:07:43 2015 -0700
136f9d3
MINOR: samples: rename union from "data" to "u"
by Thierry FOURNIER
· Wed Aug 19 09:07:19 2015 +0200
8c542ca
MEDIUM: samples: Use the "struct sample_data" in the "struct sample"
by Thierry FOURNIER
· Wed Aug 19 09:00:18 2015 +0200
503bb09
MINOR: samples: rename some struct member from "smp" to "data"
by Thierry FOURNIER
· Wed Aug 19 08:35:43 2015 +0200
12ba0c2
MINOR: samples: rename a struct from sample_storage to sample_data
by Thierry FOURNIER
· Fri Aug 14 00:02:11 2015 +0200
07ee64e
MAJOR: sample: converts uint and sint in 64 bits signed integer
by Thierry FOURNIER
· Mon Jul 06 23:43:03 2015 +0200
f90ac55
MINOR: lru: Add the possibility to free data when an item is removed
by Christopher Faulet
· Tue Jun 09 17:06:17 2015 +0200
aee9314
BUILD: pattern: fix build warnings introduced in the LRU cache
by Willy Tarreau
· Mon May 04 17:18:42 2015 +0200
f3045d2
MAJOR: pattern: add LRU-based cache on pattern matching
by Willy Tarreau
· Wed Apr 29 16:24:50 2015 +0200
72f073b
MEDIUM: pattern: add a revision to all pattern expressions
by Willy Tarreau
· Wed Apr 29 17:53:47 2015 +0200
73bc285
BUG/MEDIUM: pattern: some entries are not deleted with case insensitive match
by Thierry FOURNIER
· Fri Feb 06 17:53:54 2015 +0100
8aa8384
BUG/MINOR: pattern: error message missing
by Thierry FOURNIER
· Fri Feb 06 17:50:55 2015 +0100
4deaf39
BUG/MEDIUM: patterns: previous fix was incomplete
by Willy Tarreau
· Wed Nov 26 13:17:03 2014 +0100
315ec42
BUG/MEDIUM: pattern: don't load more than once a pattern list.
by Thierry FOURNIER
· Mon Nov 24 11:14:42 2014 +0100
5def8ef
BUG/MINOR: pattern: remove useless allocation of unused trash in pat_parse_reg()
by Willy Tarreau
· Fri Aug 29 15:19:33 2014 +0200
b8f980c
MINOR: regex: Create JIT compatible function that return match strings
by Thierry FOURNIER
· Wed Jun 11 13:59:05 2014 +0200
07fcaaa
MINOR: fix a few memory usage errors
by Dirkjan Bussink
· Mon Apr 28 22:57:16 2014 +0000
b1dd9bf
MEDIUM: pattern: use ebtree's longest match to index/lookup string beginning
by Willy Tarreau
· Sat May 10 08:53:48 2014 +0200
e47e4e2
BUG/MEDIUM: patterns: last fix was still not enough
by Thierry FOURNIER
· Mon Apr 28 11:18:57 2014 +0200
a631fc8
BUG/MAJOR: patterns: -i and -n are ignored for inlined patterns
by Willy Tarreau
· Sat Apr 26 23:33:51 2014 +0200
3b78696
BUG/MEDIUM: pattern: a typo breaks automatic acl/map numbering
by Willy Tarreau
· Sat Apr 26 12:37:25 2014 +0200
953f74d
MINOR: pattern: find element in a reference
by Baptiste Assmann
· Fri Apr 25 16:57:03 2014 +0200
46006bd
MINOR: pattern: Add function to prune and reload pattern list.
by Thierry FOURNIER
· Fri Mar 21 21:45:15 2014 +0100
e5978bf
BUG/MEDIUM: acl: boolean only matches were broken by recent changes
by Thierry FOURNIER
· Mon Mar 17 19:53:10 2014 +0100
b7729c9
MINOR: pattern: forbid dns resolutions
by Thierry FOURNIER
· Tue Feb 11 16:24:41 2014 +0100
fc7ac7b
MINOR: standard: Disable ip resolution during the runtime
by Thierry FOURNIER
· Tue Feb 11 15:23:04 2014 +0100
94580c9
MINOR: dumpstat/conf: display all the configuration lines that using pattern reference
by Thierry FOURNIER
· Tue Feb 11 14:36:45 2014 +0100
eeaa951
MINOR: configuration: File and line propagation
by Thierry FOURNIER
· Tue Feb 11 14:00:19 2014 +0100
31db4ae
MINOR: pattern: index duplicates
by Thierry FOURNIER
· Thu Jan 30 00:27:15 2014 +0100
0b6d15f
MINOR: regex: The pointer regstr in the struc regex is no longer used.
by Thierry FOURNIER
· Wed Jan 29 19:35:16 2014 +0100
149e0fe
MINOR: pattern: The function pat_ref_set() have now atomic behavior
by Thierry FOURNIER
· Wed Jan 29 19:35:06 2014 +0100
364cfdf
MEDIUM: dumpstats: Display error message during add of values.
by Thierry FOURNIER
· Wed Jan 29 19:08:49 2014 +0100
c0bd910
MINOR: pattern: Check if the file reference is not used with acl and map
by Thierry FOURNIER
· Wed Jan 29 12:32:58 2014 +0100
39bef45
MINOR: pattern/map/acl: Centralization of the file parsers
by Thierry FOURNIER
· Wed Jan 29 13:29:45 2014 +0100
e369ca2
MEDIUM: pattern_find_smp: functions find_smp uses the pat_ref_elt to find the element to be removed
by Thierry FOURNIER
· Wed Jan 29 16:24:55 2014 +0100
7acca4b
MEDIUM: pattern: delete() function uses the pat_ref_elt to find the element to be removed
by Thierry FOURNIER
· Tue Jan 28 16:43:36 2014 +0100
6bb53ff
MINOR: pattern: Each pattern expression element store the reference struct.
by Thierry FOURNIER
· Tue Jan 28 15:54:36 2014 +0100
0d6ba51
MINOR: pattern: store configuration reference for each acl or map pattern.
by Thierry FOURNIER
· Tue Feb 11 03:31:34 2014 +0100
d25c842
MINOR: pattern: Merge function pattern_add() with pat_ref_push().
by Thierry FOURNIER
· Tue Jan 28 15:34:35 2014 +0100
aa222aa
MINOR: pattern: The function "pattern_register()" is no longer used.
by Thierry FOURNIER
· Mon Jan 27 17:20:07 2014 +0100
af5a29d
MINOR: pattern: Each pattern is identified by unique id.
by Thierry FOURNIER
· Tue Mar 11 14:29:22 2014 +0100
5d34408
MEDIUM: pattern: The expected type is stored in the pattern head, and conversion is executed once.
by Thierry FOURNIER
· Mon Jan 27 14:19:53 2014 +0100
c5959fd
MEDIUM: pattern: merge same pattern
by Thierry FOURNIER
· Mon Jan 20 14:29:33 2014 +0100
1e00d38
MAJOR: pattern/map: Extends the map edition system in the patterns
by Thierry FOURNIER
· Tue Feb 11 11:31:40 2014 +0100
3667e51
MEDIUM: pattern/dumpstats: The function pattern_lookup() is no longer used
by Thierry FOURNIER
· Wed Jan 15 11:57:00 2014 +0100
55d0b10
MEDIUM: pattern: add sample lookup function.
by Thierry FOURNIER
· Wed Jan 15 11:25:26 2014 +0100
6f7203d
MEDIUM: pattern: add prune function
by Thierry FOURNIER
· Tue Jan 14 16:24:51 2014 +0100
b113650
MEDIUM: pattern: add delete functions
by Thierry FOURNIER
· Wed Jan 15 11:38:49 2014 +0100
33a7433
MEDIUM: pattern: Index IPv6 addresses in a tree.
by Thierry FOURNIER
· Thu Dec 19 23:54:54 2013 +0100
5338eea
MEDIUM: pattern: The match function browse itself the list or the tree.
by Thierry FOURNIER
· Mon Dec 16 14:22:13 2013 +0100
Next »