storlets/tests/unit
Takashi Kajinami 8401b6c581 Allow limiting maximum extra resources
Using many extra resources may cause high load at proxy server, because
the process needs to get all of the requested objects concurrently.
This change introduces a new option to limit maximum number of extra
resources per request to avoid DoS attack by too many extra resources.
If a request contains extra resources over the limit, then the request
is rejected at an early stage. The default value is -1 which means
unlimited. In case this option is set to 0 then users are not allowed
to use extra resources at all.

This also refactors handling of extra-resources header. One side
benefit of the refactoring is that now users can use additional inputs
when executing storlet over PUT requests.

Change-Id: I0ea7d78614f2b1ef5bf4961d2d5fe773264ef448
2024-02-14 01:03:52 +09:00
..
StorletSamples Move FakeStorletFile* from tests to stolets/tools 2017-02-07 03:07:48 -08:00
agent Run codespell to fix typos 2024-01-30 19:09:27 +09:00
gateway Decouple StorletData from StorletRequest/Response 2024-02-13 02:36:02 +09:00
sbus Replace third party mock 2022-06-26 14:58:26 +00:00
swift_middleware Allow limiting maximum extra resources 2024-02-14 01:03:52 +09:00
tools Run codespell to fix typos 2024-01-30 19:09:27 +09:00
__init__.py Use SBusClient for execute command 2020-04-13 16:54:01 +09:00