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

Case Description

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

MESSAGE:
Îºá½¹ÏƒÎ¼Îµí €edited
cebae1bdb9cf83cebcceb5eda080656469746564

Case Expectation

The connection is failed immediately, since the payload is not valid UTF-8.

Case Outcome

Actual events match at least one expected.

Expected:
{'OK': []}

Observed:
[]

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: RgiulIcvsG6T4SGnH6i67g==

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

Server: AutobahnPython/0.5.9

Upgrade: WebSocket

Connection: Upgrade

Sec-WebSocket-Accept: plvab+1wyvovVubZnoTRoXCcSMo=


Closing Behavior

KeyValueDescription
isServerFalseTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeFalseTrue, 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.
wasCleanFalseTrue, iff full WebSockets closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonpeer dropped the TCP connection without previous WebSocket closing handshakeWhen 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.
localCloseCodeNoneThe close code I sent in close frame (if any).
localCloseReasonNoneThe close reason I sent in close frame (if any).
remoteCloseCodeNoneThe 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
1591159
Total1159

Octets Transmitted by Chop Size

Chop SizeCountOctets
616
720140
2391239
Total22385

Frames Received by Opcode

OpcodeCount
Total0

Frames Transmitted by Opcode

OpcodeCount
020
11
Total21


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e352e
               322d302e352e390d0a486f73743a203132372e302e302e313a393030310d0a557067726164653a20576562536f636b65740d
               0a436f6e6e656374696f6e3a20557067726164650d0a507261676d613a206e6f2d63616368650d0a43616368652d436f6e74
               726f6c3a206e6f2d63616368650d0a5365632d576562536f636b65742d4b65793a20526769756c496376734736543453476e
               4836693637673d3d0d0a5365632d576562536f636b65742d56657273696f6e3a2031330d0a0d0a
001 RX OCTETS: 485454502f312e312031303120537769746368696e672050726f746f636f6c730d0a5365727665723a204175746f6261686e
               507974686f6e2f302e352e390d0a557067726164653a20576562536f636b65740d0a436f6e6e656374696f6e3a2055706772
               6164650d0a5365632d576562536f636b65742d4163636570743a20706c7661622b317779766f765675625a6e6f54526f5843
               63534d6f3d0d0a0d0a
002 TX FRAME : OPCODE=1, FIN=False, RSV=0, MASK=8a06de76, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Î
003 TX OCTETS: 01818a06de7644
004 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=35d27135, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               º
005 TX OCTETS: 008135d271358f
006 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=be5c5d72, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               á
007 TX OCTETS: 0081be5c5d725f
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=add85ba7, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ½
009 TX OCTETS: 0081add85ba710
010 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=150b162d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¹
011 TX OCTETS: 0081150b162dac
012 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=e7f1ab30, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Ï
013 TX OCTETS: 0081e7f1ab3028
014 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=b5d88710, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ƒ
015 TX OCTETS: 0081b5d8871036
016 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=17fcab96, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Î
017 TX OCTETS: 008117fcab96d9
018 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=3829b5f3, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               ¼
019 TX OCTETS: 00813829b5f384
020 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=98487e6f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               Î
021 TX OCTETS: 008198487e6f56
022 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=e04d2e53, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               µ
023 TX OCTETS: 0081e04d2e5355
024 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=c039dd7c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               í
025 TX OCTETS: 0081c039dd7c2d
026 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=1cd655e4, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
                
027 TX OCTETS: 00811cd655e4bc
028 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=fe451d2f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
029 TX OCTETS: 0081fe451d2f7e
030 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=08857b68, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
031 TX OCTETS: 008108857b686d
032 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=b8714f18, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               d
033 TX OCTETS: 0081b8714f18dc
034 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=1452050c, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               i
035 TX OCTETS: 00811452050c7d
036 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=502309c6, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               t
037 TX OCTETS: 0081502309c624
038 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=33be9ab5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               e
039 TX OCTETS: 008133be9ab556
040 TX FRAME : OPCODE=0, FIN=False, RSV=0, MASK=bacae1ed, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               d
041 TX OCTETS: 0081bacae1edde
042 TX FRAME : OPCODE=0, FIN=True, RSV=0, MASK=7aa4de2d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
043 TX OCTETS: 80807aa4de2d
044 FAIL CONNECTION AFTER 1.000000 sec
045 TCP DROPPED BY PEER