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

Unified Diff: net/http/http_stream_factory_impl.h

Issue 2771263002: Retry upon 421 status code without IP pooling. (Closed)
Patch Set: Rebase. Created 3 years, 9 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.h
diff --git a/net/http/http_stream_factory_impl.h b/net/http/http_stream_factory_impl.h
index 8acec190be6732ef413d1b90109c6fe7c77fbf49..e1b2c7f3a93da9fa5c3f001e64aab97f3a973079 100644
--- a/net/http/http_stream_factory_impl.h
+++ b/net/http/http_stream_factory_impl.h
@@ -49,6 +49,7 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
const SSLConfig& server_ssl_config,
const SSLConfig& proxy_ssl_config,
HttpStreamRequest::Delegate* delegate,
+ bool enable_ip_based_pooling,
const NetLogWithSource& net_log) override;
HttpStreamRequest* RequestWebSocketHandshakeStream(
@@ -58,6 +59,7 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
const SSLConfig& proxy_ssl_config,
HttpStreamRequest::Delegate* delegate,
WebSocketHandshakeStreamBase::CreateHelper* create_helper,
+ bool enable_ip_based_pooling,
const NetLogWithSource& net_log) override;
HttpStreamRequest* RequestBidirectionalStreamImpl(
@@ -66,6 +68,7 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
const SSLConfig& server_ssl_config,
const SSLConfig& proxy_ssl_config,
HttpStreamRequest::Delegate* delegate,
+ bool enable_ip_based_pooling,
const NetLogWithSource& net_log) override;
void PreconnectStreams(int num_streams, const HttpRequestInfo& info) override;
@@ -122,6 +125,7 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
HttpStreamRequest::Delegate* delegate,
WebSocketHandshakeStreamBase::CreateHelper* create_helper,
HttpStreamRequest::StreamType stream_type,
+ bool enable_ip_based_pooling,
const NetLogWithSource& net_log);
// Called when a SpdySession is ready. It will find appropriate Requests and

Powered by Google App Engine
This is Rietveld 408576698