WebSocket++/0.5.1-permessagedeflate - Case 2.6 : Pass - 23 ms @ 2015-02-27T15:41:59.183Z
Case Description
Send ping with binary payload of 125 octets, send in octet-wise chops.
Case Expectation
Pong with payload echo'ed is sent in reply to Ping. Implementations must be TCP clean. Clean close with normal code.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('pong', '0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe ...')]}
Observed:
[('pong', '0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe ...')]
Case Closing Behavior
Connection was properly closed (OK)
GET / HTTP/1.1 User-Agent: AutobahnTestSuite/0.7.1-0.10.0 Host: 127.0.0.1:9002 Upgrade: WebSocket Connection: Upgrade Pragma: no-cache Cache-Control: no-cache Sec-WebSocket-Key: DVphuirihlOfXVZrZwcqrQ== Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Connection: upgrade Sec-WebSocket-Accept: cPD3Alfhq+nfbSKKFcNgpyw5a0w= Server: WebSocketpp/0.5.1-permessagedeflate Upgrade: websocket
Key | Value | Description |
isServer | False | True, iff I (the fuzzer) am a server, and the peer is a client. |
closedByMe | True | True, iff I have initiated closing handshake (that is, did send close first). |
failedByMe | False | True, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP. |
droppedByMe | False | True, iff I dropped the TCP connection. |
wasClean | True | True, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility). |
wasNotCleanReason | None | When wasClean == False, the reason what happened. |
wasServerConnectionDropTimeout | False | When we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True. |
wasOpenHandshakeTimeout | False | When performing the opening handshake, but the peer did not finish in time, this gets True. |
wasCloseHandshakeTimeout | False | When we initiated a closing handshake, but the peer did not respond in time, this gets True. |
localCloseCode | 1000 | The close code I sent in close frame (if any). |
localCloseReason | None | The close reason I sent in close frame (if any). |
remoteCloseCode | 1000 | The close code the peer sent me in close frame (if any). |
remoteCloseReason | None | The close reason the peer sent me in close frame (if any). |
Chop Size | Count | Octets |
4 | 1 | 4 |
127 | 1 | 127 |
174 | 1 | 174 |
Total | 3 | 305 |
Chop Size | Count | Octets |
1 | 131 | 131 |
8 | 1 | 8 |
240 | 1 | 240 |
Total | 133 | 379 |
Opcode | Count |
8 | 1 |
10 | 1 |
Total | 2 |
Opcode | Count |
8 | 1 |
9 | 1 |
Total | 2 |
000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e372e
312d302e31302e300d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a436f6e6e656374696f6e3a2075706772
6164650d0a5365632d576562536f ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=9e8a6a79, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefefe ...
003 TX OCTETS: 89
004 CLOSE CONNECTION AFTER 2.000000 sec
005 TX OCTETS: fd
006 TX OCTETS: 9e
007 TX OCTETS: 8a
008 TX OCTETS: 6a
009 TX OCTETS: 79
010 TX OCTETS: 60
011 TX OCTETS: 74
012 TX OCTETS: 94
013 TX OCTETS: 87
014 TX OCTETS: 60
015 TX OCTETS: 74
016 TX OCTETS: 94
017 TX OCTETS: 87
018 TX OCTETS: 60
019 TX OCTETS: 74
020 TX OCTETS: 94
021 TX OCTETS: 87
022 TX OCTETS: 60
023 TX OCTETS: 74
024 TX OCTETS: 94
025 TX OCTETS: 87
026 TX OCTETS: 60
027 TX OCTETS: 74
028 TX OCTETS: 94
029 TX OCTETS: 87
030 TX OCTETS: 60
031 TX OCTETS: 74
032 TX OCTETS: 94
033 TX OCTETS: 87
034 TX OCTETS: 60
035 TX OCTETS: 74
036 TX OCTETS: 94
037 TX OCTETS: 87
038 TX OCTETS: 60
039 TX OCTETS: 74
040 TX OCTETS: 94
041 TX OCTETS: 87
042 TX OCTETS: 60
043 TX OCTETS: 74
044 TX OCTETS: 94
045 TX OCTETS: 87
046 TX OCTETS: 60
047 TX OCTETS: 74
048 TX OCTETS: 94
049 TX OCTETS: 87
050 TX OCTETS: 60
051 TX OCTETS: 74
052 TX OCTETS: 94
053 TX OCTETS: 87
054 TX OCTETS: 60
055 TX OCTETS: 74
056 TX OCTETS: 94
057 TX OCTETS: 87
058 TX OCTETS: 60
059 TX OCTETS: 74
060 TX OCTETS: 94
061 TX OCTETS: 87
062 TX OCTETS: 60
063 TX OCTETS: 74
064 TX OCTETS: 94
065 TX OCTETS: 87
066 TX OCTETS: 60
067 TX OCTETS: 74
068 TX OCTETS: 94
069 TX OCTETS: 87
070 TX OCTETS: 60
071 TX OCTETS: 74
072 TX OCTETS: 94
073 TX OCTETS: 87
074 TX OCTETS: 60
075 TX OCTETS: 74
076 TX OCTETS: 94
077 TX OCTETS: 87
078 TX OCTETS: 60
079 TX OCTETS: 74
080 TX OCTETS: 94
081 TX OCTETS: 87
082 TX OCTETS: 60
083 TX OCTETS: 74
084 TX OCTETS: 94
085 TX OCTETS: 87
086 TX OCTETS: 60
087 TX OCTETS: 74
088 TX OCTETS: 94
089 TX OCTETS: 87
090 TX OCTETS: 60
091 TX OCTETS: 74
092 TX OCTETS: 94
093 TX OCTETS: 87
094 TX OCTETS: 60
095 TX OCTETS: 74
096 TX OCTETS: 94
097 TX OCTETS: 87
098 TX OCTETS: 60
099 TX OCTETS: 74
100 TX OCTETS: 94
101 TX OCTETS: 87
102 TX OCTETS: 60
103 TX OCTETS: 74
104 TX OCTETS: 94
105 TX OCTETS: 87
106 TX OCTETS: 60
107 TX OCTETS: 74
108 TX OCTETS: 94
109 TX OCTETS: 87
110 TX OCTETS: 60
111 TX OCTETS: 74
112 TX OCTETS: 94
113 TX OCTETS: 87
114 TX OCTETS: 60
115 TX OCTETS: 74
116 TX OCTETS: 94
117 TX OCTETS: 87
118 TX OCTETS: 60
119 TX OCTETS: 74
120 TX OCTETS: 94
121 TX OCTETS: 87
122 TX OCTETS: 60
123 TX OCTETS: 74
124 TX OCTETS: 94
125 TX OCTETS: 87
126 TX OCTETS: 60
127 TX OCTETS: 74
128 TX OCTETS: 94
129 TX OCTETS: 87
130 TX OCTETS: 60
131 TX OCTETS: 74
132 TX OCTETS: 94
133 TX OCTETS: 87
134 TX OCTETS: 60
135 RX OCTETS: 8a7dfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefe ...
136 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=125, MASKED=False, MASK=None
0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefefe ...
137 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=17156b58, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
138 TX OCTETS: 888217156b5814fd
139 RX OCTETS: 880203e8
140 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=False, MASK=None
0x03e8
141 TCP DROPPED BY PEER