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

Issue 10987043: Receiving Connection: Proxy-Bypass induces proxy fallback. (Closed)

Created:
8 years, 2 months ago by Michael Piatek
Modified:
8 years, 2 months ago
Reviewers:
cbentzel, eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Receiving Connection: Proxy-Bypass induces proxy fallback. BUG=143712 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162218

Patch Set 1 #

Total comments: 10

Patch Set 2 : Pull proxy list mutation in ProxyService. #

Total comments: 2

Patch Set 3 : Fallback without modifying proxy_list during the transaction. #

Total comments: 4

Patch Set 4 : Tests #

Total comments: 4

Patch Set 5 : Suppress proxy fallback loops. #

Total comments: 8

Patch Set 6 : Proxy-bypass tests with DIRECT PAC strings. #

Patch Set 7 : Build fix for android_dbg. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -12 lines) Patch
M net/http/http_network_layer_unittest.cc View 1 2 3 4 5 6 3 chunks +180 lines, -5 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M net/proxy/proxy_list.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M net/proxy/proxy_list.cc View 1 2 3 4 4 chunks +36 lines, -7 lines 0 comments Download
M net/proxy/proxy_list_unittest.cc View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Michael Piatek
First-cut at fallback via header. Thanks for the tip, Eric, interposing in HttpNetworkTransaction is pretty ...
8 years, 2 months ago (2012-09-26 00:14:22 UTC) #1
eroman
https://chromiumcodereview.appspot.com/10987043/diff/1/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://chromiumcodereview.appspot.com/10987043/diff/1/net/http/http_network_transaction.cc#newcode871 net/http/http_network_transaction.cc:871: // TODO(piatek): const_cast, or non-const accessor? Internalize the mutation ...
8 years, 2 months ago (2012-09-26 01:36:20 UTC) #2
Michael Piatek
https://chromiumcodereview.appspot.com/10987043/diff/1/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://chromiumcodereview.appspot.com/10987043/diff/1/net/http/http_network_transaction.cc#newcode871 net/http/http_network_transaction.cc:871: // TODO(piatek): const_cast, or non-const accessor? On 2012/09/26 01:36:20, ...
8 years, 2 months ago (2012-09-26 20:13:53 UTC) #3
eroman
https://chromiumcodereview.appspot.com/10987043/diff/1/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://chromiumcodereview.appspot.com/10987043/diff/1/net/http/http_network_transaction.cc#newcode865 net/http/http_network_transaction.cc:865: // Server-induced fallback is supported only if this is ...
8 years, 2 months ago (2012-09-26 22:01:57 UTC) #4
Michael Piatek
https://chromiumcodereview.appspot.com/10987043/diff/1/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://chromiumcodereview.appspot.com/10987043/diff/1/net/http/http_network_transaction.cc#newcode865 net/http/http_network_transaction.cc:865: // Server-induced fallback is supported only if this is ...
8 years, 2 months ago (2012-09-27 00:30:24 UTC) #5
eroman
OK, i think this is ready for some unittests now (mostly these will be at ...
8 years, 2 months ago (2012-09-28 23:19:15 UTC) #6
Michael Piatek
+tests https://chromiumcodereview.appspot.com/10987043/diff/10001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://chromiumcodereview.appspot.com/10987043/diff/10001/net/proxy/proxy_service.cc#newcode1180 net/proxy/proxy_service.cc:1180: return result.proxy_list_.size() > 1; On 2012/09/28 23:19:15, eroman ...
8 years, 2 months ago (2012-10-01 23:23:11 UTC) #7
eroman
Slow to respond, as was OOO last week. https://chromiumcodereview.appspot.com/10987043/diff/14001/net/http/http_network_layer_unittest.cc File net/http/http_network_layer_unittest.cc (right): https://chromiumcodereview.appspot.com/10987043/diff/14001/net/http/http_network_layer_unittest.cc#newcode188 net/http/http_network_layer_unittest.cc:188: EXPECT_EQ("bad:8080", ...
8 years, 2 months ago (2012-10-08 22:29:25 UTC) #8
Michael Piatek
https://chromiumcodereview.appspot.com/10987043/diff/14001/net/http/http_network_layer_unittest.cc File net/http/http_network_layer_unittest.cc (right): https://chromiumcodereview.appspot.com/10987043/diff/14001/net/http/http_network_layer_unittest.cc#newcode188 net/http/http_network_layer_unittest.cc:188: EXPECT_EQ("bad:8080", (*proxy_service_->proxy_retry_info().begin()).first); On 2012/10/08 22:29:25, eroman wrote: > Please ...
8 years, 2 months ago (2012-10-09 21:05:08 UTC) #9
eroman
lgtm after addressing these comments http://codereview.chromium.org/10987043/diff/23001/net/http/http_network_layer_unittest.cc File net/http/http_network_layer_unittest.cc (right): http://codereview.chromium.org/10987043/diff/23001/net/http/http_network_layer_unittest.cc#newcode213 net/http/http_network_layer_unittest.cc:213: data_writes, arraysize(data_writes)); nit: indent ...
8 years, 2 months ago (2012-10-12 18:30:58 UTC) #10
Michael Piatek
https://chromiumcodereview.appspot.com/10987043/diff/23001/net/http/http_network_layer_unittest.cc File net/http/http_network_layer_unittest.cc (right): https://chromiumcodereview.appspot.com/10987043/diff/23001/net/http/http_network_layer_unittest.cc#newcode213 net/http/http_network_layer_unittest.cc:213: data_writes, arraysize(data_writes)); On 2012/10/12 18:30:58, eroman wrote: > nit: ...
8 years, 2 months ago (2012-10-15 17:10:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piatek@google.com/10987043/46001
8 years, 2 months ago (2012-10-16 17:33:06 UTC) #12
commit-bot: I haz the power
8 years, 2 months ago (2012-10-16 19:51:33 UTC) #13
Change committed as 162218

Powered by Google App Engine
This is Rietveld 408576698