2026-10-21 20:54 UTC
Another very simple option in #Vinyl_Cache is to limit the size of request bodies using std.cache_req_body(). This also has the added benefit that chunked transfer encoding is tuned into a request with a content-length, such that php can check it upfront against the maximum body size.
In the example, the maximum size should be adjusted accordingly.
#php2shell
https://vinyl-cache.org/docs/trunk/reference/vmod_std.html#std-cache-req-body
Replies (1)
-
@slink@fosstodon.org 2026-10-21 22:44
Turned this into a short article. https://fosstodon.org/@vinyl_cache/117481311068491278 Good night