diff --git a/ixwebsocket/IXWebSocketTransport.h b/ixwebsocket/IXWebSocketTransport.h index 8473c55c..2e08efee 100644 --- a/ixwebsocket/IXWebSocketTransport.h +++ b/ixwebsocket/IXWebSocketTransport.h @@ -28,6 +28,7 @@ #include #include #include +#include namespace ix { @@ -156,7 +157,7 @@ namespace ix // Contains all messages that were fetched in the last socket read. // This could be a mix of control messages (Close, Ping, etc...) and // data messages. That buffer is resized - std::vector _rxbuf; + std::deque _rxbuf; // Contains all messages that are waiting to be sent std::vector _txbuf;