Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-12-17 23:15:30 +0000
committerJoakim Erdfelt2015-12-17 23:15:30 +0000
commit80aa66b1a0dc228b83de0c46b88a5761c74a5d2e (patch)
treec3a415aee425ff2bbb64fd0be66e5c2bbfd512f1
parent5f27a62aae0bccb5b2630015a5d14d77d2cdf91d (diff)
parent1543601968a6901717a9a403c4894a4280ffcc2f (diff)
downloadorg.eclipse.jetty.project-80aa66b1a0dc228b83de0c46b88a5761c74a5d2e.tar.gz
org.eclipse.jetty.project-80aa66b1a0dc228b83de0c46b88a5761c74a5d2e.tar.xz
org.eclipse.jetty.project-80aa66b1a0dc228b83de0c46b88a5761c74a5d2e.zip
Merge branch 'jetty-9.2.x' into feature/jetty-9.2-alt-servlet-mappingsfeature/jetty-9.2-alt-servlet-mappings
-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 e0e2c91d08..c923a0f1aa 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
@@ -94,7 +94,8 @@ public class WebSocketSession extends ContainerLifeCycle implements Session, Inc
@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