Closed csh2022 closed 1 year ago
https://github.com/buchgr/bazel-remote/blob/46ab6a35b660fbfc8869970d805f81eaebec8e10/cache/disk/disk.go#L326C19-L326C19
Hi, I think this code is correct- rc is passed to c.proxy.Put(...) as an io.ReadCloser, and the backend proxy's Put function is expected to close the file.
rc
c.proxy.Put(...)
io.ReadCloser
Put
https://github.com/buchgr/bazel-remote/blob/46ab6a35b660fbfc8869970d805f81eaebec8e10/cache/disk/disk.go#L326C19-L326C19