frostfs-api-go/pkg
Alex Vanin 9401724b9c [] pkg/client: Use io.Reader wrapper at object put
Object payload transferred in chunks. Size of the
chunks may be limited by transport protocols. To
split it we use `io.CopyBuffer` with pre-allocated
buffer size of one chunk. However this function may
ignore buffer if reader or writer implements
`WriteTo` or `ReadFrom` methods. Unfortunately
`bytes.Reader` implements `WriteTo` function.

To fix this we wrap reader so wrapper implements
only `io.Reader` interface.

Related to github.com/nspcc-dev/neofs-node/issues/338

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-01-25 13:25:52 +03:00
..
accounting [] sdk/accounting: Rename test file package 2020-11-16 18:51:14 +03:00
acl [] pkg/eacl: Change interface for working with keys on Target and Record 2020-12-01 10:11:32 +03:00
audit [] v2/audit: Regenerate protobuf 2020-12-25 16:20:34 +03:00
client [] pkg/client: Use io.Reader wrapper at object put 2021-01-25 13:25:52 +03:00
container [] pkg/container: Implement container constructor with format check 2020-12-24 12:54:53 +03:00
netmap [] Fix exhaustive linter errors 2021-01-12 18:22:07 +03:00
object [] object/search: Implement method to add search filter by type 2020-12-25 16:20:26 +03:00
owner [] sdk/owner: Correct linter's remarks 2020-11-16 18:51:14 +03:00
storagegroup [] pkg: Implement storage group type with basic methods 2020-12-25 16:20:26 +03:00
token [] sdk/token: Correct linter's remarks 2020-11-16 18:51:14 +03:00
.gitkeep Implement new request signing mechanism 2020-09-18 10:40:45 +03:00
checksum.go [] pkg: Implement string encode/decode methods on Checksum 2020-12-25 16:20:26 +03:00
checksum_test.go [] pkg: Implement string encode/decode methods on Checksum 2020-12-25 16:20:26 +03:00
signature.go [] sdk: Rename getters of Signature type 2020-11-16 11:52:21 +03:00
signature_test.go [] refs: Implement binary/JSON encoders/decoders on Signature 2020-11-13 18:07:26 +03:00
version.go [] Fix SDK minor version number 2020-12-24 10:35:33 +03:00
version_test.go [] Fix SDK minor version number 2020-12-24 10:35:33 +03:00
xheader.go [] sdk: Implement XHeader type 2020-11-16 12:44:37 +03:00
xheader_test.go [] sdk: Implement XHeader type 2020-11-16 12:44:37 +03:00