DescriptionRemove the implicit fallback to DIRECT when proxies fail. This better matches other browsers, and simplifies the code.
To better understand what this means, here are some examples how the behaviors will differ for the user:
(1) You start chrome with --proxy-server="foobar:80".
The server "foobar:80" is refusing connections.
Before: Would fallback to direct after failing to connect through foobar:80.
Now: Will error-out with connection refused after failing to connect through foobar:80.
(2) You start chrome with --proxy-pac-url="file:///foobar.pac".
The server "foobar:80" is unreachable, and foobar.pac reads:
function FindProxyForURL(url, host) {
return "PROXY foobar:80";
}
Before: Would fallback to direct after failing to connect through foobar:80.
Now: Will error-out with connection refused after failing to connect through foobar:80.
(3) You start chrome with --proxy-pac-url="file:///foobar.pac".
The server "foobar:80" is unreachable, and foobar.pac reads:
function FindProxyForURL(url, host) {
return "PROXY foobar:80; DIRECT";
}
*No change, since the fallback to DIRECT is explicit in the PAC script*
BUG=12303
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35549
Patch Set 1 #Patch Set 2 : '' #
Total comments: 5
Patch Set 3 : Sync #Patch Set 4 : Add error code ERR_PROXY_LIST_EMPTY #Patch Set 5 : Fix problem in ordering (todo: add a unittest that exercises) #Patch Set 6 : Fix a comment typo #
Total comments: 12
Messages
Total messages: 11 (0 generated)
|