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);
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue