From 3a8d685876ce9ea697f5ae206308c42592031b44 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Fri, 11 Mar 2011 23:43:44 +0000 Subject: 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 --- net/http/http_stream.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net/http/http_stream.h') 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); }; -- cgit v1.1