]> git.feebdaed.xyz Git - 0xmirror/civetweb.git/commit
Abort early on Lua errors to avoid sending half-done pages to the user and call the...
authorDL6ER <dl6er@dl6er.de>
Mon, 23 Sep 2024 11:13:35 +0000 (13:13 +0200)
committerDL6ER <dl6er@dl6er.de>
Mon, 23 Sep 2024 17:10:43 +0000 (19:10 +0200)
commitb02d56d6d03996446071c7de0fc1c71473a504d3
tree314e87e76dccd8cb2a61fcb84fb844561ebe9548
parente0cd57edd1a7b8ce1d0fd6d9a6457c86e1b266e3
Abort early on Lua errors to avoid sending half-done pages to the user and call the lua_error_handler to get the error to the user as well as to the log file

Signed-off-by: DL6ER <dl6er@dl6er.de>
Handle stack properly and add static prototype in/for lua_error_handler()

Signed-off-by: DL6ER <dl6er@dl6er.de>
src/mod_lua.inl