browse: Linux desktop sessions (GNOME/KDE) may lose a system PAC proxy under --proxy-server=direct://

Abierto
#3,450 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
linux, typescript

Línea de trabajo

Start by checking #3448 and the Linux proxy handling, then verify Chromium’s behavior in a GNOME session with a gsettings PAC or manual proxy and no HTTPS_PROXY. Run $B goto against a logging CONNECT proxy before and after #3448 and record whether CONNECT arrives. If confirmed, choose between gating the Linux direct switch using explicitDirect() or documenting the limitation in BROWSER.md under “Proxy from environment”; done means the observed behavior and chosen fix are clear.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

S3

Follow-up from #3448 (#3440 item 8), raised by the ship red team and unverified.

#3448 makes every direct connection on Linux explicit with --proxy-server=direct://, because Chromium launched without a proxy switch reads HTTPS_PROXY/HTTP_PROXY/ALL_PROXY itself there. Chromium's ProxyConfigServiceLinux reads those variables only outside a desktop session: when XDG_CURRENT_DESKTOP is in the GNOME (Cinnamon, Unity, Pantheon) or KDE families it reads the desktop's system proxy settings (gsettings / kioslaverc, PAC and WPAD included) and does not fall back to the environment. If that is right, a GStack Browser user on a corporate Linux desktop with a system PAC now gets the switch forced and loses connectivity, the regression #3448 avoided on macOS and Windows by gating the switch to an explicit BROWSE_PROXY_URL=direct there, and the daemon log line names variables Chromium would not have consulted.

The measurement behind #3448 was taken in a no-desktop (Xvfb) session, where the environment-variable path is the one Chromium uses.

To settle it:

  1. In a GNOME session, set a manual or PAC proxy in gsettings with no HTTPS_PROXY, run $B goto against a logging CONNECT proxy on main before and after #3448, and record whether the CONNECT arrives.
  2. If confirmed, either gate Linux like macOS when a desktop proxy service would be used (XDG_CURRENT_DESKTOP in the GNOME/KDE families, or gsettings get org.gnome.system.proxy mode not none), reusing explicitDirect() so the opt-out joins the config hash there too, or document in BROWSER.md "Proxy from environment" that Linux desktop system proxy settings are bypassed and the proxy must be named through BROWSE_PROXY_URL.

Decision owner: GStack Minder (2026-10-26) asked for this to be filed rather than guessed at in #3448.

Lenguaje dominante
TypeScript
Estrellas
143k
Forks
21k
Merge medio
5 h 25 min
PR fusionados (30 d)
791

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de garrytan/gstack

Todos los issues de garrytan/gstack

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.