frostfs-api-go/pkg/client
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.go [#140] sdk: Refactor version type 2020-09-18 10:45:11 +03:00
client.go [#140] sdk: Refactor version type 2020-09-18 10:45:11 +03:00
client_test.go [#142] sdk/container: Use placement policy from neofs-api v2.0 2020-09-18 10:45:11 +03:00
container.go [#139] sdk/client: Support EACL in RPC client 2020-09-18 10:45:11 +03:00
object.go [#158] pkg/client: Ignore EOF on buffer copy in object.Put 2020-09-25 15:58:40 +03:00
opts.go [#143] sdk/client: Add call option to set bearer token 2020-09-18 10:45:11 +03:00
session.go [#150] sdk/token: Add owner ID 2020-09-18 10:45:11 +03:00