envoyproxy/envoy

Running Lua filter as fail closed

Open

#14,980 创建于 2021年2月8日

在 GitHub 查看
 (9 评论) (3 反应) (0 负责人)C++ (5,373 fork)batch import
area/luahelp wanted

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

Is there a way to run Lua filters as "fail closed"? I have observed that the requested resources are served normally if an error/exception occurs in the Lua script. I would rather see 503 (at least for some scripts, s.a. a Lua auth filter). Can this be done/configured, or do I need to be super defensive (paranoid) when writing the filter?

贡献者指南