Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
030571ab9d6cf8d9ae033b67a853417b088e7865
/
src
/
pattern.c
da7f11b
CLEANUP: pattern: remove the unused and dangerous pat_ref_reload()
by Willy Tarreau
· Tue May 11 16:49:55 2021 +0200
a13afe6
MINOR: pattern: support purging arbitrary ranges of generations
by Willy Tarreau
· Fri Apr 30 13:19:37 2021 +0200
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
295a89c
MINOR: pattern: make the pat_lru_seed read_mostly
by Willy Tarreau
· Sat Apr 10 17:42:04 2021 +0200
9057a00
CLEANUP: pattern: make all pattern tables read-only
by Willy Tarreau
· Sat Apr 10 17:44:27 2021 +0200
61cfdf4
CLEANUP: tree-wide: replace free(x);x=NULL with ha_free(&x)
by Willy Tarreau
· Sat Feb 20 10:46:51 2021 +0100
dc2410d
CLEANUP: pattern: rename pat_ref_commit() to pat_ref_commit_elt()
by Willy Tarreau
· Fri Jan 15 14:11:59 2021 +0100
8f0cc5c
CLEANUP: Fix spelling errors in comments
by Thayne McCombs
· Thu Jan 07 21:35:52 2021 -0700
967e7e7
MEDIUM: xxhash: use the XXH3 functions to generate 64-bit hashes
by Dragan Dosen
· Tue Dec 22 13:22:34 2020 +0100
a68affe
BUG/MINOR: pattern: a sample marked as const could be written
by Thierry Fournier
· Tue Nov 10 20:51:36 2020 +0100
38d4199
MEDIUM: pattern: turn the pattern chaining to single-linked list
by Willy Tarreau
· Tue Nov 03 14:50:29 2020 +0100
867a8a5
MINOR: pattern: prepare removal of a pattern from the list head
by Willy Tarreau
· Tue Nov 03 11:22:04 2020 +0100
2817472
MINOR: pattern: during reload, delete elements frem the ref, not the expression
by Willy Tarreau
· Tue Nov 03 13:36:58 2020 +0100
ae83e63
MEDIUM: pattern: make pat_ref_prune() rely on pat_ref_purge_older()
by Willy Tarreau
· Tue Nov 03 10:37:31 2020 +0100
94b9abe
MINOR: pattern: add pat_ref_purge_older() to purge old entries
by Willy Tarreau
· Wed Oct 28 18:23:49 2020 +0100
1a6857b
MINOR: pattern: implement pat_ref_load() to load a pattern at a given generation
by Willy Tarreau
· Thu Oct 29 09:21:43 2020 +0100
0439e5e
MINOR: pattern: add pat_ref_commit() to commit a previously inserted element
by Willy Tarreau
· Wed Oct 28 18:45:45 2020 +0100
c93da69
MEDIUM: pattern: only match patterns that match the current generation
by Willy Tarreau
· Thu Oct 29 09:41:34 2020 +0100
2994774
MINOR: pattern: store a generation number in the reference patterns
by Willy Tarreau
· Wed Oct 28 11:43:49 2020 +0100
1fd52f7
MINOR: pattern: introduce pat_ref_delete_by_ptr() to delete a valid reference
by Willy Tarreau
· Mon Nov 02 17:30:17 2020 +0100
a98b288
CLEANUP: pattern: remove pat_delete_fcts[] and pattern_head->delete()
by Willy Tarreau
· Mon Nov 02 20:20:47 2020 +0100
e828d8f
MINOR: pattern: perform a single call to pat_delete_gen() under the expression
by Willy Tarreau
· Mon Nov 02 20:15:40 2020 +0100
f1c0892
MINOR: pattern: remerge the list and tree deletion functions
by Willy Tarreau
· Mon Nov 02 19:53:16 2020 +0100
78777ea
MEDIUM: pattern: change the pat_del_* functions to delete from the references
by Willy Tarreau
· Mon Nov 02 13:55:22 2020 +0100
4bdd0a1
MEDIUM: pattern: link all final elements from the reference
by Willy Tarreau
· Mon Nov 02 12:10:48 2020 +0100
6d8a689
MINOR: pattern: make the delete and prune functions more generic
by Willy Tarreau
· Mon Nov 02 19:26:02 2020 +0100
9b5c8bb
MINOR: pattern: new sflag PAT_SF_REGFREE indicates regex_free() is needed
by Willy Tarreau
· Mon Nov 02 19:16:23 2020 +0100
d4164dc
CLEANUP: pattern: delete the back refs at once during pat_ref_reload()
by Willy Tarreau
· Tue Oct 27 18:55:20 2020 +0100
3ee0de1
MINOR: pattern: move the update revision to the pat_ref, not the expression
by Willy Tarreau
· Mon Nov 02 15:26:51 2020 +0100
114d698
MEDIUM: pattern: call malloc_trim() on pat_ref_reload()
by Willy Tarreau
· Tue Nov 03 15:55:35 2020 +0100
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
Next »