Removed reqwest dependency, moved all http client reqvetsts to native pingora.

This commit is contained in:
Ara Sadoyan
2026-08-06 19:38:03 +02:00
parent b63d822577
commit 97ac839001
5 changed files with 156 additions and 572 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ impl ServiceDiscovery for ConsulDiscovery {
}
let pref = ss.clone() + &i.upstream;
let list = httpclient::for_consul(pref, consul.token.clone(), &i).await;
let list = httpclient::for_consul(pref.as_str(), consul.token.clone(), &i).await;
list_to_upstreams(list, &upstreams, &i);
}
}