From 9801e370c82b2545fe6a1d90e2911c670a296644 Mon Sep 17 00:00:00 2001 From: "rtenneti@chromium.org" Date: Fri, 7 Mar 2014 09:33:55 +0000 Subject: Relanding 255326 - Implement MRU for AlternateProtocolMap. Persist only the most recently used 200 entries. In memory keep all the entries. The following is the revert of revert description: Revert 255326 "Revert of HttpServerProperties - Implement MRU fo..." > Revert of HttpServerProperties - Implement MRU for AlternateProtocolMap. Persist (https://codereview.chromium.org/182383016/) > > Reason for revert: > Broke compile on a bunch of bots: > Chromium Linux Builder (valgrind) > Chromium OS Builder (valgrind) > Chromium Windows Builder (DrMemory) > Linux Builder (TSan v2) > > Log: > http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Linux%20Builder%20%28valgrind%29/builds/73182/steps/compile/logs/stdio > > > Original issue's description: > > HttpServerProperties - Implement MRU for AlternateProtocolMap. Persist > > only the most recently used 200 entries. In memory keep all the entries. > > > > BUG=258189 > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255323 > > TBR=rch@chromium.org,rtenneti@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=258189 > > Review URL: https://codereview.chromium.org/188663002 TBR=rmistry@chromium.org, rch@chromium.org BUG=258189 Review URL: https://codereview.chromium.org/180743026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255569 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_network_transaction_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/http/http_network_transaction_unittest.cc') diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc index aa7967d..9669033 100644 --- a/net/http/http_network_transaction_unittest.cc +++ b/net/http/http_network_transaction_unittest.cc @@ -8144,7 +8144,7 @@ TEST_P(HttpNetworkTransactionTest, HonorAlternateProtocolHeader) { EXPECT_EQ(ERR_IO_PENDING, rv); HostPortPair http_host_port_pair("www.google.com", 80); - const HttpServerProperties& http_server_properties = + HttpServerProperties& http_server_properties = *session->http_server_properties(); EXPECT_FALSE( http_server_properties.HasAlternateProtocol(http_host_port_pair)); -- cgit v1.1