hsa: introduce a configurable body limit for http client 67/43067/7
authorSemir Sionek <[email protected]>
Mon, 2 Jun 2025 11:34:15 +0000 (11:34 +0000)
committerFlorin Coras <[email protected]>
Thu, 5 Jun 2025 03:18:30 +0000 (03:18 +0000)
commit47303ea67d08e98fe1fc404764bff93d578bd9a5
treebdeffa9ca402aec9d863889a2c3981e021453eff
parentcc325c726a1338771f53050ed9b42410597ee514
hsa: introduce a configurable body limit for http client

Added a limit for returned body sizes, to make sure we're
not allocating too much memory. Configurable with the
max-body-size cli parameter.

Type: improvement
Change-Id: I732d2cfbc8c02ec85c052505b98177554960da88
Signed-off-by: Semir Sionek <[email protected]>
extras/hs-test/http_test.go
src/plugins/hs_apps/http_client.c