From ac533708dde743b30249273245c14c64ffa35eea Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 8 May 2026 18:04:10 -0400 Subject: [PATCH] Support path proxy mode in `multifile` command, too. --- cmd/multifile/multifile.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/multifile/multifile.go b/cmd/multifile/multifile.go index 3305707..9525893 100644 --- a/cmd/multifile/multifile.go +++ b/cmd/multifile/multifile.go @@ -142,6 +142,7 @@ func multifileExecute(ctx context.Context, manifest pget.Manifest) error { downloadOpts.SliceSize = 500 * humanize.MiByte downloadOpts.CacheableURIPrefixes = config.CacheableURIPrefixes() downloadOpts.ForceCachePrefixRewrite = viper.GetBool(config.OptForceCachePrefixRewrite) + downloadOpts.CacheUsePathProxy = viper.GetBool(config.OptCacheUsePathProxy) if downloadOpts.CacheHosts, err = cli.LookupCacheHosts(srvName); err != nil { return err } @@ -153,6 +154,7 @@ func multifileExecute(ctx context.Context, manifest pget.Manifest) error { downloadOpts.CacheHosts = []string{cacheHostname} downloadOpts.CacheableURIPrefixes = config.CacheableURIPrefixes() downloadOpts.ForceCachePrefixRewrite = viper.GetBool(config.OptForceCachePrefixRewrite) + downloadOpts.CacheUsePathProxy = viper.GetBool(config.OptCacheUsePathProxy) } if getter.Downloader == nil {