SHP 1: Change SupportsSpdy dict to use SchemeHostPort as the key. No change to Pref data.
Hardcoded to always add "http" as scheme when loading from Pref to Cache, always drop scheme when write to Pref from Cache.
BUG=600804
4 years, 8 months ago
(2016-04-07 21:19:34 UTC)
#10
Addressing comments, fixed scheme extraction in HttpStreamFactoryImplJob. PTAL.
https://codereview.chromium.org/1860343002/diff/60001/net/http/http_server_pr...
File net/http/http_server_properties_impl_unittest.cc (right):
https://codereview.chromium.org/1860343002/diff/60001/net/http/http_server_pr...
net/http/http_server_properties_impl_unittest.cc:107: // Check spdy servers are
correctly sett with SchemeHostPort key.
On 2016/04/07 18:27:40, Ryan Hamilton wrote:
> s/sett/set/
Done.
https://codereview.chromium.org/1860343002/diff/60001/net/http/http_server_pr...
net/http/http_server_properties_impl_unittest.cc:117: url::SchemeHostPort
valid_google_server((GURL("https://www.google.com")));
On 2016/04/07 18:27:40, Ryan Hamilton wrote:
> nit: there are 5 variables here which are all SHP, but the names could be a
bit
> cleaner, I think.
>
> Instead of:
> spdy_server_google cs http_google_server and
> spdy_server_photots cs https_photos_server, how about:
>
> http_www_server
> https_www_server
> http_photos_server
> https_photos_server
Done.
https://codereview.chromium.org/1860343002/diff/60001/net/http/http_stream_fa...
File net/http/http_stream_factory_impl_job.cc (right):
https://codereview.chromium.org/1860343002/diff/60001/net/http/http_stream_fa...
net/http/http_stream_factory_impl_job.cc:1428: bool is_https =
spdy_session_key.proxy_server().is_https();
On 2016/04/07 18:27:40, Ryan Hamilton wrote:
> This doesn't seem right since you're checking the scheme of the proxy server,
> not a property of the spdy session. Can you check GetSSLInfo() on the session
> directly?
Sorry for miss that. Using SSL info on the session now.
Ryan Hamilton
looks good though as discussed, we won't land this https://codereview.chromium.org/1860343002/diff/140001/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (right): https://codereview.chromium.org/1860343002/diff/140001/net/http/http_server_properties_manager.cc#newcode574 net/http/http_server_properties_manager.cc:574: ...
4 years, 8 months ago
(2016-04-08 18:32:51 UTC)
#11
Issue 1860343002: SHP 1: Change SupportsSpdy dict to use SchemeHostPort as the key. No change to Pref data.
(Closed)
Created 4 years, 8 months ago by Zhongyi Shi
Modified 4 years, 8 months ago
Reviewers: Ryan Hamilton
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 17