Add HTTP/1.1 compatibility mode (#4509)

This commit is contained in:
Neil
2026-06-02 16:54:11 -07:00
committed by GitHub
parent 0d342235a7
commit d879cfde37
15 changed files with 483 additions and 59 deletions
+1
View File
@@ -231,6 +231,7 @@ export function getDefaultSettings(homedir: string): GlobalSettings {
terminalScrollbackBytes: 10_000_000,
httpProxyUrl: '',
httpProxyBypassRules: '',
electronHttp1CompatibilityMode: false,
openLinksInApp: true,
openInApplications: [],
rightSidebarOpenByDefault: true,
+3
View File
@@ -2029,6 +2029,9 @@ export type GlobalSettings = {
httpProxyUrl?: string
/** Optional semicolon/comma/newline-separated bypass rules for httpProxyUrl. */
httpProxyBypassRules?: string
/** Why: corporate TLS-intercepting proxies can break Electron HTTP/2 downloads;
* this opt-in compatibility mode applies Chromium's process-wide HTTP/1.1 switch. */
electronHttp1CompatibilityMode?: boolean
/** Why: opening arbitrary links inside Orca uses an isolated guest browser surface.
* The setting stays opt-in so existing workflows continue to use the system browser
* until the user explicitly wants worktree-scoped in-app browsing. */