diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 18:42:34 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 18:42:34 +0000 |
commit | b32dad5244da13f39b02ca7913dbb5b0227461c3 (patch) | |
tree | 1a269cfc5d4ddc369ba62ea1c462fdb0d13f5e59 /net/spdy/spdy_session.h | |
parent | 542e199c802fdb7b13ebdb8f575c9e404eb1dbf4 (diff) | |
download | chromium_src-b32dad5244da13f39b02ca7913dbb5b0227461c3.zip chromium_src-b32dad5244da13f39b02ca7913dbb5b0227461c3.tar.gz chromium_src-b32dad5244da13f39b02ca7913dbb5b0227461c3.tar.bz2 |
Revert 52352 - SPDY: Initial support for handling WINDOW_UPDATE frames and some cleanup.
BUG=48100
TEST=net_unittests --gtest_filter="SpdyProtocolTest.ControlFrameStructs:SpdyNetworkTransactionTest.WindowSizeChange:SpdyNetworkTransactionTest.WindowSizeOverflow"
Contributed by: agayev@google.com
Review URL: http://codereview.chromium.org/2807042
TBR=cbentzel@chromium.org
Review URL: http://codereview.chromium.org/2908010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session.h')
-rw-r--r-- | net/spdy/spdy_session.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h index 41ab927..e129d57 100644 --- a/net/spdy/spdy_session.h +++ b/net/spdy/spdy_session.h @@ -36,9 +36,6 @@ class HttpNetworkSession; class BoundNetLog; class SSLInfo; -// default initial window size per SPDY protocol draft 2 -static const int kInitialWindowSize = 64 * 1024; - class SpdySession : public base::RefCounted<SpdySession>, public spdy::SpdyFramerVisitorInterface { public: @@ -97,11 +94,6 @@ class SpdySession : public base::RefCounted<SpdySession>, // Close a stream. void CloseStream(spdy::SpdyStreamId stream_id, int status); - // Reset a stream by sending a RST_STREAM frame with given status code. - // Also closes the stream. Was not piggybacked to CloseStream since not - // all of the calls to CloseStream necessitate sending a RST_STREAM. - void ResetStream(spdy::SpdyStreamId stream_id, spdy::SpdyStatusCodes status); - // Check if a stream is active. bool IsStreamActive(spdy::SpdyStreamId stream_id) const; @@ -159,7 +151,6 @@ class SpdySession : public base::RefCounted<SpdySession>, void OnFin(const spdy::SpdyRstStreamControlFrame& frame); void OnGoAway(const spdy::SpdyGoAwayControlFrame& frame); void OnSettings(const spdy::SpdySettingsControlFrame& frame); - void OnWindowUpdate(const spdy::SpdyWindowUpdateControlFrame& frame); // IO Callbacks void OnTCPConnect(int result); @@ -289,11 +280,6 @@ class SpdySession : public base::RefCounted<SpdySession>, bool in_session_pool_; // True if the session is currently in the pool. - int initial_window_size_; // Initial window size for the session; can be - // changed by an arriving SETTINGS frame; newly - // created streams use this value for the initial - // window size. - BoundNetLog net_log_; static bool use_ssl_; |