mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-20 12:46:56 +00:00
MINOR: threads/sample: Change temp_smp into a thread local variable
This commit is contained in:
parent
819fc6f563
commit
e5c918bcef
@ -50,7 +50,7 @@ const char *smp_to_type[SMP_TYPES] = {
|
||||
};
|
||||
|
||||
/* static sample used in sample_process() when <p> is NULL */
|
||||
static struct sample temp_smp;
|
||||
static THREAD_LOCAL struct sample temp_smp;
|
||||
|
||||
/* list head of all known sample fetch keywords */
|
||||
static struct sample_fetch_kw_list sample_fetches = {
|
||||
|
Loading…
Reference in New Issue
Block a user