bazel-remote icon indicating copy to clipboard operation
bazel-remote copied to clipboard

proxy backends don't have timeouts

Open mostynb opened this issue 5 years ago • 0 comments
trafficstars

The httpproxy and gcsproxy backends use the default http.Client with no timeouts. This is probably unwise- we should set a reasonable default and provide a config setting to tweak these values.

The s3proxy backend probably also needs a similar setting. Maybe there's a good way to share these settings across all three backends instead of having separate but equivalent settings for each?

mostynb avatar Jun 08 '20 21:06 mostynb