close httpc
This commit is contained in:
@@ -40,6 +40,9 @@ local function create_task()
|
||||
body = body_text,
|
||||
}
|
||||
)
|
||||
|
||||
httpc:close()
|
||||
|
||||
if res == nil then
|
||||
ngx.log(ngx.ERR, "FAILED TO CONNECT TO *TASK_SERVER*", err)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user