Compare commits

...

3 Commits

Author SHA1 Message Date
Benjamin Sergeant
4a2a8e7b36 revert fake ci change 2023-02-25 13:57:28 -08:00
Benjamin Sergeant
f073203ac1 Use a deque instead of a vector to avoid an O(n^2) time complexity problem 2023-02-25 13:56:23 -08:00
Benjamin Sergeant
1866d94550 bump ci 2023-02-25 13:53:01 -08:00

View File

@ -28,6 +28,7 @@
#include <mutex>
#include <string>
#include <vector>
#include <deque>
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<uint8_t> _rxbuf;
std::deque<uint8_t> _rxbuf;
// Contains all messages that are waiting to be sent
std::vector<uint8_t> _txbuf;