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

Issue 1092113006: Invalidate urls given in the content-location header in requests using

Created:
5 years, 8 months ago by haavardm
Modified:
4 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate urls given in the content-location header in requests using unsafe methods (POST, PUT etc) BUG=477567

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addess Adam's comments. Add two new unit tests. #

Total comments: 13

Patch Set 3 : Nit fixes and test cleanup #

Patch Set 4 : Rebase #

Patch Set 5 : Don't invalidate if cache is disabled #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -0 lines) Patch
M net/http/http_cache_transaction.cc View 1 2 3 4 2 chunks +29 lines, -0 lines 1 comment Download
M net/http/http_cache_unittest.cc View 1 2 3 1 chunk +127 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (12 generated)
haavardm
Adam: please review. mmemke: FYI
5 years, 8 months ago (2015-04-24 10:44:03 UTC) #3
Adam Rice
I would like to see two more tests: 1. A test to verify that Content-Location ...
5 years, 8 months ago (2015-04-24 13:19:21 UTC) #4
mmenke
You should probably have a cache expert (Like rvargas) also take a look.
5 years, 8 months ago (2015-04-24 14:56:44 UTC) #5
mmenke
Looks like Ricardo's on leave. [+gavinp]: Mind taking a look at this?
5 years, 8 months ago (2015-04-24 14:59:06 UTC) #7
haavardm
Adressed Adam's comments and added two new tests. Adam PTAL gavinp, please take a look. ...
5 years, 8 months ago (2015-04-27 10:48:36 UTC) #8
Adam Rice
https://codereview.chromium.org/1092113006/diff/20001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/1092113006/diff/20001/net/http/http_cache_transaction.cc#newcode1254 net/http/http_cache_transaction.cc:1254: // given in the Content-Location header if it has ...
5 years, 8 months ago (2015-04-27 11:51:58 UTC) #9
haavardm
https://codereview.chromium.org/1092113006/diff/20001/net/http/http_cache_transaction.cc File net/http/http_cache_transaction.cc (right): https://codereview.chromium.org/1092113006/diff/20001/net/http/http_cache_transaction.cc#newcode1256 net/http/http_cache_transaction.cc:1256: if (!SafeHttpMethod(request_->method) && On 2015/04/27 11:51:58, Adam Rice wrote: ...
5 years, 8 months ago (2015-04-27 12:49:23 UTC) #10
haavardm
Fixed all but the disable cache flag issue in latest CL, as it is still ...
5 years, 8 months ago (2015-04-27 13:20:46 UTC) #11
Adam Rice
lgtm gavinp, please give your opinion on the correct behaviour of LOAD_DISABLE_CACHE here. https://codereview.chromium.org/1092113006/diff/20001/net/http/http_cache_transaction.cc File ...
5 years, 8 months ago (2015-04-27 13:31:17 UTC) #12
haavardm
On 2015/04/27 13:31:17, Adam Rice wrote: > lgtm > > gavinp, please give your opinion ...
5 years, 8 months ago (2015-04-27 13:53:48 UTC) #13
haavardm
Ping. Gavinp, do you have any comments regarding how LOAD_DISABLE_CACHE should affect invalidation of the ...
5 years, 7 months ago (2015-05-05 14:45:26 UTC) #15
haavardm
Due do missing response, and after thinking it over, I removed invaliding the url from ...
5 years, 7 months ago (2015-05-12 13:09:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1092113006/80001
5 years, 7 months ago (2015-05-15 12:15:19 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/63949)
5 years, 7 months ago (2015-05-15 12:21:44 UTC) #21
haavardm
On 2015/05/15 12:21:44, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 6 months ago (2015-05-29 08:34:16 UTC) #23
mmenke
On 2015/05/29 08:34:16, haavardm wrote: > On 2015/05/15 12:21:44, commit-bot: I haz the power wrote: ...
5 years, 6 months ago (2015-05-29 12:45:22 UTC) #24
Adam Rice
On 2015/05/29 12:45:22, mmenke wrote: > I'm insufficiently familiar with the cache to review this. ...
5 years, 6 months ago (2015-05-29 13:43:03 UTC) #25
mmenke
On 2015/05/29 13:43:03, Adam Rice wrote: > On 2015/05/29 12:45:22, mmenke wrote: > > I'm ...
5 years, 6 months ago (2015-05-29 14:19:07 UTC) #26
haavardm
On 2015/05/29 14:19:07, mmenke wrote: > On 2015/05/29 13:43:03, Adam Rice wrote: > > On ...
5 years, 6 months ago (2015-05-29 15:12:33 UTC) #27
haavardm
On 2015/05/29 14:19:07, mmenke wrote: > On 2015/05/29 13:43:03, Adam Rice wrote: > > On ...
5 years, 6 months ago (2015-05-29 15:12:36 UTC) #28
Adam Rice
On 2015/05/29 15:12:36, haavardm wrote: > On 2015/05/29 14:19:07, mmenke wrote: > > On 2015/05/29 ...
5 years, 6 months ago (2015-05-29 15:23:16 UTC) #29
haavardm
On 2015/05/29 15:23:16, Adam Rice wrote: > On 2015/05/29 15:12:36, haavardm wrote: > > On ...
5 years, 6 months ago (2015-05-29 16:25:42 UTC) #31
eroman
+rsleevi because we were talking about origin comparison in //net code just today, and this ...
5 years, 6 months ago (2015-05-29 21:28:08 UTC) #33
Ryan Sleevi
On 2015/05/29 21:28:08, eroman wrote: > +rsleevi because we were talking about origin comparison in ...
5 years, 6 months ago (2015-05-29 21:48:11 UTC) #34
Ryan Sleevi
Yeah, I'm gonna be a pain and slap a "not LGTM" on this until we ...
5 years, 6 months ago (2015-05-29 22:04:52 UTC) #35
haavardm
On 2015/05/29 22:04:52, Ryan Sleevi wrote: > Yeah, I'm gonna be a pain and slap ...
5 years, 6 months ago (2015-06-02 14:38:31 UTC) #36
Mike West
On 2015/06/02 at 14:38:31, haavardm wrote: > > That said, I'm not sure if we ...
5 years, 6 months ago (2015-06-02 15:04:17 UTC) #38
Ryan Sleevi
On 2015/06/02 15:04:17, Mike West wrote: > On 2015/06/02 at 14:38:31, haavardm wrote: > > ...
5 years, 6 months ago (2015-06-02 16:21:23 UTC) #39
mnot
I had a look through the httpbis issues and mailing list, and couldn't find discussion ...
5 years, 6 months ago (2015-06-03 01:36:31 UTC) #40
haavardm
On 2015/06/02 16:21:23, Ryan Sleevi wrote: > On 2015/06/02 15:04:17, Mike West wrote: > > ...
5 years, 6 months ago (2015-06-03 14:41:50 UTC) #41
davidben
On 2015/06/03 14:41:50, haavardm wrote: > On 2015/06/02 16:21:23, Ryan Sleevi wrote: > > On ...
5 years, 6 months ago (2015-06-03 20:53:12 UTC) #42
Ryan Sleevi
On 2015/06/03 20:53:12, David Benjamin wrote: > I believe the layer at which SW intercepts ...
5 years, 6 months ago (2015-06-03 20:56:49 UTC) #43
haavardm
On 2015/06/03 20:56:49, Ryan Sleevi wrote: > On 2015/06/03 20:53:12, David Benjamin wrote: > > ...
5 years, 6 months ago (2015-06-04 14:49:53 UTC) #44
gavinp
4 years, 6 months ago (2016-06-03 14:37:34 UTC) #46
is this coming alive again?

Powered by Google App Engine
This is Rietveld 408576698