diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 15:46:37 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-01 15:46:37 +0000 |
commit | 8e31c4a1102414bfef0d9f3e187b76d174372b72 (patch) | |
tree | d8eea7808bfaca64e917c7ef559989d2aa3929a1 /net/websockets/websocket.h | |
parent | da9754bccd331b877a25272f2daae6d05b2f81e7 (diff) | |
download | chromium_src-8e31c4a1102414bfef0d9f3e187b76d174372b72.zip chromium_src-8e31c4a1102414bfef0d9f3e187b76d174372b72.tar.gz chromium_src-8e31c4a1102414bfef0d9f3e187b76d174372b72.tar.bz2 |
Revert 43331 - Implement closing handshake described in drafthixiethewebsocketprotocol76.
[Arm build was seemingly broken by this change.]
exchange closing frame (0xFF 0x00) to close the WebSocket connection cleanly.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1374004
TBR=ukai@chromium.org
Review URL: http://codereview.chromium.org/1549010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/websockets/websocket.h')
-rw-r--r-- | net/websockets/websocket.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/websockets/websocket.h b/net/websockets/websocket.h index 006362b..427af56 100644 --- a/net/websockets/websocket.h +++ b/net/websockets/websocket.h @@ -174,8 +174,6 @@ class WebSocket : public base::RefCountedThreadSafe<WebSocket>, // Skips |len| bytes in |current_read_buf_|. void SkipReadBuffer(int len); - void StartClosingHandshake(); - void DoForceCloseConnection(); // Handles closed connection. void DoClose(); @@ -207,17 +205,6 @@ class WebSocket : public base::RefCountedThreadSafe<WebSocket>, // Front IOBuffer is being sent via |current_write_buf_|. PendingDataQueue pending_write_bufs_; - // True when the 0xFF frame with length 0x00 is received. - bool server_closing_handshake_; - // True when trying to send 0xFF and 0x00 bytes. - bool client_closing_handshake_; - // True when send 0xFF and 0x00 bytes. - bool closing_handshake_started_; - // Task to close the connection after closing handshake has started and - // |closing_handshake_timeout_|. - CancelableTask* force_close_task_; - int64 closing_handshake_timeout_; - DISALLOW_COPY_AND_ASSIGN(WebSocket); }; |