fix handling of reconnect messages

This commit is contained in:
ouwou
2021-04-15 02:32:47 -04:00
parent 3c7c40edcd
commit 0aaebf9ea7
4 changed files with 17 additions and 16 deletions

View File

@@ -16,7 +16,7 @@ void Websocket::SetUserAgent(std::string agent) {
}
void Websocket::Stop() {
m_websocket.stop();
Stop(ix::WebSocketCloseConstants::kNormalClosureCode);
}
void Websocket::Stop(uint16_t code) {