close httpc
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user