envoyproxy/envoy

Running Lua filter as fail closed

Open

#14,980 opened on 2021年2月8日

GitHub で見る
 (9 comments) (3 reactions) (0 assignees)C++ (5,373 forks)batch import
area/luahelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (平均マージ 8d) (30d で 378 merged PRs)

説明

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?

コントリビューターガイド