Subject: [hybi] 1004 message that is too large

From: Greg Wilkins <[email-masked]>
Date: Wed, 9 Mar 2011 11:35:46 +1100

Draft 6 says close code 1004 is for

1004 indicates that an endpoint is terminating the connection
      because it has received a message that is too large

However there are two different too large states that are common when
handling websocket:

 a) An individual frame is too large.
 b) The message size is too large.

Either these need separate close codes, or the description needs to be
that 1004 can be for a too large frame or message.

cheers