close httpc

This commit is contained in:
2022-06-27 03:34:10 +08:00
parent 177ed3b7f9
commit 27e928f610
4 changed files with 8 additions and 5 deletions
+2
View File
@@ -50,6 +50,8 @@ local function verifyJwtToken(token)
}
)
httpc:close()
if not res then
ngx.log(ngx.ERR, "CAN'T VERIFY JWT TOKEN -> ", err)
ngx.exit(ngx.HTTP_FORBIDDEN)