From f4e719a78b2498e5a78305f30d3b2bcd5db122ef Mon Sep 17 00:00:00 2001 From: fengweihao Date: Thu, 16 Nov 2023 15:20:17 +0800 Subject: [PATCH] =?UTF-8?q?TSG-17693=20=E4=BF=AE=E5=A4=8D=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E5=88=A4=E6=96=AD=EF=BC=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?lua=E8=84=9A=E6=9C=AC=E6=89=A7=E8=A1=8C=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/tsg-http/src/http_lua.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/business/tsg-http/src/http_lua.cpp b/plugin/business/tsg-http/src/http_lua.cpp index 5894e22..78b93ba 100644 --- a/plugin/business/tsg-http/src/http_lua.cpp +++ b/plugin/business/tsg-http/src/http_lua.cpp @@ -834,7 +834,7 @@ size_t execute_lua_script_rule(struct tsg_lua_script *lua_script, int profile_id return ret; } - if(*escript == NULL) + if(escript[thread_id] == NULL) { escript[thread_id]=http_lua_map_cache_script(lua_script->http_lua_handle[thread_id], profile_msg, msg_len, timeout); }