Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2f277fe
* test/modules/lua: New test suite.
notroj Nov 12, 2026
66295cd
mod_lua: Cap memory use of r:wsread():
notroj Nov 12, 2026
5bcaa7c
* modules/lua/lua_request.c (lua_websocket_readbytes): Loop until
notroj Nov 12, 2026
cfcb762
* modules/lua/lua_request.c (lua_websocket_read): Return empty data
notroj Nov 12, 2026
5b3bfe9
* modules/lua/lua_request.c (lua_ap_regex): Pass the full size of
notroj Nov 12, 2026
e374be1
mod_lua: Cap memory use of r:regex():
notroj Nov 12, 2026
0bcb9cf
* modules/lua/lua_request.c (lua_ap_set_document_root,
notroj Nov 12, 2026
7007b74
mod_lua: Cap memory use of string methods such as r:escape():
notroj Nov 12, 2026
4908fdf
mod_lua: Cap memory use of r:md5(), r:sha1() and other methods:
notroj Nov 12, 2026
f288b9a
mod_lua: Cap memory use of request table and option fields:
notroj Nov 12, 2026
7cbb988
* test/modules/lua/test_001_websocket.py (test_lua_001_07_wspeek_empty,
notroj Nov 12, 2026
112c09e
* modules/lua/lua_request.c (lua_websocket_peek): Use a speculative
notroj Nov 12, 2026
8e399d3
mod_lua: Cap memory use of r:sendfile():
notroj Nov 12, 2026
a462976
* test/modules/lua/test_004_body.py: New test suite.
notroj Nov 13, 2026
93ca454
mod_lua: Cap memory use of r:requestbody():
notroj Nov 13, 2026
f38a3da
* modules/lua/lua_request.c (lua_ap_scoreboard_worker): Return nothing
notroj Nov 13, 2026
0943d53
* modules/lua/lua_request.h (APL_REQ_FUNTYPE_INT64): New field type.
notroj Nov 13, 2026
07a26e2
* modules/lua/lua_request.c (MODLUA_MAX_BASE64): New macro.
notroj Nov 13, 2026
d96a860
* modules/lua/lua_request.c (lua_websocket_greet): Close the
notroj Nov 27, 2026
4c24a38
* modules/lua/lua_request.c (lua_ap_sendfile): Send nothing for an
notroj Nov 27, 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