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

Issue 695193002: AppCacheUpdateJob allows data reduction proxy bypass redirects (Closed)

Created:
6 years, 1 month ago by bengr
Modified:
6 years, 1 month ago
Reviewers:
michaeln, michaeln1
CC:
chromium-reviews, michaeln, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

AppCacheUpdateJob allows data reduction proxy bypass redirects The AppCacheUpdateJob::URLFetcher cancels redirects in general. This change allows redirects that are generated by the data reduction proxy bypass mechanism. This is a workaround until crbug.com/429505 is resolved. BUG=429011 Committed: https://crrev.com/b4072eae8e50f4e0c54525241d50be6ef73a96d3 Cr-Commit-Position: refs/heads/master@{#302558}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Addressed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M content/browser/appcache/appcache_update_job.cc View 1 2 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
bengr
This is a workaround that I hope to revert as soon as http://crbug.com/429505 is fixed ...
6 years, 1 month ago (2014-11-02 18:34:05 UTC) #2
michaeln
https://codereview.chromium.org/695193002/diff/1/content/browser/appcache/appcache_update_job.cc File content/browser/appcache/appcache_update_job.cc (right): https://codereview.chromium.org/695193002/diff/1/content/browser/appcache/appcache_update_job.cc#newcode163 content/browser/appcache/appcache_update_job.cc:163: if ((request->load_flags() & net::LOAD_BYPASS_PROXY) && Is the 'redirect' to ...
6 years, 1 month ago (2014-11-03 21:37:20 UTC) #3
bengr
https://codereview.chromium.org/695193002/diff/1/content/browser/appcache/appcache_update_job.cc File content/browser/appcache/appcache_update_job.cc (right): https://codereview.chromium.org/695193002/diff/1/content/browser/appcache/appcache_update_job.cc#newcode163 content/browser/appcache/appcache_update_job.cc:163: if ((request->load_flags() & net::LOAD_BYPASS_PROXY) && On 2014/11/03 21:37:20, michaeln ...
6 years, 1 month ago (2014-11-03 22:58:24 UTC) #4
michaeln1
lgtm as a stopgap for now https://codereview.chromium.org/695193002/diff/1/content/browser/appcache/appcache_update_job.cc File content/browser/appcache/appcache_update_job.cc (right): https://codereview.chromium.org/695193002/diff/1/content/browser/appcache/appcache_update_job.cc#newcode28 content/browser/appcache/appcache_update_job.cc:28: proxy_server.Equals(net::HostPortPair("proxy-dev.googlezip.net", 80))) { ...
6 years, 1 month ago (2014-11-03 23:11:12 UTC) #6
bengr
https://codereview.chromium.org/695193002/diff/1/content/browser/appcache/appcache_update_job.cc File content/browser/appcache/appcache_update_job.cc (right): https://codereview.chromium.org/695193002/diff/1/content/browser/appcache/appcache_update_job.cc#newcode28 content/browser/appcache/appcache_update_job.cc:28: proxy_server.Equals(net::HostPortPair("proxy-dev.googlezip.net", 80))) { On 2014/11/03 23:11:12, michaeln1 wrote: > ...
6 years, 1 month ago (2014-11-03 23:48:32 UTC) #7
michaeln
lgtm @chromium too https://codereview.chromium.org/695193002/diff/20001/content/browser/appcache/appcache_update_job.cc File content/browser/appcache/appcache_update_job.cc (right): https://codereview.chromium.org/695193002/diff/20001/content/browser/appcache/appcache_update_job.cc#newcode31 content/browser/appcache/appcache_update_job.cc:31: return false; this could be simplified ...
6 years, 1 month ago (2014-11-03 23:51:31 UTC) #8
bengr
https://codereview.chromium.org/695193002/diff/20001/content/browser/appcache/appcache_update_job.cc File content/browser/appcache/appcache_update_job.cc (right): https://codereview.chromium.org/695193002/diff/20001/content/browser/appcache/appcache_update_job.cc#newcode31 content/browser/appcache/appcache_update_job.cc:31: return false; On 2014/11/03 23:51:31, michaeln wrote: > this ...
6 years, 1 month ago (2014-11-04 01:12:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/695193002/40001
6 years, 1 month ago (2014-11-04 02:01:47 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-04 02:50:09 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 02:51:24 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b4072eae8e50f4e0c54525241d50be6ef73a96d3
Cr-Commit-Position: refs/heads/master@{#302558}

Powered by Google App Engine
This is Rietveld 408576698