Index: net/http/http_network_layer.cc |
=================================================================== |
--- net/http/http_network_layer.cc (revision 105385) |
+++ net/http/http_network_layer.cc (working copy) |
@@ -42,6 +42,7 @@ |
static const char kOff[] = "off"; |
static const char kSSL[] = "ssl"; |
static const char kDisableSSL[] = "no-ssl"; |
+ static const char kDisablePing[] = "no-ping"; |
willchan no longer on Chromium
2011/10/15 08:08:03
Not that I really care, but why are we adding a fl
jar (doing other things)
2011/10/15 09:00:52
The concern was that this was being added late in
willchan no longer on Chromium
2011/10/15 20:17:40
OK, that sounds reasonable. Although I really real
|
static const char kExclude[] = "exclude"; // Hosts to exclude |
static const char kDisableCompression[] = "no-compress"; |
static const char kDisableAltProtocols[] = "no-alt-protocols"; |
@@ -101,6 +102,8 @@ |
} else if (option == kSSL) { |
HttpStreamFactory::set_force_spdy_over_ssl(true); |
HttpStreamFactory::set_force_spdy_always(true); |
+ } else if (option == kDisablePing) { |
+ SpdySession::set_enable_ping_based_connection_checking(false); |
} else if (option == kExclude) { |
HttpStreamFactory::add_forced_spdy_exclusion(value); |
} else if (option == kDisableCompression) { |