Bug 391588 - WebSocket Client does not set masking on close frames
This commit is contained in:
parent
cae79aabc5
commit
9b7eb1da79
|
@ -142,9 +142,7 @@ public abstract class AbstractWebSocketConnection extends AbstractConnection imp
|
||||||
{
|
{
|
||||||
CloseInfo close = new CloseInfo(statusCode,reason);
|
CloseInfo close = new CloseInfo(statusCode,reason);
|
||||||
FutureCallback<Void> nop = new FutureCallback<>();
|
FutureCallback<Void> nop = new FutureCallback<>();
|
||||||
ControlFrameBytes<Void> frameBytes = new ControlFrameBytes<Void>(this,nop,null,close.asFrame());
|
output(null,nop,close.asFrame());
|
||||||
queue.append(frameBytes);
|
|
||||||
flush();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void flush()
|
public void flush()
|
||||||
|
|
Loading…
Reference in New Issue