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

Issue 1545403002: Return false when trusted SPDY proxy advertises HTTPS URL (Closed)

Created:
4 years, 12 months ago by tbansal1
Modified:
4 years, 11 months ago
Reviewers:
Bence, bengr
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Return false when trusted SPDY proxy advertises HTTPS URL. Adds a missing return statement so that SpdySession::TryCreatePushStream returns false when a cross- origin push by a trusted SPDY proxy advertises an HTTPS URL. Also, add tests that verify the correctness of trusted SPDY proxy. BUG=572766, 572767 Committed: https://crrev.com/fa4a762f62a3f22c0df12b698c43ea413ec4ebfb Cr-Commit-Position: refs/heads/master@{#368973}

Patch Set 1 : #

Patch Set 2 : ps #

Total comments: 10

Patch Set 3 : Addressed bengr comments #

Total comments: 24

Patch Set 4 : Addressed comments #

Total comments: 5

Patch Set 5 : Addressed bengr comments #

Total comments: 2

Patch Set 6 : Addressed bengr comment #

Total comments: 4

Patch Set 7 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -0 lines) Patch
M net/spdy/spdy_session.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 2 3 4 5 6 2 chunks +153 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
tbansal1
4 years, 12 months ago (2015-12-28 23:21:33 UTC) #4
tbansal1
bengr: PTAL. Thanks.
4 years, 12 months ago (2015-12-28 23:21:43 UTC) #5
bengr
https://codereview.chromium.org/1545403002/diff/40001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/1545403002/diff/40001/net/spdy/spdy_session.cc#newcode2734 net/spdy/spdy_session.cc:2734: return false; Please explain this in much more detail. ...
4 years, 11 months ago (2015-12-29 18:02:33 UTC) #6
tbansal1
bengr: ptal. thanks. https://chromiumcodereview.appspot.com/1545403002/diff/40001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://chromiumcodereview.appspot.com/1545403002/diff/40001/net/spdy/spdy_session.cc#newcode2734 net/spdy/spdy_session.cc:2734: return false; On 2015/12/29 18:02:33, bengr ...
4 years, 11 months ago (2015-12-30 00:00:53 UTC) #9
bengr
Change the CL desription to say: Adds a missing return statement so that SpdySession::TryCreatePushStream returns ...
4 years, 11 months ago (2016-01-05 21:01:37 UTC) #10
bengr
On 2016/01/05 21:01:37, bengr wrote: > Change the CL desription to say: > > Adds ...
4 years, 11 months ago (2016-01-05 21:02:16 UTC) #11
tbansal1
bengr: PTAL. Thanks. https://codereview.chromium.org/1545403002/diff/80001/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/1545403002/diff/80001/net/spdy/spdy_session_unittest.cc#newcode4845 net/spdy/spdy_session_unittest.cc:4845: // Tests that HTTP SPDY push ...
4 years, 11 months ago (2016-01-08 02:04:04 UTC) #15
bengr
https://codereview.chromium.org/1545403002/diff/100001/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/1545403002/diff/100001/net/spdy/spdy_session_unittest.cc#newcode4852 net/spdy/spdy_session_unittest.cc:4852: // Push resources for kAnotherURL which is different from ...
4 years, 11 months ago (2016-01-08 18:57:27 UTC) #16
bengr
https://codereview.chromium.org/1545403002/diff/100001/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/1545403002/diff/100001/net/spdy/spdy_session_unittest.cc#newcode4856 net/spdy/spdy_session_unittest.cc:4856: nullptr, 0, 2, 1, ("http://www." + kAnotherURL + "/a.dat").c_str())); ...
4 years, 11 months ago (2016-01-08 19:06:35 UTC) #17
tbansal1
bengr: PTAL. Thanks. https://codereview.chromium.org/1545403002/diff/100001/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/1545403002/diff/100001/net/spdy/spdy_session_unittest.cc#newcode4852 net/spdy/spdy_session_unittest.cc:4852: // Push resources for kAnotherURL which ...
4 years, 11 months ago (2016-01-08 22:41:34 UTC) #18
bengr
lgtm, with nit. https://codereview.chromium.org/1545403002/diff/120001/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/1545403002/diff/120001/net/spdy/spdy_session_unittest.cc#newcode4939 net/spdy/spdy_session_unittest.cc:4939: const char kHttpURLFromAnotherOrigin[] = "http://www.example2.org/a.dat"; nit: ...
4 years, 11 months ago (2016-01-11 21:57:12 UTC) #19
tbansal1
mmenke: PTAL. Thanks. https://codereview.chromium.org/1545403002/diff/120001/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/1545403002/diff/120001/net/spdy/spdy_session_unittest.cc#newcode4939 net/spdy/spdy_session_unittest.cc:4939: const char kHttpURLFromAnotherOrigin[] = "http://www.example2.org/a.dat"; On ...
4 years, 11 months ago (2016-01-11 22:15:01 UTC) #21
mmenke
Redirecting to Bence, the HTTP2 owner.
4 years, 11 months ago (2016-01-11 22:16:50 UTC) #23
Bence
LGTM. https://codereview.chromium.org/1545403002/diff/140001/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/1545403002/diff/140001/net/spdy/spdy_session_unittest.cc#newcode4872 net/spdy/spdy_session_unittest.cc:4872: scoped_ptr<SpdyFrame> request( The name |req| is used everywhere ...
4 years, 11 months ago (2016-01-12 13:10:19 UTC) #25
tbansal1
https://codereview.chromium.org/1545403002/diff/140001/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/1545403002/diff/140001/net/spdy/spdy_session_unittest.cc#newcode4872 net/spdy/spdy_session_unittest.cc:4872: scoped_ptr<SpdyFrame> request( On 2016/01/12 13:10:19, Bence wrote: > The ...
4 years, 11 months ago (2016-01-12 18:04:39 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1545403002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1545403002/160001
4 years, 11 months ago (2016-01-12 19:58:52 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 11 months ago (2016-01-12 20:28:57 UTC) #31
commit-bot: I haz the power
4 years, 11 months ago (2016-01-12 20:29:59 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fa4a762f62a3f22c0df12b698c43ea413ec4ebfb
Cr-Commit-Position: refs/heads/master@{#368973}

Powered by Google App Engine
This is Rietveld 408576698