mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[ntcore] Don't disconnect with 1005 error code (#6265)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user