Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
62d8cb0
* test/modules/lua: New test suite.
notroj Nov 12, 2026
902639d
mod_lua: Cap memory use of r:wsread():
notroj Nov 12, 2026
38a4cc0
* modules/lua/lua_request.c (lua_websocket_readbytes): Loop until
notroj Nov 12, 2026
bd9503f
* modules/lua/lua_request.c (lua_websocket_read): Return empty data
notroj Nov 12, 2026
a0bdddd
* modules/lua/lua_request.c (lua_ap_regex): Pass the full size of
notroj Nov 12, 2026
5805327
mod_lua: Cap memory use of r:regex():
notroj Nov 12, 2026
1bf6a48
* modules/lua/lua_request.c (lua_ap_set_document_root,
notroj Nov 12, 2026
1d92b6b
mod_lua: Cap memory use of string methods such as r:escape():
notroj Nov 12, 2026
f965a7f
mod_lua: Cap memory use of r:md5(), r:sha1() and other methods:
notroj Nov 12, 2026
76bbc2b
mod_lua: Cap memory use of request table and option fields:
notroj Nov 12, 2026
e9d5f7f
* test/modules/lua/test_001_websocket.py (test_lua_001_07_wspeek_empty,
notroj Nov 12, 2026
37c76e6
* modules/lua/lua_request.c (lua_websocket_peek): Use a speculative
notroj Nov 12, 2026
392103c
mod_lua: Cap memory use of r:sendfile():
notroj Nov 12, 2026
2d4a753
* test/modules/lua/test_004_body.py: New test suite.
notroj Nov 13, 2026
bb91fba
mod_lua: Cap memory use of r:requestbody():
notroj Nov 13, 2026
9de9b34
* modules/lua/lua_request.c (lua_ap_scoreboard_worker): Return nothing
notroj Nov 13, 2026
b033f5a
* modules/lua/lua_request.h (APL_REQ_FUNTYPE_INT64): New field type.
notroj Nov 13, 2026
d23b91d
* modules/lua/lua_request.c (MODLUA_MAX_BASE64): New macro.
notroj Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changes-entries/lua-fixes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*) mod_lua: Fix websocket frame handling in r:wsread() and r:wspeek(),
r:requestbody() size limits, r:regex() with 25 capture groups and
r:set_document_root(). [Joe Orton]
2 changes: 2 additions & 0 deletions changes-entries/lua-wsread-memory.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*) mod_lua: Cap memory use of r:wsread(), r:requestbody(), r:regex()
and other request methods. [Joe Orton]
Loading
Loading