New issue
Advanced search Search tips

Issue 889260 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

Investigate treatment of ws:// and wss:// when using a proxy-per-scheme configuration

Project Member Reported by eroman@chromium.org, Sep 25

Issue description

System proxy settings dialogs allows configuring a proxy per http://, https://, ftp://, gopher://, however do not include ws:// or wss://.

Confirm that when using system proxy settings Chrome applies the same behavior as the host platform. Do they treat websocket requests as equivalent to http:// or https://, or do they bypass the per-proxy mappings and use SOCKS.

Based on Issue 889155 it appears that Chrome treats them as distinct protocols.

When configuring proxy settings using a chrome-specific method (policy, extensions, command line flag), we should probably support remapping ws:// and wss:// too.

When using PAC ws:// and wss:// are visible to the PAC script, however there is a compatibility hack when using the system proxy resolver that remaps them.
 
Components: Blink>Network>WebSockets
I made a comment at https://bugs.chromium.org/p/chromium/issues/detail?id=889155#c12 which also applies here.

In short, SOCKS is preferred for WebSockets, where available. I never checked what other browsers do.
Thanks for the comment Adam, I had forgotten about that!

Still worth documenting how other UAs interpret the system proxy settings, to ensure Chrome's behavior in this regard matches user expectations.
Labels: -Type-Bug Type-Task
Status: Available (was: Untriaged)

Sign in to add a comment