Message113477
Actually, there are two places where the internal buffer is trimmed from consumed data:
self._readbuffer = self._readbuffer[self._offset:] + data
self._offset = 0
At this point, it seems self._crc_offset should also be reset to zero, otherwise some data will be forgotten on the next read() call. |
|
Date |
User |
Action |
Args |
2010-08-09 21:14:49 | pitrou | set | recipients:
+ pitrou, dougturk, BreamoreBoy |
2010-08-09 21:14:49 | pitrou | set | messageid: <1281388489.1.0.962251701102.issue7467@psf.upfronthosting.co.za> |
2010-08-09 21:14:47 | pitrou | link | issue7467 messages |
2010-08-09 21:14:47 | pitrou | create | |
|