frostfs-node/pkg
Leonard Lyubich 096acb2a44 [#580] v2/object/put: Check payload size of the relayed objects
NeoFS network dictates the limitation of the maximum size of the "finished"
objects. The payload size of an object is recorded in its header. When
writing finished objects, the nodes must check:

  * satisfying the constraint;
  * matching the value in the header to the number of payload bytes.

Provide value returned by `MaxSizeSource` component to `validatingTarget`.
Check max size value during the stream of the "finished" objects. Check
header value during the streaming and on-close. Check payload size in v2
relay scenario.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-09 12:08:37 +03:00
..
core [#570] *: Use generator of test owner IDs from API Go lib 2021-05-31 20:45:15 +03:00
innerring [#589] ir/container: Verify session token lifetime 2021-06-09 10:17:49 +03:00
local_object_storage [#570] *: Use generator of test owner IDs from API Go lib 2021-05-31 20:45:15 +03:00
metrics [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
morph [#584] pkg/innerring: Delete using deprecated methods 2021-06-03 13:59:59 +03:00
network [#567] network/clients: Implement method to close the cached clients 2021-05-31 13:11:37 +03:00
services [#580] v2/object/put: Check payload size of the relayed objects 2021-06-09 12:08:37 +03:00
util [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00