Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-12-17 18:16:04 -0500
committerJoakim Erdfelt2015-12-17 18:16:04 -0500
commite0ea078db2ce16921474401b2c14b5a4154e6c2c (patch)
treef8779e1a9a3c8b106b51cd4faceb5f3c46334507 /jetty-websocket
parent60d09bc958a97c91518fa0ee5859b47591e6f6f9 (diff)
parent88945478f71ad408e57e179257c2476d6cdb19f8 (diff)
downloadorg.eclipse.jetty.project-e0ea078db2ce16921474401b2c14b5a4154e6c2c.tar.gz
org.eclipse.jetty.project-e0ea078db2ce16921474401b2c14b5a4154e6c2c.tar.xz
org.eclipse.jetty.project-e0ea078db2ce16921474401b2c14b5a4154e6c2c.zip
Merge branch 'jetty-9.3.x'
Diffstat (limited to 'jetty-websocket')
-rw-r--r--jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/WebSocketSession.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/WebSocketSession.java b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/WebSocketSession.java
index 7e4bb330c4..394b8de7c4 100644
--- a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/WebSocketSession.java
+++ b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/WebSocketSession.java
@@ -103,7 +103,8 @@ public class WebSocketSession extends ContainerLifeCycle implements Session, Web
@Override
public void close()
{
- connection.close();
+ /* This is assumed to always be a NORMAL closure, no reason phrase */
+ connection.close(StatusCode.NORMAL, null);
}
@Override

Back to the top