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

Unified Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 8230037: Send PING to check the status of the SPDY connection. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_stream_factory_impl_unittest.cc
===================================================================
--- net/http/http_stream_factory_impl_unittest.cc (revision 105385)
+++ net/http/http_stream_factory_impl_unittest.cc (working copy)
@@ -344,6 +344,8 @@
}
TEST(HttpStreamFactoryTest, PreconnectDirectWithExistingSpdySession) {
+ // Disable sending PING.
+ SpdySession::set_enable_ping_based_connection_checking(false);
willchan no longer on Chromium 2011/10/15 08:08:03 It looks weird that we are only disabling PING for
ramant (doing other things) 2011/10/15 23:33:11 Done.
for (size_t i = 0; i < arraysize(kTests); ++i) {
SessionDependencies session_deps(ProxyService::CreateDirect());
scoped_refptr<HttpNetworkSession> session(CreateSession(&session_deps));

Powered by Google App Engine
This is Rietveld 408576698