oberstet/Autobahn — Issue #32: reserved close code behavior
Author: oberstet
Created: 2011-10-23 18:59:05+00:00
State: open
Labels: bug, websocket

assumption: using reserved close code values is a protocol violation.

reserved close codes = 0-999, 1004, 1005, 1006, 1011-2999, >= 5000

the response to a protocol violation during the closing handshake, here when peer iniated close:

1) either 1002 (failByDrop = False) or
2) drop tcp (failByDrop = True)

make sure this is how AB behaves