actix / actix/actix-web

support for http proxies in awc

Offen
#4,008 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
24.8k
Forks
1.9k
Ø Merge
23 Std. 10 Min.
Gemergte PRs (30 T.)
26

Beschreibung

In reqwest, when a system proxy is configured, it is used by default: https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.html#method.proxy
In awc, it does not seem possible to configure an http proxy, and the environment variables HTTP_PROXY / HTTPS_PROXY are ignored by default: https://docs.rs/awc/latest/awc/index.html

It would be nice if awc supported proxies. Currently, any desktop software that depends on awc is hard to deploy in constrained/managed environments that require the usage of proxies to access the internet.

Initially requested in https://github.com/sqlpage/SQLPage/discussions/1269

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.