diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-11 21:30:35 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-11 21:30:35 +0000 |
commit | a3d677d8ff537f07aba274a61e0621a3db9af074 (patch) | |
tree | 8d53d838688c11edfafd8e100742b2d87fe8a746 /net/http/http_response_body_drainer_unittest.cc | |
parent | fb245a0e547638deabc5cb094a38ba863ff22ec7 (diff) | |
download | chromium_src-a3d677d8ff537f07aba274a61e0621a3db9af074.zip chromium_src-a3d677d8ff537f07aba274a61e0621a3db9af074.tar.gz chromium_src-a3d677d8ff537f07aba274a61e0621a3db9af074.tar.bz2 |
Revert r77399 in preparation for merging a small portion of it to 696.
Reland r77075,r77077.
They were reverted due to flaky tests, especially on valgrind. Basically, we kept hitting the backup socket timer (500ms) which would create another socket, which the tests don't expect, so they crash. I disabled the backup socket timer completely for the SPDY tests, because they make it too hard to handle the parallel alternate protocol jobs.
I also deleted the HTTP fallback test from SpdyNetworkTransactionTest, because it had a similar problem. Also, it was already being tested in HttpNetworkTransactionTest.
BUG=69688,75000
TEST=Try connecting to belshe.com with various proxy configurations. Should work still.
Review URL: http://codereview.chromium.org/6635047
TBR=willchan@chromium.org
Review URL: http://codereview.chromium.org/6681012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77864 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, 0 insertions, 2 deletions
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc index ea9d299..5745865 100644 --- a/net/http/http_response_body_drainer_unittest.cc +++ b/net/http/http_response_body_drainer_unittest.cc @@ -111,8 +111,6 @@ 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; } |