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

Issue 796003002: do not send traffic to localhost through proxy for android (Closed)

Created:
6 years ago by Branden
Modified:
5 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

do not send traffic to localhost through proxy for android The proxy config service for android does not allow one to configure an exception for localhost be made. The implementation for Linux did allow this in: proxy_config_service_linux.cc it just seems it was overlooked for android. Instead of adding in the ability to configure localhost as an exclusion, it makes more sense to just force the exception; it seems silly to send traffic for localhost through a proxy. This patch addresses the following bug in android: https://code.google.com/p/android/issues/detail?id=37031 BUG= Committed: https://crrev.com/80295948bf0bc43ebb640afd81fa152e9679fd36 Cr-Commit-Position: refs/heads/master@{#308243}

Patch Set 1 #

Total comments: 1

Patch Set 2 : update comment #

Patch Set 3 : Adding self to AUTHORS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M AUTHORS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/proxy_config_service_android.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (7 generated)
Torne
https://codereview.chromium.org/796003002/diff/1/net/proxy/proxy_config_service_android.cc File net/proxy/proxy_config_service_android.cc (right): https://codereview.chromium.org/796003002/diff/1/net/proxy/proxy_config_service_android.cc#newcode104 net/proxy/proxy_config_service_android.cc:104: // proxy_config_service does, just not the android Describing the ...
6 years ago (2014-12-11 17:44:49 UTC) #2
Branden
On 2014/12/11 17:44:49, Torne wrote: > https://codereview.chromium.org/796003002/diff/1/net/proxy/proxy_config_service_android.cc > File net/proxy/proxy_config_service_android.cc (right): > > https://codereview.chromium.org/796003002/diff/1/net/proxy/proxy_config_service_android.cc#newcode104 > ...
6 years ago (2014-12-11 18:56:40 UTC) #3
sgurun-gerrit only
note that I don't see any such bypass rule in _linux.cc file. Please clarify/correct where ...
6 years ago (2014-12-12 01:05:38 UTC) #6
Branden
On 2014/12/12 01:05:38, sgurun wrote: > note that I don't see any such bypass rule ...
6 years ago (2014-12-12 03:24:07 UTC) #7
sgurun-gerrit only
On 2014/12/12 03:24:07, Branden wrote: > On 2014/12/12 01:05:38, sgurun wrote: > > note that ...
6 years ago (2014-12-12 04:29:50 UTC) #8
sgurun-gerrit only
On 2014/12/12 04:29:50, sgurun wrote: > On 2014/12/12 03:24:07, Branden wrote: > > On 2014/12/12 ...
6 years ago (2014-12-12 04:32:03 UTC) #10
eroman
lgtm
6 years ago (2014-12-12 23:17:36 UTC) #11
sgurun-gerrit only
On 2014/12/12 23:17:36, eroman wrote: > lgtm Ok thanks eroman. I will go ahead and ...
6 years ago (2014-12-12 23:32:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/796003002/20001
6 years ago (2014-12-12 23:33:09 UTC) #14
sgurun-gerrit only
On 2014/12/12 23:33:09, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years ago (2014-12-13 00:51:15 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/30228)
6 years ago (2014-12-13 01:01:07 UTC) #17
sgurun-gerrit only
On 2014/12/13 01:01:07, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years ago (2014-12-13 01:25:41 UTC) #18
Branden
On 2014/12/13 01:25:41, sgurun wrote: > On 2014/12/13 01:01:07, I haz the power (commit-bot) wrote: ...
6 years ago (2014-12-13 02:02:54 UTC) #19
sgurun-gerrit only
On 2014/12/13 02:02:54, Branden wrote: > On 2014/12/13 01:25:41, sgurun wrote: > > On 2014/12/13 ...
6 years ago (2014-12-13 02:05:43 UTC) #20
Branden
On 2014/12/13 02:05:43, sgurun wrote: > On 2014/12/13 02:02:54, Branden wrote: > > On 2014/12/13 ...
6 years ago (2014-12-13 02:21:08 UTC) #21
sgurun-gerrit only
On 2014/12/13 02:21:08, Branden wrote: > On 2014/12/13 02:05:43, sgurun wrote: > > On 2014/12/13 ...
6 years ago (2014-12-13 02:26:03 UTC) #22
Branden
On 2014/12/13 02:26:03, sgurun wrote: > On 2014/12/13 02:21:08, Branden wrote: > > On 2014/12/13 ...
6 years ago (2014-12-13 02:39:23 UTC) #23
sgurun-gerrit only
On 2014/12/13 02:39:23, Branden wrote: > On 2014/12/13 02:26:03, sgurun wrote: > > On 2014/12/13 ...
6 years ago (2014-12-13 02:47:30 UTC) #24
sgurun-gerrit only
On 2014/12/13 02:47:30, sgurun wrote: > On 2014/12/13 02:39:23, Branden wrote: > > On 2014/12/13 ...
6 years ago (2014-12-13 02:47:47 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/796003002/40001
6 years ago (2014-12-13 02:50:26 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-13 03:48:04 UTC) #28
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/80295948bf0bc43ebb640afd81fa152e9679fd36 Cr-Commit-Position: refs/heads/master@{#308243}
6 years ago (2014-12-13 03:48:41 UTC) #29
maj.fil
I don't think it's silly to proxy localhost. I'm running a remote testing service, where ...
5 years, 9 months ago (2015-03-18 00:13:25 UTC) #30
Branden
On 2015/03/18 00:13:25, maj.fil wrote: > I don't think it's silly to proxy localhost. I'm ...
5 years, 9 months ago (2015-03-18 01:50:34 UTC) #31
neilk
On 2015/03/18 01:50:34, Branden wrote: > On 2015/03/18 00:13:25, maj.fil wrote: > > I don't ...
5 years, 9 months ago (2015-03-18 19:43:22 UTC) #32
neilk
5 years, 9 months ago (2015-03-27 22:43:39 UTC) #33
Message was sent while issue was closed.
On 2015/03/18 01:50:34, Branden wrote:
> On 2015/03/18 00:13:25, maj.fil wrote:
> > I don't think it's silly to proxy localhost. I'm running a remote testing
> > service, where I manage a bunch of Android devices. My customers want to
test
> > their own in-house websites, so I allow them to use Android's proxying
feature
> > so that I can proxy my devices through a tunnel to my customers' network.
This
> > way, they can test their site using 'localhost', but on my devices, which
> exist
> > elsewhere. Valid use case, no?
> 
> That is a valid use case; did not consider something like that. If that is the
> case, then the decision to proxy localhost or not needs to be configurable,
much
> like the other platforms that Chromium is used on.
> 
> If you are interested, maybe log a bug against Chromium for Android for
allowing
> proxying localhost to be configurable?

Bug logged: 

https://code.google.com/p/chromium/issues/detail?id=471400

Powered by Google App Engine
This is Rietveld 408576698