http_static: introduce max-body-size parameter 75/42175/15
authorSemir Sionek <[email protected]>
Fri, 17 Jan 2025 15:06:23 +0000 (10:06 -0500)
committerFlorin Coras <[email protected]>
Thu, 23 Jan 2025 18:30:28 +0000 (18:30 +0000)
commit5e94895dfd7d597a88965e6b5c1d2a3bc6ffe67e
tree488c998e057296d7fecefb11c1756289e58f34d5
parent7267149267fae4bb814af441fabb42767c1a720d
http_static: introduce max-body-size parameter

Introduce the max-body-size parameter to put a limit on how big of a
POST request can the static server take (and how big of a memory
allocation that causes).

Type: improvement
Change-Id: I93cdeaf38dabe2850665e92bedbaa0545c375214
Signed-off-by: Semir Sionek <[email protected]>
extras/hs-test/http_test.go
src/plugins/http_static/http_static.api
src/plugins/http_static/http_static.c
src/plugins/http_static/http_static.h
src/plugins/http_static/http_static_test.c
src/plugins/http_static/static_server.c