mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 04:56:10 +02: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…
x
Reference in New Issue
Block a user