libwebsockets - Case 1.1.6 : Pass - 7 ms @ 2017-10-16T10:48:40.858Z
Case Description
Send text message message with payload of length 65535.
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=6&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: tW0/UWBK8ftLSJ7bcfX17w== 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: CPsBqkMyKR6NrFp51eJ4uB8qGSQ=
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 |
1031 | 1 | 1031 |
1032 | 1 | 1032 |
2064 | 18 | 37152 |
3096 | 3 | 9288 |
4128 | 3 | 12384 |
5160 | 1 | 5160 |
Total | 29 | 66414 |
Chop Size | Count | Octets |
4 | 1 | 4 |
206 | 1 | 206 |
65539 | 1 | 65539 |
Total | 3 | 65749 |
Opcode | Count |
0 | 63 |
1 | 1 |
8 | 1 |
Total | 65 |
Opcode | Count |
1 | 1 |
8 | 1 |
Total | 2 |
000 RX OCTETS: 474554202f72756e436173653f636173653d36266167656e743d6c6962776562736f636b65747320485454502f312e310d0a
507261676d613a206e6f2d636163 ...
001 TX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
5465737453756974652f302e372e ...
002 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=65535, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
**************************************************************** ...
003 TX OCTETS: 817effff2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a
2a2a2a2a2a2a2a2a2a2a2a2a2a2a ...
004 FAIL CONNECTION AFTER 10.000000 sec
005 RX OCTETS: 01fe0400ac4380a88669aa828669aa828669aa828669aa828669aa828669aa828669aa828669aa828669aa828669aa828669
aa828669aa828669aa828669aa82 ...
006 RX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6163343338306138
**************************************************************** ...
007 RX OCTETS: 00fe04000bfe544b21d47e6121d47e6121d47e6121d47e6121d47e6121d47e6121d47e6121d47e6121d47e6121d47e6121d4
7e6121d47e6121d47e6121d47e61 ...
008 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3062666535343462
**************************************************************** ...
009 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3564363234346266
**************************************************************** ...
010 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3031326636303032
**************************************************************** ...
011 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3632386461363037
**************************************************************** ...
012 RX OCTETS: 00fe0400b738336d9d1219479d1219479d1219479d1219479d1219479d1219479d1219479d1219479d1219479d1219479d12
19479d1219479d1219479d121947 ...
013 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6237333833333664
**************************************************************** ...
014 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3632383761346538
**************************************************************** ...
015 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6237616332386563
**************************************************************** ...
016 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6464343438313863
**************************************************************** ...
017 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6335636131653730
**************************************************************** ...
018 RX OCTETS: 00fe04001396a38339bc89a939bc89a939bc89a939bc89a939bc89a939bc89a939bc89a939bc89a939bc89a939bc89a939bc
89a939bc89a939bc89a939bc89a9 ...
019 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3133393661333833
**************************************************************** ...
020 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3934643936653930
**************************************************************** ...
021 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3262303034396333
**************************************************************** ...
022 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3239346562626361
**************************************************************** ...
023 RX OCTETS: 00fe0400802a05e0aa002fcaaa002fcaaa002fcaaa002fcaaa002fcaaa002fcaaa002fcaaa002fcaaa002fcaaa002fcaaa00
2fcaaa002fcaaa002fcaaa002fca ...
024 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3830326130356530
**************************************************************** ...
025 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3763313738363064
**************************************************************** ...
026 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6533383234376163
**************************************************************** ...
027 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3332666161393261
**************************************************************** ...
028 RX OCTETS: 00fe0400d347bee8f96d94c2f96d94c2f96d94c2f96d94c2f96d94c2f96d94c2f96d94c2f96d94c2f96d94c2f96d94c2f96d
94c2f96d94c2f96d94c2f96d94c2 ...
029 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6433343762656538
**************************************************************** ...
030 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3032646463383330
**************************************************************** ...
031 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6535326433363531
**************************************************************** ...
032 RX OCTETS: 00fe0400114f54603b657e4a3b657e4a3b657e4a3b657e4a3b657e4a3b657e4a3b657e4a3b657e4a3b657e4a3b657e4a3b65
7e4a3b657e4a3b657e4a3b657e4a ...
033 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3131346635343630
**************************************************************** ...
034 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6361353339363761
**************************************************************** ...
035 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3163656536393738
**************************************************************** ...
036 RX OCTETS: 00fe04002fc4b86305ee924905ee924905ee924905ee924905ee924905ee924905ee924905ee924905ee924905ee924905ee
924905ee924905ee924905ee9249 ...
037 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3266633462383633
**************************************************************** ...
038 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3935623661353535
**************************************************************** ...
039 RX OCTETS: 00fe04007a4d21b250670b9850670b9850670b9850670b9850670b9850670b9850670b9850670b9850670b9850670b985067
0b9850670b9850670b9850670b98 ...
040 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3761346432316232
**************************************************************** ...
041 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3164303964383335
**************************************************************** ...
042 RX OCTETS: 00fe0400a63a4be58c1061cf8c1061cf8c1061cf8c1061cf8c1061cf8c1061cf8c1061cf8c1061cf8c1061cf8c1061cf8c10
61cf8c1061cf8c1061cf8c1061cf ...
043 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6136336134626535
**************************************************************** ...
044 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6162356464643365
**************************************************************** ...
045 RX OCTETS: 00fe0400991e8c8bb334a6a1b334a6a1b334a6a1b334a6a1b334a6a1b334a6a1b334a6a1b334a6a1b334a6a1b334a6a1b334
a6a1b334a6a1b334a6a1b334a6a1 ...
046 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3939316538633862
**************************************************************** ...
047 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6661643666396333
**************************************************************** ...
048 RX OCTETS: 00fe040008d250a422f87a8e22f87a8e22f87a8e22f87a8e22f87a8e22f87a8e22f87a8e22f87a8e22f87a8e22f87a8e22f8
7a8e22f87a8e22f87a8e22f87a8e ...
049 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3038643235306134
**************************************************************** ...
050 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3631656438346232
**************************************************************** ...
051 RX OCTETS: 00fe0400ae063f07842c152d842c152d842c152d842c152d842c152d842c152d842c152d842c152d842c152d842c152d842c
152d842c152d842c152d842c152d ...
052 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6165303633663037
**************************************************************** ...
053 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6334636366626137
**************************************************************** ...
054 RX OCTETS: 00fe0400bde6a5e497cc8fce97cc8fce97cc8fce97cc8fce97cc8fce97cc8fce97cc8fce97cc8fce97cc8fce97cc8fce97cc
8fce97cc8fce97cc8fce97cc8fce ...
055 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6264653661356534
**************************************************************** ...
056 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3735613137383731
**************************************************************** ...
057 RX OCTETS: 00fe0400bb303490911a1eba911a1eba911a1eba911a1eba911a1eba911a1eba911a1eba911a1eba911a1eba911a1eba911a
1eba911a1eba911a1eba911a1eba ...
058 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6262333033343930
**************************************************************** ...
059 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3966313133623634
**************************************************************** ...
060 RX OCTETS: 00fe04007325fe02590fd428590fd428590fd428590fd428590fd428590fd428590fd428590fd428590fd428590fd428590f
d428590fd428590fd428590fd428 ...
061 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3733323566653032
**************************************************************** ...
062 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6562376134393231
**************************************************************** ...
063 RX OCTETS: 00fe0400515349157b79633f7b79633f7b79633f7b79633f7b79633f7b79633f7b79633f7b79633f7b79633f7b79633f7b79
633f7b79633f7b79633f7b79633f ...
064 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3531353334393135
**************************************************************** ...
065 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3931316135323434
**************************************************************** ...
066 RX OCTETS: 00fe040081a496ecab8ebcc6ab8ebcc6ab8ebcc6ab8ebcc6ab8ebcc6ab8ebcc6ab8ebcc6ab8ebcc6ab8ebcc6ab8ebcc6ab8e
bcc6ab8ebcc6ab8ebcc6ab8ebcc6 ...
067 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3831613439366563
**************************************************************** ...
068 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3762373664343037
**************************************************************** ...
069 RX OCTETS: 00fe040020a4be7a0a8e94500a8e94500a8e94500a8e94500a8e94500a8e94500a8e94500a8e94500a8e94500a8e94500a8e
94500a8e94500a8e94500a8e9450 ...
070 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3230613462653761
**************************************************************** ...
071 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6436356261653962
**************************************************************** ...
072 RX OCTETS: 00fe040005db56b52ff17c9f2ff17c9f2ff17c9f2ff17c9f2ff17c9f2ff17c9f2ff17c9f2ff17c9f2ff17c9f2ff17c9f2ff1
7c9f2ff17c9f2ff17c9f2ff17c9f ...
073 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3035646235366235
**************************************************************** ...
074 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3166346135383731
**************************************************************** ...
075 RX OCTETS: 00fe04007d3da1b257178b9857178b9857178b9857178b9857178b9857178b9857178b9857178b9857178b9857178b985717
8b9857178b9857178b9857178b98 ...
076 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3764336461316232
**************************************************************** ...
077 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6539613039656338
**************************************************************** ...
078 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6431386531653838
**************************************************************** ...
079 RX OCTETS: 00fe04006b98089841b222b241b222b241b222b241b222b241b222b241b222b241b222b241b222b241b222b241b222b241b2
22b241b222b241b222b241b222b2 ...
080 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3662393830383938
**************************************************************** ...
081 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6638646231613064
**************************************************************** ...
082 RX OCTETS: 00fe0400ea6b70a9c0415a83c0415a83c0415a83c0415a83c0415a83c0415a83c0415a83c0415a83c0415a83c0415a83c041
5a83c0415a83c0415a83c0415a83 ...
083 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6561366237306139
**************************************************************** ...
084 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6237323863613635
**************************************************************** ...
085 RX OCTETS: 00fe0400eeca32e4c4e018cec4e018cec4e018cec4e018cec4e018cec4e018cec4e018cec4e018cec4e018cec4e018cec4e0
18cec4e018cec4e018cec4e018ce ...
086 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6565636133326534
**************************************************************** ...
087 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3937386432356566
**************************************************************** ...
088 RX OCTETS: 00fe0400123ccc0e3816e6243816e6243816e6243816e6243816e6243816e6243816e6243816e6243816e6243816e6243816
e6243816e6243816e6243816e624 ...
089 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3132336363633065
**************************************************************** ...
090 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6162383564313865
**************************************************************** ...
091 RX OCTETS: 00fe04000f1b749c25315eb625315eb625315eb625315eb625315eb625315eb625315eb625315eb625315eb625315eb62531
5eb625315eb625315eb625315eb6 ...
092 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3066316237343963
**************************************************************** ...
093 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3133323766663035
**************************************************************** ...
094 RX OCTETS: 80fe03fffb26c37ad10ce950d10ce950d10ce950d10ce950d10ce950d10ce950d10ce950d10ce950d10ce950d10ce950d10c
e950d10ce950d10ce950d10ce950 ...
095 RX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=1023, MASKED=True, MASK=6662323663333761
**************************************************************** ...
096 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
0x03e8
097 TX OCTETS: 880203e8
098 RX OCTETS: 8882b4273c7db7cf
099 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=6234323733633764
0x03e8
100 TCP DROPPED BY ME