We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b6f39 commit e017b18Copy full SHA for e017b18
storage/src/backend/connection.rs
@@ -635,7 +635,7 @@ impl Connection {
635
let mut cb = Client::builder()
636
.timeout(timeout)
637
.connect_timeout(connect_timeout)
638
- .redirect(Policy::none())
+ .redirect(Policy::limited(2))
639
.use_rustls_tls()
640
.tcp_keepalive(Some(Duration::from_secs(5 * 60)))
641
.pool_max_idle_per_host(pool_max_idle_per_host);
storage/src/backend/registry.rs
@@ -264,7 +264,7 @@ impl RegistryState {
264
Method::GET,
265
auth.realm.as_str(),
266
Some(&query),
267
- Some(ReqBody::Form(form)),
+ None,
268
&mut headers,
269
true,
270
0 commit comments