RFC 6455, "The WebSocket Protocol", December 2011Source of RFC: hybi (app)
Errata ID: 3227
Status: Held for Document Update
Publication Format(s) : TEXT
Reported By: Alexey Melnikov
Date Reported: 2012-05-16
Held for Document Update by: Barry Leiba
Section 7.4.1 says:
1011 1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
It should say:
1011 1011 indicates that a remote endpoint is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
As per the discussion in the WG (See <http://www.ietf.org/mail-archive/web/hybi/current/msg09628.html>) the meaning of this error close code should be extended to cover clients as well. As the Designated Expert for the WebSocket close code registry I've approved the corresponding change to the IANA registry.
This should be "hold for update" for rfc6455bis.