When compacting the receive buffer don't copy unused buffer space
When compacting the receive buffer, we should only copy the bytes between _rQi and _rQlen (the index of the first unread byte, and the next write position). Previously, we copied everything for _rQi up untill the end of the buffer.pull/36/head
parent
09de4b8349
commit
b0896c8859
Loading…
Reference in New Issue