DescriptionCorrect manual proxy selection for WebSockets.
When an HTTPS and/or HTTP proxy was manually configured, WebSocket
connections were mistakenly going direct to the origin server.
According to RFC6455, WebSocket connections should prefer SOCKS proxies,
then HTTPS, then HTTP proxies in that order. Fix the behaviour when
proxies are manually selected to match.
BUG=426736
TEST=net_unittests, manual
Committed: https://crrev.com/bec9560de247f82410abe2ed1741bccdb9ee7dc5
Cr-Commit-Position: refs/heads/master@{#302037}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Don't look for ws schemes at parse time. #
Messages
Total messages: 13 (3 generated)
|