actix / actix/actix-web

support for http proxies in awc

Abierto
#4,008 0 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
24.8k
Forks
1.9k
Merge medio
23 h 10 min
PR fusionados (30 d)
26

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.