envoyproxy / envoyproxy/envoy

Running Lua filter as fail closed

Open
#14,980 9 comments 3 reactions 0 assignees View on GitHub
area/lua help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
428

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.