libwebsockets - Case 1.1.7 : Pass - 8 ms @ 2017-07-28T05:17:33.596Z
Case Description
Send text message message with payload of length 65536.
Case Expectation
Receive echo'ed text message (with payload as sent). Clean close with normal code.
Case Outcome
Actual events match at least one expected.
Expected:
{'OK': [('message', u'**************************************************************** ...', False)]}
Observed:
[('message', u'**************************************************************** ...', False)]
Case Closing Behavior
Connection was properly closed (OK)
GET /runCase?case=7&agent=libwebsockets HTTP/1.1 Pragma: no-cache Cache-Control: no-cache Host: 127.0.0.1:9001 Origin: http://127.0.0.1:9001 Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: RefuH1XHIC21ouwh8tH9Ww== Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover; client_max_window_bits Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols Server: AutobahnTestSuite/0.7.5-0.10.9 X-Powered-By: AutobahnPython/0.10.9 Upgrade: WebSocket Connection: Upgrade Sec-WebSocket-Accept: JmZXgfgLSnl/bsll9vieKZL5FwA=
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 |
359 | 1 | 359 |
2064 | 1 | 2064 |
10320 | 1 | 10320 |
24768 | 1 | 24768 |
28896 | 1 | 28896 |
Total | 6 | 66415 |
Chop Size | Count | Octets |
4 | 1 | 4 |
206 | 1 | 206 |
65546 | 1 | 65546 |
Total | 3 | 65756 |
Opcode | Count |
0 | 63 |
1 | 1 |
8 | 1 |
Total | 65 |
Opcode | Count |
1 | 1 |
8 | 1 |
Total | 2 |
000 RX OCTETS: 474554202f72756e436173653f636173653d37266167656e743d6c6962776562736f636b65747320485454502f312e310d0a
507261676d613a206e6f2d636163 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
5465737453756974652f302e372e ...
002 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=65536, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
**************************************************************** ...
003 TX OCTETS: 817f00000000000100002a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a
2a2a2a2a2a2a2a2a2a2a2a2a2a2a ...
004 FAIL CONNECTION AFTER 10.000000 sec
005 RX OCTETS: 01fe0400b74a88489d60a2629d60a2629d60a2629d60a2629d60a2629d60a2629d60a2629d60a2629d60a2629d60a2629d60
a2629d60a2629d60a2629d60a262 ...
006 RX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6237346138383438
**************************************************************** ...
007 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3436313234613438
**************************************************************** ...
008 RX OCTETS: 00fe040078827b3352a8511952a8511952a8511952a8511952a8511952a8511952a8511952a8511952a8511952a8511952a8
511952a8511952a8511952a85119 ...
009 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3738383237623333
**************************************************************** ...
010 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6130333466303066
**************************************************************** ...
011 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3631306235333535
**************************************************************** ...
012 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6333396531633262
**************************************************************** ...
013 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3437626365313465
**************************************************************** ...
014 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3064306433343539
**************************************************************** ...
015 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6532373031613666
**************************************************************** ...
016 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3238333865343663
**************************************************************** ...
017 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3334623035323636
**************************************************************** ...
018 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6435623563633565
**************************************************************** ...
019 RX OCTETS: 00fe0400747edf255e54f50f5e54f50f5e54f50f5e54f50f5e54f50f5e54f50f5e54f50f5e54f50f5e54f50f5e54f50f5e54
f50f5e54f50f5e54f50f5e54f50f ...
020 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3734376564663235
**************************************************************** ...
021 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6362386135376637
**************************************************************** ...
022 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6330356233386535
**************************************************************** ...
023 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3465633931633135
**************************************************************** ...
024 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6234633163323261
**************************************************************** ...
025 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3937636234613461
**************************************************************** ...
026 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3439353662353763
**************************************************************** ...
027 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6131633537383733
**************************************************************** ...
028 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3037613461376335
**************************************************************** ...
029 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3635323231313436
**************************************************************** ...
030 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6564636265616435
**************************************************************** ...
031 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6263636239366634
**************************************************************** ...
032 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6235326163633337
**************************************************************** ...
033 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6335343031616435
**************************************************************** ...
034 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6362396565636163
**************************************************************** ...
035 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3330373933386664
**************************************************************** ...
036 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3132626565336632
**************************************************************** ...
037 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6265346331323436
**************************************************************** ...
038 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3162343835336530
**************************************************************** ...
039 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3165353238353163
**************************************************************** ...
040 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6235316237363936
**************************************************************** ...
041 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3234613761633530
**************************************************************** ...
042 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3261643862303335
**************************************************************** ...
043 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6233313035313536
**************************************************************** ...
044 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6430343630316234
**************************************************************** ...
045 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3262396666633537
**************************************************************** ...
046 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6633616132646431
**************************************************************** ...
047 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3065383563353932
**************************************************************** ...
048 RX OCTETS: 00fe0400343e14d21e143ef81e143ef81e143ef81e143ef81e143ef81e143ef81e143ef81e143ef81e143ef81e143ef81e14
3ef81e143ef81e143ef81e143ef8 ...
049 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3334336531346432
**************************************************************** ...
050 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6266353961303139
**************************************************************** ...
051 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3036646165386636
**************************************************************** ...
052 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3238346536303432
**************************************************************** ...
053 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3633626333613265
**************************************************************** ...
054 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3236613662363738
**************************************************************** ...
055 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3262343762366363
**************************************************************** ...
056 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3339333461626638
**************************************************************** ...
057 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3862303430643261
**************************************************************** ...
058 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6164663830383861
**************************************************************** ...
059 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3161306433313864
**************************************************************** ...
060 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6134626465613863
**************************************************************** ...
061 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3837663966623733
**************************************************************** ...
062 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3331376630323762
**************************************************************** ...
063 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3861643562373932
**************************************************************** ...
064 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6339396433653061
**************************************************************** ...
065 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6630353664666335
**************************************************************** ...
066 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3065373766666264
**************************************************************** ...
067 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6462383861386633
**************************************************************** ...
068 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3134303532636636
**************************************************************** ...
069 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3639356438633665
**************************************************************** ...
070 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6365656161373766
**************************************************************** ...
071 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6136616464346137
**************************************************************** ...
072 RX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3035353663376239
**************************************************************** ...
073 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
074 TX OCTETS: 880203e8
075 RX OCTETS: 8882aa496be4a9a1
076 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=6161343936626534
0x03e8
077 TCP DROPPED BY ME