Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Issue 80673002: Better handling of IPv6 with HTTP proxy (Closed)

Created:
7 years, 1 month ago by Søren Gjesse
Modified:
7 years, 1 month ago
Reviewers:
Anders Johnsen
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Better handling of IPv6 with HTTP proxy Handle IPv6 numeric hosts in the proxy configuration. Update the environment variable based proxy server cofiguration to also handle that the host is an IPv6 numeric address enclosed in []'s. Also support IPv6 numeric addresses in []'s in the no_proxy environment variable. Also fixed the issue where an empty string value for the environment variables http_proxy and friends caused the proxy configuration to become ':1080'. R=ajohnsen@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=30512

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -10 lines) Patch
M sdk/lib/io/http_impl.dart View 1 4 chunks +19 lines, -3 lines 0 comments Download
M tests/standalone/io/http_proxy_configuration_test.dart View 5 chunks +71 lines, -3 lines 0 comments Download
M tests/standalone/io/http_proxy_test.dart View 6 chunks +56 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Gjesse
7 years, 1 month ago (2013-11-21 10:28:00 UTC) #1
Anders Johnsen
lgtm https://codereview.chromium.org/80673002/diff/1/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/80673002/diff/1/sdk/lib/io/http_impl.dart#newcode1829 sdk/lib/io/http_impl.dart:1829: url.host == name.substring(1, name.length - 1)) || "[${url.host}]" ...
7 years, 1 month ago (2013-11-21 11:32:20 UTC) #2
Søren Gjesse
https://codereview.chromium.org/80673002/diff/1/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/80673002/diff/1/sdk/lib/io/http_impl.dart#newcode1829 sdk/lib/io/http_impl.dart:1829: url.host == name.substring(1, name.length - 1)) || On 2013/11/21 ...
7 years, 1 month ago (2013-11-21 12:05:27 UTC) #3
Søren Gjesse
7 years, 1 month ago (2013-11-21 12:05:31 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r30512 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698