[ntcore] Don't disconnect with 1005 error code (#6265)

This commit is contained in:
Peter Johnson
2024-01-19 23:34:25 -08:00
committed by GitHub
parent d653408873
commit 9ec27c1202

View File

@@ -268,7 +268,7 @@ void WebSocketConnection::Send(
void WebSocketConnection::Disconnect(std::string_view reason) {
m_reason = reason;
m_ws.Fail(1005, reason);
m_ws.Fail(1001, reason);
}
wpi::uv::Buffer WebSocketConnection::AllocBuf() {