nested exit test

This commit is contained in:
2022-03-12 21:50:52 +08:00
parent c989eeabb5
commit e873cca2df
2 changed files with 14 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
local function nested_e()
ngx.exit(ngx.HTTP_INTERNAL_SERVER_ERROR)
end
nested_e()
ngx.say("OK")
-- ➤ curl test.localhost:8088/api/ngx/test/nested_exit