diff --git a/src/dpp/wsclient.cpp b/src/dpp/wsclient.cpp index afeadcd576..91d1281065 100644 --- a/src/dpp/wsclient.cpp +++ b/src/dpp/wsclient.cpp @@ -159,7 +159,7 @@ bool websocket_client::handle_buffer(std::string &buffer) } else if (status.size() < 3) { log(ll_warning, "Malformed HTTP response on websocket"); return false; - } else { + } else if (status[1] != "200" && status[1] != "204") { log(ll_warning, "Received unhandled code: " + status[1]); return false; }