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

Issue 73038: Allows a proxy bypass entry to match on a specific port, used by the... (Closed)

Created:
11 years, 8 months ago by sdoyon
Modified:
9 years, 7 months ago
Reviewers:
eroman
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Allows a proxy bypass entry to match on a specific port, used by the linux ProxyConfigService. BUG=8143 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14044

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -53 lines) Patch
M net/proxy/proxy_config.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 2 chunks +30 lines, -3 lines 0 comments Download
M net/proxy/proxy_service_unittest.cc View 1 2 1 chunk +156 lines, -50 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sdoyon
11 years, 8 months ago (2009-04-14 15:07:25 UTC) #1
eroman
> Bug: http://crbug.com/8143 Best to format this as "BUG=8143", since mal runs a script that ...
11 years, 8 months ago (2009-04-14 20:37:07 UTC) #2
sdoyon
On Tue, 14 Apr 2009, eroman@chromium.org wrote: >> Bug: http://crbug.com/8143 > > Best to format ...
11 years, 8 months ago (2009-04-16 15:09:46 UTC) #3
eroman
LGTM http://codereview.chromium.org/73038/diff/1002/1003 File net/proxy/proxy_service.cc (right): http://codereview.chromium.org/73038/diff/1002/1003#newcode604 Line 604: scheme_colon = bypass_url_domain.find("://"); nit: instead of calling ...
11 years, 8 months ago (2009-04-16 19:21:56 UTC) #4
sdoyon
11 years, 8 months ago (2009-04-17 14:19:33 UTC) #5
On Thu, 16 Apr 2009, eroman@chromium.org wrote:

> LGTM
>
>
> http://codereview.chromium.org/73038/diff/1002/1003
> File net/proxy/proxy_service.cc (right):
>
> http://codereview.chromium.org/73038/diff/1002/1003#newcode604
> Line 604: scheme_colon = bypass_url_domain.find("://");
> nit: instead of calling find(), could set the position during
> construction of bypass_url_domain:
>
> std::string bypass_url_domain_with_scheme = url.scheme();
> scheme_colon = url_domain_with_scheme.length(); // <--- HERE
> bypass_url_domain_with_scheme += "://";

Oh indeed!

> http://codereview.chromium.org/73038/diff/1002/1003#newcode623
> Line 623: std::find(domain_begin, port_iter, ':') == port_iter))
> my head hurts. looks right tho.

Good.

Thanks

Powered by Google App Engine
This is Rietveld 408576698