diff options
author | agayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 15:44:25 +0000 |
---|---|---|
committer | agayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 15:44:25 +0000 |
commit | 6abf53787922ac76409296dc2a2646371e9efab7 (patch) | |
tree | 666f0c0d13ced02f38bba8efdd65ba6977465fc9 /net/spdy/spdy_http_stream.h | |
parent | 2d0add3c88294fc6069e5a82b9eac28e6f108351 (diff) | |
download | chromium_src-6abf53787922ac76409296dc2a2646371e9efab7.zip chromium_src-6abf53787922ac76409296dc2a2646371e9efab7.tar.gz chromium_src-6abf53787922ac76409296dc2a2646371e9efab7.tar.bz2 |
SPDY flow control: fix for WINDOW_UPDATEs arriving while request is being sent.
BUG=48100
TEST=net_unittests
Review URL: http://codereview.chromium.org/3048058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_http_stream.h')
-rw-r--r-- | net/spdy/spdy_http_stream.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/spdy/spdy_http_stream.h b/net/spdy/spdy_http_stream.h index 066ed8c..b333742 100644 --- a/net/spdy/spdy_http_stream.h +++ b/net/spdy/spdy_http_stream.h @@ -85,8 +85,7 @@ class SpdyHttpStream : public SpdyStream::Delegate, public HttpStream { virtual bool OnSendHeadersComplete(int status); virtual int OnSendBody(); - virtual void OnSendBodyComplete(int status); - virtual bool IsFinishedSendingBody(); + virtual bool OnSendBodyComplete(int status); // Called by the SpdySession when a response (e.g. a SYN_REPLY) has been // received for this stream. @@ -117,6 +116,8 @@ class SpdyHttpStream : public SpdyStream::Delegate, public HttpStream { bool ShouldResendFailedRequest(int error) const; private: + FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, FlowControlStallResume); + // Call the user callback. void DoCallback(int rv); |