frostfs-api-go/pkg
Alex Vanin c814cc62fa [#158] pkg/client: Ignore EOF on buffer copy in object.Put
There is a issue when user sends payload chunk to the neofs
node, but node closes connection earlier, e.g. node can return
error as soon as it checked ACL permission and denied request.

In this case client will receive EOF error and it produces
`could not send payload bytes to Put object stream` error, but
in fact there is different error.

If we ignore EOF there then `stream.CloseAndRecv()` return
correct error message later.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-25 15:58:40 +03:00
..
accounting [#126] sdk: add sdk client for all available api requests 2020-09-18 10:45:11 +03:00
acl [#155] sdk/eacl: Fix package cross dependency 2020-09-22 18:07:14 +03:00
client [#158] pkg/client: Ignore EOF on buffer copy in object.Put 2020-09-25 15:58:40 +03:00
container [#149] sdk/container: Add function to calculate identifier 2020-09-18 10:45:11 +03:00
netmap [#151] sdk/netmap: Add public key getter for node 2020-09-22 10:25:09 +03:00
object [#159] sdk: Define object range in object pkg 2020-09-25 15:58:24 +03:00
owner [#140] sdk: Refactor reference types 2020-09-18 10:45:11 +03:00
token [#143] sdk/token: Define bearer token structure 2020-09-18 10:45:11 +03:00
.gitkeep Implement new request signing mechanism 2020-09-18 10:40:45 +03:00
checksum.go [#140] sdk: Implement checksum comparison function 2020-09-18 10:45:11 +03:00
checksum_test.go [#140] sdk: Implement checksum comparison function 2020-09-18 10:45:11 +03:00
signature.go [#140] sdk: Define Signature type 2020-09-18 10:45:11 +03:00
version.go [#140] sdk: Refactor version type 2020-09-18 10:45:11 +03:00
version_test.go [#140] sdk: Refactor version type 2020-09-18 10:45:11 +03:00