Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2013-08-12 23:25:31 +0000
committerJoakim Erdfelt2013-08-12 23:29:25 +0000
commit1e39b7d476a45a43db1ecf6a769e1f1d1b42ce4b (patch)
tree8aa48b0bb21a61aaab5f3b2c4c28fa2d51387ec3 /jetty-websocket/websocket-api/src/main
parent46b3dc10c8cda9539443cc30e8ec74adc1767298 (diff)
downloadorg.eclipse.jetty.project-1e39b7d476a45a43db1ecf6a769e1f1d1b42ce4b.tar.gz
org.eclipse.jetty.project-1e39b7d476a45a43db1ecf6a769e1f1d1b42ce4b.tar.xz
org.eclipse.jetty.project-1e39b7d476a45a43db1ecf6a769e1f1d1b42ce4b.zip
WebSocket / Performance - cleaning up tests from fallout on bug 414913
+ Copying payload in test cases for comparison reasons, as the reuse of payloads by the implementation now means that the payload might be masked by a random client side mask. + Cleaning up Abnormal Close handling for idle timeout cases + Fixing logging a tag + Fixing intermittent test failure in jsr EchoTest
Diffstat (limited to 'jetty-websocket/websocket-api/src/main')
-rw-r--r--jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/StatusCode.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/StatusCode.java b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/StatusCode.java
index f286e7dbc4..ee3a13c4b9 100644
--- a/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/StatusCode.java
+++ b/jetty-websocket/websocket-api/src/main/java/org/eclipse/jetty/websocket/api/StatusCode.java
@@ -75,6 +75,12 @@ public class StatusCode
* See <a href="https://tools.ietf.org/html/rfc6455#section-7.4.1">RFC 6455, Section 7.4.1 Defined Status Codes</a>.
*/
public final static int NO_CLOSE = 1006;
+
+ /**
+ * Abnormal Close is a synonym for {@link #NO_CLOSE}, used to indicate a close
+ * condition where no close frame was processed from the remote side.
+ */
+ public final static int ABNORMAL = NO_CLOSE;
/**
* 1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the

Back to the top