diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-06 16:45:29 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-06 16:45:29 +0000 |
commit | 46e1edc4121dda51143becfffbc46674c770def2 (patch) | |
tree | 27593717ecc788e3f863e91fcef9ec11f8991697 /net/http/http_response_info.h | |
parent | 7a44af79d362f76d2af41a440506eb7fad0792cb (diff) | |
download | chromium_src-46e1edc4121dda51143becfffbc46674c770def2.zip chromium_src-46e1edc4121dda51143becfffbc46674c770def2.tar.gz chromium_src-46e1edc4121dda51143becfffbc46674c770def2.tar.bz2 |
Don't block on stream requests on Alternate-Protocol.
Basically, after we get an HTTP header giving an Alternate-Protocol, we'll end up in a state where we're probably going to issue more HTTP requests. We have the already warm single HTTP connection. We probably don't have a SPDY session open. Previously, once we notice Alternate-Protocol, we'd block on trying to set up the new SPDY session, even though we still have the HTTP connection. Change this so we keep using HTTP until the SPDY session on the Alternate-Protocol becomes available, then we switch over to it.
BUG=69688,75000
TEST=Browse to belshe.com. Examine net-internals to make sure it works. Test over a variety of connections (direct / various proxy types).
Review URL: http://codereview.chromium.org/6610034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_info.h')
-rw-r--r-- | net/http/http_response_info.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h index e13f288..c925aa9 100644 --- a/net/http/http_response_info.h +++ b/net/http/http_response_info.h @@ -52,10 +52,6 @@ class HttpResponseInfo { // True if the npn was negotiated for this request. bool was_npn_negotiated; - // True if response could use alternate protocol. However, browser - // will ingore the alternate protocol if spdy is not enabled. - bool was_alternate_protocol_available; - // True if the request was fetched via an explicit proxy. The proxy could // be any type of proxy, HTTP or SOCKS. Note, we do not know if a // transparent proxy may have been involved. |