summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 23:43:44 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 23:43:44 +0000
commit3a8d685876ce9ea697f5ae206308c42592031b44 (patch)
tree050170d70e6aaadedc3e5994f7f1d4d2c1ee5a27 /net/http/http_stream.h
parent01d4730859afc1d338da87331c44d68f91bfd7a2 (diff)
downloadchromium_src-3a8d685876ce9ea697f5ae206308c42592031b44.zip
chromium_src-3a8d685876ce9ea697f5ae206308c42592031b44.tar.gz
chromium_src-3a8d685876ce9ea697f5ae206308c42592031b44.tar.bz2
Don't drain response bodies for SpdyHttpStreams.
This should fix the specific instance of crbug.com/75657, although I can't reproduce the bug, so it's possible it may instead push the bug later down the pipeline rather than completely fixing it. I believe it should completely fix it though. This is a partial reland of r77399, which was reverted in order to faciliate this partial reland so I can merge a smaller change into branch 696. BUG=75657 TEST=none Review URL: http://codereview.chromium.org/6680009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream.h')
-rw-r--r--net/http/http_stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_stream.h b/net/http/http_stream.h
index 16f84cc..e262038 100644
--- a/net/http/http_stream.h
+++ b/net/http/http_stream.h
@@ -126,6 +126,10 @@ class HttpStream {
// behavior is undefined.
virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) = 0;
+ // HACK(willchan): Really, we should move the HttpResponseDrainer logic into
+ // the HttpStream implementation. This is just a quick hack.
+ virtual bool IsSpdyHttpStream() const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(HttpStream);
};