diff --git a/src/AsyncWebSocket.cpp b/src/AsyncWebSocket.cpp index 4f2925e..b040a9f 100644 --- a/src/AsyncWebSocket.cpp +++ b/src/AsyncWebSocket.cpp @@ -381,7 +381,7 @@ size_t AsyncWebSocketClient::queueLen() const { std::lock_guard lock(_lock); #endif - return _messageQueue.size() + _controlQueue.size(); + return _messageQueue.size(); } bool AsyncWebSocketClient::canSend() const {