🐛 JSON input should not be static thread_local

This commit is contained in:
EntireTwix 2021-07-25 11:03:03 -07:00
parent 7ce9a71118
commit e717a0ad2c

View file

@ -6,7 +6,7 @@
static thread_local ondemand::parser parser; static thread_local ondemand::parser parser;
#define SIMD_JSON_GEN \ #define SIMD_JSON_GEN \
static thread_local simdjson::padded_string input(req->getBody()); \ simdjson::padded_string input(req->getBody()); \
auto doc = parser.iterate(input); auto doc = parser.iterate(input);
#define RESPONSE_PARSE(R) \ #define RESPONSE_PARSE(R) \