diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-11 23:43:44 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-11 23:43:44 +0000 |
commit | 3a8d685876ce9ea697f5ae206308c42592031b44 (patch) | |
tree | 050170d70e6aaadedc3e5994f7f1d4d2c1ee5a27 /net/http/http_response_body_drainer_unittest.cc | |
parent | 01d4730859afc1d338da87331c44d68f91bfd7a2 (diff) | |
download | chromium_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_response_body_drainer_unittest.cc')
-rw-r--r-- | net/http/http_response_body_drainer_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc index 5745865..ea9d299 100644 --- a/net/http/http_response_body_drainer_unittest.cc +++ b/net/http/http_response_body_drainer_unittest.cc @@ -111,6 +111,8 @@ class MockHttpStream : public HttpStream { virtual bool IsResponseBodyComplete() const { return is_complete_; } + virtual bool IsSpdyHttpStream() const { return false; } + // Methods to tweak/observer mock behavior: void StallReadsForever() { stall_reads_forever_ = true; } |