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

Unified Diff: net/http/http_stream_factory_impl_request.cc

Issue 2784143003: Fix a potential infinite loop in HttpStreamFactoryImpl when a new SpdySession is established (Closed)
Patch Set: rebased 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_request.cc
diff --git a/net/http/http_stream_factory_impl_request.cc b/net/http/http_stream_factory_impl_request.cc
index 76abed6add388def2342e627b4afbc70e944bd53..97ec79367c1e89265d3ab91d444f2898aefd9765 100644
--- a/net/http/http_stream_factory_impl_request.cc
+++ b/net/http/http_stream_factory_impl_request.cc
@@ -154,12 +154,6 @@ const ConnectionAttempts& HttpStreamFactoryImpl::Request::connection_attempts()
return connection_attempts_;
}
-void HttpStreamFactoryImpl::Request::ResetSpdySessionKey() {
- if (spdy_session_key_.get()) {
- spdy_session_key_.reset();
- }
-}
-
bool HttpStreamFactoryImpl::Request::HasSpdySessionKey() const {
return spdy_session_key_.get() != NULL;
}

Powered by Google App Engine
This is Rietveld 408576698