AutobahnServer - Case 6.2.4 : Pass - 2 ms @ 2013-03-03T15:37:41Z

Case Description

Send a valid UTF-8 text message in fragments of 1 octet, resulting in frames ending on positions which are not code point ends.

MESSAGE:
κόσμε
cebae1bdb9cf83cebcceb5

Case Expectation

The message is echo'ed back to us.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': [('message', '\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5', False)]}

Observed:
[('message', '\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5', False)]

Case Closing Behavior

Connection was properly closed (OK)



Opening Handshake

GET / HTTP/1.1

User-Agent: AutobahnTestSuite/0.5.2-0.5.9

Host: 127.0.0.1:9001

Upgrade: WebSocket

Connection: Upgrade

Pragma: no-cache

Cache-Control: no-cache

Sec-WebSocket-Key: kYTSGaT16nzQ4/DIfCAwWw==

Sec-WebSocket-Version: 13
HTTP/1.1 101 Switching Protocols

Server: AutobahnPython/0.5.9

Upgrade: WebSocket

Connection: Upgrade

Sec-WebSocket-Accept: jmoBv2F478fsiAtCAWsz2jPLVek=


Closing Behavior

KeyValueDescription
isServerFalseTrue, 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.
droppedByMeFalseTrue, 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
414
13113
1591159
Total3176

Octets Transmitted by Chop Size

Chop SizeCountOctets
616
71177
818
2391239
Total14330

Frames Received by Opcode

OpcodeCount
11
81
Total2

Frames Transmitted by Opcode

OpcodeCount
011
11
81
Total13


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
               322d302e352e390d0a486f73743a203132372e302e302e313a393030310d0a557067726164653a20576562536f636b65740d
               0a436f6e6e656374696f6e3a20557067726164650d0a507261676d613a206e6f2d63616368650d0a43616368652d436f6e74
               726f6c3a206e6f2d63616368650d0a5365632d576562536f636b65742d4b65793a206b59545347615431366e7a51342f4449
               6643417757773d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               507974686f6e2f302e352e390d0a557067726164653a20576562536f636b65740d0a436f6e6e656374696f6e3a2055706772
               6164650d0a5365632d576562536f636b65742d4163636570743a206a6d6f427632463437386673694174434157737a326a50
               4c56656b3d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=a1f75a48, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Î
003 TX OCTETS: 0181a1f75a486f
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=dc8189b1, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               º
005 TX OCTETS: 0081dc8189b166
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=9901e161, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               á
007 TX OCTETS: 00819901e16178
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=bcddc0dd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ½
009 TX OCTETS: 0081bcddc0dd01
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3b59b3fd, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¹
011 TX OCTETS: 00813b59b3fd82
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=a1d99576, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ï
013 TX OCTETS: 0081a1d995766e
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=2159120a, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ƒ
015 TX OCTETS: 00812159120aa2
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=7a2fa9ee, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Î
017 TX OCTETS: 00817a2fa9eeb4
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=ea77875e, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¼
019 TX OCTETS: 0081ea77875e56
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=e4fcbff8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Î
021 TX OCTETS: 0081e4fcbff82a
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=98cee640, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               µ
023 TX OCTETS: 008198cee6402d
024 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=a4e83194, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
025 TX OCTETS: 8080a4e83194
026 CLOSE CONNECTION AFTER 1.000000 sec
027 RX OCTETS: 810bcebae1bdb9cf83cebcceb5
028 RX FRAME : OPCODE=1, FIN=True, RSV=0, MASKED=False, MASK=None
               κόσμε
029 TX FRAME : OPCODE=8, FIN=True, RSV=0, MASK=80506b22, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
030 TX OCTETS: 888280506b2283b8
031 RX OCTETS: 880203e8
032 RX FRAME : OPCODE=8, FIN=True, RSV=0, MASKED=False, MASK=None
033 TCP DROPPED BY PEER