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
8fff6be
New test suite.
notroj Nov 12, 2026
e17d7a5
mod_lua: Cap memory use of r:wsread():
notroj Nov 12, 2026
90485f0
* modules/lua/lua_request.c (lua_websocket_readbytes): Loop until
notroj Nov 12, 2026
4c6b771
* modules/lua/lua_request.c (lua_websocket_read): Return empty data
notroj Nov 12, 2026
18aa967
* modules/lua/lua_request.c (lua_ap_regex): Pass the full size of
notroj Nov 12, 2026
0fb5418
mod_lua: Cap memory use of r:regex():
notroj Nov 12, 2026
3cf7ce9
* modules/lua/lua_request.c (lua_ap_set_document_root,
notroj Nov 12, 2026
f056d12
mod_lua: Cap memory use of string methods such as r:escape():
notroj Nov 12, 2026
f7bb914
mod_lua: Cap memory use of r:md5(), r:sha1() and other methods:
notroj Nov 12, 2026
149c7c7
mod_lua: Cap memory use of request table and option fields:
notroj Nov 12, 2026
50fc6bf
* test/modules/lua/test_001_websocket.py (test_lua_001_07_wspeek_empty,
notroj Nov 12, 2026
c592f2c
* modules/lua/lua_request.c (lua_websocket_peek): Use a speculative
notroj Nov 12, 2026
d45bec4
mod_lua: Cap memory use of r:sendfile():
notroj Nov 12, 2026
f497c72
* test/modules/lua/test_004_body.py: New test suite.
notroj Nov 13, 2026
10da342
mod_lua: Cap memory use of r:requestbody():
notroj Nov 13, 2026
3d0941a
* modules/lua/lua_request.c (lua_ap_scoreboard_worker): Return nothing
notroj Nov 13, 2026
f7afacc
* modules/lua/lua_request.h (APL_REQ_FUNTYPE_INT64): New field type.
notroj Nov 13, 2026
cb43ed2
* 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