waitCloseHandshake waits for client to respond with close frame but handleControl receives it and writes close again which may cause errors for some clients.
This is dump solution but it works in my case. I believe it can be done better, pls check it out.
waitCloseHandshake waits for client to respond with close frame but handleControl receives it and writes close again which may cause errors for some clients.
This is dump solution but it works in my case. I believe it can be done better, pls check it out.
Fixes: #448