tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1426456 - /tomcat/trunk/java/org/apache/tomcat/websocket/
Date Fri, 28 Dec 2012 11:18:04 GMT
Author: markt
Date: Fri Dec 28 11:18:04 2012
New Revision: 1426456

Add warning about message length


Modified: tomcat/trunk/java/org/apache/tomcat/websocket/
--- tomcat/trunk/java/org/apache/tomcat/websocket/ (original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/ Fri Dec 28 11:18:04
@@ -19,6 +19,10 @@ serverContainer.pojoDeploy=POJO class [{
 serverContainer.servletContextMismatch=Attempted to register a POJO annotated for WebSocket
at path [{0}] in the ServletContext with context path [{1}] when the WebSocket ServerContainer
is allocated to the ServletContext with context path [{2}]
 serverContainer.servletContextMissing=No ServletContext was specified
 uriTemplate.noMatch=The input template [{0}] generated the pattern [{1}] which did not match
the supplied pathInfo [{2}]
+# Note the wsFrame.* messages are used as close reasons in WebSocket control
+# frames and therefore must be 123 bytes (not characters) or less in length.
+# Messages are encoded using UTF-8 where a single character may be encoded in
+# as many as 4 bytes.
 wsFrame.byteToLongFail=Too many bytes ([{0}]) were provided to be converted into a long
 wsFrame.controlFragmented=A fragmented control frame was received but control frames may
not be fragmented
 wsFrame.controlPayloadTooBig=A control frame was sent with a payload of size [{0}] which
is larger than the maximum permitted of 125 bytes

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message