storlets/tests
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
..
functional Allow limiting maximum extra resources 2024-02-14 01:03:52 +09:00
unit Allow limiting maximum extra resources 2024-02-14 01:03:52 +09:00
__init__.py put test directory structure in order 2015-09-09 12:14:44 +03:00
base.py Fixing headers across all files 2016-12-12 08:41:44 +02:00