mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
replication: detect proxy header presence correctly (#16489)
This commit is contained in:
1 parent
d19cbc81b5
commit
ed20134a7b
2 files changed
+2
-5
No files matched your search
@@ -1943,7 +1943,7 @@ func getProxyTargets(ctx context.Context, bucket, object string, opts ObjectOpti
|
||||
if opts.VersionSuspended {
|
||||
return &madmin.BucketTargets{}
|
||||
}
|
||||
if !opts.ProxyRequest {
|
||||
if opts.ProxyRequest || (opts.ProxyHeaderSet && !opts.ProxyRequest) {
|
||||
return &madmin.BucketTargets{}
|
||||
}
|
||||
cfg, err := getReplicationConfig(ctx, bucket)
|
||||
|
||||
Reference in new issue
Block a user