You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, those opcode aren't apart of the 6455 RFC spec, but you are correct that they appears to have been added to the official IANA registry. Starscream was designed against the original 6455 RFC spec, so that is why we made an assumption those were protocol errors. They were updated in the autobahn test suite (see crossbario/autobahn-testsuite#52 for more info), so we will go ahead and update them accordingly in Starscream. Thanks for the report.
Hi,
im wondering why the following lines
Starscream/Source/WebSocket.swift
Lines 805 to 807 in 6dc9cdf
assume that a close code of
1012
is a protocol error?The code seems to be added as an extension of RFC 6455 here: https://www.ietf.org/mail-archive/web/hybi/current/msg09670.html
The web API description by mozilla (link) also lists
1012
as a valid close code with the meaningThe text was updated successfully, but these errors were encountered: