Bug 391588 - WebSocket Client does not set masking on close frames

This commit is contained in:
Joakim Erdfelt 2012-10-10 11:16:44 -07:00
parent cae79aabc5
commit 9b7eb1da79
1 changed files with 1 additions and 3 deletions

View File

@ -142,9 +142,7 @@ public abstract class AbstractWebSocketConnection extends AbstractConnection imp
{
CloseInfo close = new CloseInfo(statusCode,reason);
FutureCallback<Void> nop = new FutureCallback<>();
ControlFrameBytes<Void> frameBytes = new ControlFrameBytes<Void>(this,nop,null,close.asFrame());
queue.append(frameBytes);
flush();
output(null,nop,close.asFrame());
}
public void flush()