frostfs-http-gw/uploader
Alex Vanin 1e3df95eed [#145] Use application context in NeoFS API requests
It is meaningless to use RequestCtx as a context.Context
for NeoFS operation, because context won't be closed
until application shutdown. Moreover, it also triggers
data race detection, because server's done channel, which
is accessible for reading from RequestCtx, is set to `nil`.

Using application context doesn't change gateway behavior,
but it suppresses data race trigger at shutdown. It also
allows possibility to set configurable timeouts for NeoFS
networking if we will ever need them.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-04-22 15:33:11 +04:00
..
filter.go [#111] Move attributes to a separate file 2021-12-09 16:12:13 +03:00
filter_test.go [#137] Drop sdk logger 2022-03-29 10:15:59 +03:00
multipart.go *: fix all comment-related golint warnings 2021-05-13 18:57:42 +03:00
upload.go [#145] Use application context in NeoFS API requests 2022-04-22 15:33:11 +04:00