Autobahn WebSockets Testsuite Report
Autobahn WebSockets

libwebsockets - Case 1.1.7 : Pass - 7 ms @ 2017-10-16T10:48:40.884Z

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)



Opening Handshake

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: lcd8MoqZzLvI4t7ZP2NvVg==
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: 4TnkSbw3nPj0hqqPUla95oYtTx0=


Closing Behavior

KeyValueDescription
isServerTrueTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeTrueTrue, iff I have initiated closing handshake (that is, did send close first).
failedByMeFalseTrue, 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.
droppedByMeTrueTrue, iff I dropped the TCP connection.
wasCleanTrueTrue, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonNoneWhen wasClean == False, the reason what happened.
wasServerConnectionDropTimeoutFalseWhen we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.
wasOpenHandshakeTimeoutFalseWhen performing the opening handshake, but the peer did not finish in time, this gets True.
wasCloseHandshakeTimeoutFalseWhen we initiated a closing handshake, but the peer did not respond in time, this gets True.
localCloseCode1000The close code I sent in close frame (if any).
localCloseReasonNoneThe close reason I sent in close frame (if any).
remoteCloseCode1000The close code the peer sent me in close frame (if any).
remoteCloseReasonNoneThe close reason the peer sent me in close frame (if any).


Wire Statistics

Octets Received by Chop Size

Chop SizeCountOctets
818
3591359
206412064
412814128
928819288
19608119608
30960130960
Total766415

Octets Transmitted by Chop Size

Chop SizeCountOctets
414
2061206
65546165546
Total365756

Frames Received by Opcode

OpcodeCount
063
11
81
Total65

Frames Transmitted by Opcode

OpcodeCount
11
81
Total2


Wire Log

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: 01fe0400de11f64af43bdc60f43bdc60f43bdc60f43bdc60f43bdc60f43bdc60f43bdc60f43bdc60f43bdc60f43bdc60f43b
               dc60f43bdc60f43bdc60f43bdc60 ...
006 RX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6465313166363461
               **************************************************************** ...
007 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6165336333626630
               **************************************************************** ...
008 RX OCTETS: 00fe040074154e045e3f642e5e3f642e5e3f642e5e3f642e5e3f642e5e3f642e5e3f642e5e3f642e5e3f642e5e3f642e5e3f
               642e5e3f642e5e3f642e5e3f642e ...
009 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3734313534653034
               **************************************************************** ...
010 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3134316334376238
               **************************************************************** ...
011 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6337376463323431
               **************************************************************** ...
012 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3432306362626433
               **************************************************************** ...
013 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3561393062346230
               **************************************************************** ...
014 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3134383338633234
               **************************************************************** ...
015 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3031613436636338
               **************************************************************** ...
016 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6635323432363964
               **************************************************************** ...
017 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6461336630363966
               **************************************************************** ...
018 RX OCTETS: 00fe04000949345123631e7b23631e7b23631e7b23631e7b23631e7b23631e7b23631e7b23631e7b23631e7b23631e7b2363
               1e7b23631e7b23631e7b23631e7b ...
019 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3039343933343531
               **************************************************************** ...
020 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6463323461303530
               **************************************************************** ...
021 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6266333832353739
               **************************************************************** ...
022 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3537396464373265
               **************************************************************** ...
023 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3837656165336430
               **************************************************************** ...
024 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3966623635326633
               **************************************************************** ...
025 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3834303866633034
               **************************************************************** ...
026 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3233376266333365
               **************************************************************** ...
027 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3661633137623863
               **************************************************************** ...
028 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6236653933306437
               **************************************************************** ...
029 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3635323938386232
               **************************************************************** ...
030 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3763343232393331
               **************************************************************** ...
031 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3732313035323237
               **************************************************************** ...
032 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3066393133633761
               **************************************************************** ...
033 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3364386161646662
               **************************************************************** ...
034 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3665613664376337
               **************************************************************** ...
035 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3332613663626366
               **************************************************************** ...
036 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3763333035323933
               **************************************************************** ...
037 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6666343763613534
               **************************************************************** ...
038 RX OCTETS: 00fe0400da628b83f048a1a9f048a1a9f048a1a9f048a1a9f048a1a9f048a1a9f048a1a9f048a1a9f048a1a9f048a1a9f048
               a1a9f048a1a9f048a1a9f048a1a9 ...
039 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6461363238623833
               **************************************************************** ...
040 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3561303066396136
               **************************************************************** ...
041 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6564653337643933
               **************************************************************** ...
042 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6234366463643837
               **************************************************************** ...
043 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3837363032353633
               **************************************************************** ...
044 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3363643565333661
               **************************************************************** ...
045 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3163326335666662
               **************************************************************** ...
046 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3835346163356138
               **************************************************************** ...
047 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3737303634333033
               **************************************************************** ...
048 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3862323165613034
               **************************************************************** ...
049 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3664353564623162
               **************************************************************** ...
050 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3334306635303137
               **************************************************************** ...
051 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3665363064363137
               **************************************************************** ...
052 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3335373839646333
               **************************************************************** ...
053 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3030383535343761
               **************************************************************** ...
054 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6132356237366562
               **************************************************************** ...
055 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3434663563653937
               **************************************************************** ...
056 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3330313733383736
               **************************************************************** ...
057 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3466336532646233
               **************************************************************** ...
058 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3232623635343064
               **************************************************************** ...
059 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3661313031623465
               **************************************************************** ...
060 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3561623064343432
               **************************************************************** ...
061 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3864643333356636
               **************************************************************** ...
062 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3365343763663361
               **************************************************************** ...
063 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6430396464663035
               **************************************************************** ...
064 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3166343939336135
               **************************************************************** ...
065 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3961306630393232
               **************************************************************** ...
066 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3139363165623462
               **************************************************************** ...
067 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3564326566316238
               **************************************************************** ...
068 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3666326236393630
               **************************************************************** ...
069 RX OCTETS: 00fe0400b2f23dad98d8178798d8178798d8178798d8178798d8178798d8178798d8178798d8178798d8178798d8178798d8
               178798d8178798d8178798d81787 ...
070 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6232663233646164
               **************************************************************** ...
071 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3264323837353664
               **************************************************************** ...
072 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6464346163353666
               **************************************************************** ...
073 RX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6166623239336235
               **************************************************************** ...
074 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASK=None, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e8
075 TX OCTETS: 880203e8
076 RX OCTETS: 8882b59e167cb676
077 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=6235396531363763
               0x03e8
078 TCP DROPPED BY ME