commit | 1bc04c766432a9180cb011f7ca5390fc77789223 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Sun Oct 29 20:14:08 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 13:58:33 2017 +0100 |
tree | 254b92d36e8870b76af3f7a0bbdc9c0e4d8e69af | |
parent | cd7879adc2c408cd607bb287318d8152eb059872 [diff] [blame] |
BUG/MINOR: threads: Add missing THREAD_LOCAL on static here and there
diff --git a/src/proto_http.c b/src/proto_http.c index 390de89..ca99188 100644 --- a/src/proto_http.c +++ b/src/proto_http.c
@@ -267,7 +267,7 @@ struct chunk http_err_chunks[HTTP_ERR_SIZE]; /* this struct is used between calls to smp_fetch_hdr() or smp_fetch_cookie() */ -static struct hdr_ctx static_hdr_ctx; +static THREAD_LOCAL struct hdr_ctx static_hdr_ctx; #define FD_SETS_ARE_BITFIELDS #ifdef FD_SETS_ARE_BITFIELDS