diff options
author | jgraettinger@chromium.org <jgraettinger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 18:40:25 +0000 |
---|---|---|
committer | jgraettinger@chromium.org <jgraettinger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 18:40:25 +0000 |
commit | 767948a5e2d4bcfffea9d3e540f9454b0d10a9e1 (patch) | |
tree | 2f680192f5095e8b679c7028e1ccb231cd675ba8 /net/spdy | |
parent | c02cb8017a6b8ba62a88875e2034cf85c0d3c834 (diff) | |
download | chromium_src-767948a5e2d4bcfffea9d3e540f9454b0d10a9e1.zip chromium_src-767948a5e2d4bcfffea9d3e540f9454b0d10a9e1.tar.gz chromium_src-767948a5e2d4bcfffea9d3e540f9454b0d10a9e1.tar.bz2 |
Remove broken closed push logic in SpdyHttpStream::SendRequest()
SendRequest() now behaves as other SpdyHttpStream transaction methods,
and directly returns the |closed_stream_status_| of closed streams.
BUG=346470
Review URL: https://codereview.chromium.org/197473013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r-- | net/spdy/spdy_http_stream.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc index 5008819..b3203ff 100644 --- a/net/spdy/spdy_http_stream.cc +++ b/net/spdy/spdy_http_stream.cc @@ -210,10 +210,7 @@ int SpdyHttpStream::SendRequest(const HttpRequestHeaders& request_headers, HttpResponseInfo* response, const CompletionCallback& callback) { if (stream_closed_) { - if (stream_->type() == SPDY_PUSH_STREAM) - return closed_stream_status_; - - return (closed_stream_status_ == OK) ? ERR_FAILED : closed_stream_status_; + return closed_stream_status_; } base::Time request_time = base::Time::Now(); |