484612 - Restore WebSocket Session.close() sending 1000/Normal status code

This commit is contained in:
Joakim Erdfelt 2015-12-17 16:15:06 -07:00
parent 5f27a62aae
commit 1543601968
1 changed files with 2 additions and 1 deletions

View File

@ -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