WebSocketpp/0.5.1-permessagedeflate - Case 2.6 : Pass - 23 ms @ 2015-02-27T15:15:44.195Z
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 /runCase?case=22&agent=WebSocketpp/0.5.1-permessagedeflate HTTP/1.1 Connection: Upgrade Host: localhost:9001 Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover; client_max_window_bits Sec-WebSocket-Key: wAEltpfannJ5gCpyNiWSOA== Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: WebSocketpp/0.5.1-permessagedeflate
HTTP/1.1 101 Switching Protocols Server: AutobahnTestSuite/0.7.1-0.10.0 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: GoGpeEV5xYTFpWoQl41+I+mNosg=
Key | Value | Description |
isServer | True | 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 | True | 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 |
8 | 1 | 8 |
131 | 1 | 131 |
357 | 1 | 357 |
Total | 3 | 496 |
Chop Size | Count | Octets |
1 | 127 | 127 |
4 | 1 | 4 |
169 | 1 | 169 |
Total | 129 | 300 |
Opcode | Count |
8 | 1 |
10 | 1 |
Total | 2 |
Opcode | Count |
8 | 1 |
9 | 1 |
Total | 2 |
000 RX OCTETS: 474554202f72756e436173653f636173653d3232266167656e743d576562536f636b657470702f302e352e312d7065726d65
73736167656465666c6174652048 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
5465737453756974652f302e372e ...
002 TX FRAME : OPCODE=9, FIN=True, RSV=0, PAYLOAD-LEN=125, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefefe ...
003 TX OCTETS: 89
004 CLOSE CONNECTION AFTER 2.000000 sec
005 TX OCTETS: 7d
006 TX OCTETS: fe
007 TX OCTETS: fe
008 TX OCTETS: fe
009 TX OCTETS: fe
010 TX OCTETS: fe
011 TX OCTETS: fe
012 TX OCTETS: fe
013 TX OCTETS: fe
014 TX OCTETS: fe
015 TX OCTETS: fe
016 TX OCTETS: fe
017 TX OCTETS: fe
018 TX OCTETS: fe
019 TX OCTETS: fe
020 TX OCTETS: fe
021 TX OCTETS: fe
022 TX OCTETS: fe
023 TX OCTETS: fe
024 TX OCTETS: fe
025 TX OCTETS: fe
026 TX OCTETS: fe
027 TX OCTETS: fe
028 TX OCTETS: fe
029 TX OCTETS: fe
030 TX OCTETS: fe
031 TX OCTETS: fe
032 TX OCTETS: fe
033 TX OCTETS: fe
034 TX OCTETS: fe
035 TX OCTETS: fe
036 TX OCTETS: fe
037 TX OCTETS: fe
038 TX OCTETS: fe
039 TX OCTETS: fe
040 TX OCTETS: fe
041 TX OCTETS: fe
042 TX OCTETS: fe
043 TX OCTETS: fe
044 TX OCTETS: fe
045 TX OCTETS: fe
046 TX OCTETS: fe
047 TX OCTETS: fe
048 TX OCTETS: fe
049 TX OCTETS: fe
050 TX OCTETS: fe
051 TX OCTETS: fe
052 TX OCTETS: fe
053 TX OCTETS: fe
054 TX OCTETS: fe
055 TX OCTETS: fe
056 TX OCTETS: fe
057 TX OCTETS: fe
058 TX OCTETS: fe
059 TX OCTETS: fe
060 TX OCTETS: fe
061 TX OCTETS: fe
062 TX OCTETS: fe
063 TX OCTETS: fe
064 TX OCTETS: fe
065 TX OCTETS: fe
066 TX OCTETS: fe
067 TX OCTETS: fe
068 TX OCTETS: fe
069 TX OCTETS: fe
070 TX OCTETS: fe
071 TX OCTETS: fe
072 TX OCTETS: fe
073 TX OCTETS: fe
074 TX OCTETS: fe
075 TX OCTETS: fe
076 TX OCTETS: fe
077 TX OCTETS: fe
078 TX OCTETS: fe
079 TX OCTETS: fe
080 TX OCTETS: fe
081 TX OCTETS: fe
082 TX OCTETS: fe
083 TX OCTETS: fe
084 TX OCTETS: fe
085 TX OCTETS: fe
086 TX OCTETS: fe
087 TX OCTETS: fe
088 TX OCTETS: fe
089 TX OCTETS: fe
090 TX OCTETS: fe
091 TX OCTETS: fe
092 TX OCTETS: fe
093 TX OCTETS: fe
094 TX OCTETS: fe
095 TX OCTETS: fe
096 TX OCTETS: fe
097 TX OCTETS: fe
098 TX OCTETS: fe
099 TX OCTETS: fe
100 TX OCTETS: fe
101 TX OCTETS: fe
102 TX OCTETS: fe
103 TX OCTETS: fe
104 TX OCTETS: fe
105 TX OCTETS: fe
106 TX OCTETS: fe
107 TX OCTETS: fe
108 TX OCTETS: fe
109 TX OCTETS: fe
110 TX OCTETS: fe
111 TX OCTETS: fe
112 TX OCTETS: fe
113 TX OCTETS: fe
114 TX OCTETS: fe
115 TX OCTETS: fe
116 TX OCTETS: fe
117 TX OCTETS: fe
118 TX OCTETS: fe
119 TX OCTETS: fe
120 TX OCTETS: fe
121 TX OCTETS: fe
122 TX OCTETS: fe
123 TX OCTETS: fe
124 TX OCTETS: fe
125 TX OCTETS: fe
126 TX OCTETS: fe
127 TX OCTETS: fe
128 TX OCTETS: fe
129 TX OCTETS: fe
130 TX OCTETS: fe
131 RX OCTETS: 8afd0ae00057f41efea9f41efea9f41efea9f41efea9f41efea9f41efea9f41efea9f41efea9f41efea9f41efea9f41efea9
f41efea9f41efea9f41efea9f41e ...
132 RX FRAME : OPCODE=10, FIN=True, RSV=0, PAYLOAD-LEN=125, MASKED=True, MASK=3061653030303537
0xfefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
fefefefefefefefefefefefefefefe ...
133 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
134 TX OCTETS: 880203e8
135 RX OCTETS: 8882e0cef9d0e326
136 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=6530636566396430
0x03e8
137 TCP DROPPED BY ME