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

Issue 2887773006: Fix SpdySessionKey for HTTP/2 alternative Jobs. (Closed)

Created:
3 years, 7 months ago by Bence
Modified:
3 years, 7 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix SpdySessionKey for HTTP/2 alternative Jobs. Change HttpStreamFactoryImpl::Job::GetSpdySessionKey() to construct a SpdySessionKey from the request URL, not the destination. This is the correct behavior, because the only layers that should worry about the destination are the socket pool and below. This does not change behavior in production, because HostPortPair::FromURL(origin_url_) can only differ from |destination_| for alternative jobs, and HTTP/2 alternative jobs are disabled in https://crrev.com/2821463002. BUG=615413, 706974 Review-Url: https://codereview.chromium.org/2887773006 Cr-Commit-Position: refs/heads/master@{#472919} Committed: https://chromium.googlesource.com/chromium/src/+/1fc76912bc055188dc76c09f6032096c079d4d86

Patch Set 1 #

Patch Set 2 : Add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
M net/http/http_stream_factory_impl_job.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_job_controller_unittest.cc View 1 3 chunks +46 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
Bence
Ryan: PTAL. Thank you.
3 years, 7 months ago (2017-05-17 22:42:14 UTC) #7
Ryan Hamilton
looks good. can we get a regression test?
3 years, 7 months ago (2017-05-17 23:02:13 UTC) #8
Bence
Ryan: PTAL. Oops, how could I have forgotten about the regression test?! Thanks for reminding ...
3 years, 7 months ago (2017-05-18 18:22:39 UTC) #13
Ryan Hamilton
lgtm
3 years, 7 months ago (2017-05-18 18:31:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2887773006/20001
3 years, 7 months ago (2017-05-18 18:33:06 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 20:43:43 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/1fc76912bc055188dc76c09f6032...

Powered by Google App Engine
This is Rietveld 408576698