Autobahn WebSockets Testsuite Report
Autobahn WebSockets

libwebsockets - Case 1.1.6 : Pass - 13 ms @ 2017-07-28T05:17:33.558Z

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)



Opening Handshake

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: SJ+9nR6R7W32Sl7XLo3ORg==
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: QqYs7ZlC+1+MLhSfA8lLCWpgeXo=


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
825618256
23736123736
31991131991
Total666414

Octets Transmitted by Chop Size

Chop SizeCountOctets
414
2061206
65539165539
Total365749

Frames Received by Opcode

OpcodeCount
063
11
81
Total65

Frames Transmitted by Opcode

OpcodeCount
11
81
Total2


Wire Log

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: 01fe04004a34adec601e87c6601e87c6601e87c6601e87c6601e87c6601e87c6601e87c6601e87c6601e87c6601e87c6601e
               87c6601e87c6601e87c6601e87c6 ...
006 RX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3461333461646563
               **************************************************************** ...
007 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3464656435343462
               **************************************************************** ...
008 RX OCTETS: 00fe0400bf769942955cb368955cb368955cb368955cb368955cb368955cb368955cb368955cb368955cb368955cb368955c
               b368955cb368955cb368955cb368 ...
009 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6266373639393432
               **************************************************************** ...
010 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3234656132306332
               **************************************************************** ...
011 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3333323335353332
               **************************************************************** ...
012 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3537656434363931
               **************************************************************** ...
013 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6534333737383366
               **************************************************************** ...
014 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6634373430613530
               **************************************************************** ...
015 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6164303631633062
               **************************************************************** ...
016 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3065373538666434
               **************************************************************** ...
017 RX OCTETS: 00fe0400dc1b1beaf63131c0f63131c0f63131c0f63131c0f63131c0f63131c0f63131c0f63131c0f63131c0f63131c0f631
               31c0f63131c0f63131c0f63131c0 ...
018 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6463316231626561
               **************************************************************** ...
019 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3430666434343130
               **************************************************************** ...
020 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3738653631366163
               **************************************************************** ...
021 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6336386166303039
               **************************************************************** ...
022 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6639353664393037
               **************************************************************** ...
023 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3966616531623134
               **************************************************************** ...
024 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3165616663303036
               **************************************************************** ...
025 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3562623839346362
               **************************************************************** ...
026 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6163623731356134
               **************************************************************** ...
027 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6532653134633839
               **************************************************************** ...
028 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3832303164633262
               **************************************************************** ...
029 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3733386337326463
               **************************************************************** ...
030 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3763626335613936
               **************************************************************** ...
031 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3635356535613939
               **************************************************************** ...
032 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6562636366353765
               **************************************************************** ...
033 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3765343065356461
               **************************************************************** ...
034 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6134303566316365
               **************************************************************** ...
035 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3934666433636330
               **************************************************************** ...
036 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3435313630363935
               **************************************************************** ...
037 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3233386538326338
               **************************************************************** ...
038 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3636643765313761
               **************************************************************** ...
039 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3238636536666365
               **************************************************************** ...
040 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3065333230313935
               **************************************************************** ...
041 RX OCTETS: 00fe04006ae3c2ea40c9e8c040c9e8c040c9e8c040c9e8c040c9e8c040c9e8c040c9e8c040c9e8c040c9e8c040c9e8c040c9
               e8c040c9e8c040c9e8c040c9e8c0 ...
042 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3661653363326561
               **************************************************************** ...
043 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6565663639396661
               **************************************************************** ...
044 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3264393735363737
               **************************************************************** ...
045 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3361343631653763
               **************************************************************** ...
046 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3030363737613532
               **************************************************************** ...
047 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6639636530376362
               **************************************************************** ...
048 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6564656364666135
               **************************************************************** ...
049 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3338326330323632
               **************************************************************** ...
050 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3564626561343538
               **************************************************************** ...
051 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3737663565313262
               **************************************************************** ...
052 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3437663939316338
               **************************************************************** ...
053 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6431316630383138
               **************************************************************** ...
054 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6230623039636663
               **************************************************************** ...
055 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3134366264353434
               **************************************************************** ...
056 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6136376633343639
               **************************************************************** ...
057 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3137653533333235
               **************************************************************** ...
058 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6430663932643634
               **************************************************************** ...
059 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3063303738366262
               **************************************************************** ...
060 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3465366433363266
               **************************************************************** ...
061 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3636363562326331
               **************************************************************** ...
062 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3766373162326332
               **************************************************************** ...
063 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3565616239376564
               **************************************************************** ...
064 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3462323965363764
               **************************************************************** ...
065 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6663623061336236
               **************************************************************** ...
066 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3435333038663335
               **************************************************************** ...
067 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6363663830353562
               **************************************************************** ...
068 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3136303465316261
               **************************************************************** ...
069 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=6431363739333634
               **************************************************************** ...
070 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3136323336376232
               **************************************************************** ...
071 RX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=1024, MASKED=True, MASK=3435373330376137
               **************************************************************** ...
072 RX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=1023, MASKED=True, MASK=6661633233653538
               **************************************************************** ...
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: 8882b2ed3ac3b105
076 RX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=2, MASKED=True, MASK=6232656433616333
               0x03e8
077 TCP DROPPED BY ME