~bzr-pqm/bzr/1.17

« back to all changes in this revision

Viewing changes to bzrlib/smart/protocol.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-07-09 01:44:00 UTC
  • mfrom: (4515.1.2 hpss-race-bug)
  • Revision ID: pqm@pqm.ubuntu.com-20090709014400-y2e7prh8mejs2j26
(andrew) Fix bug in HPSS v3 decoder when receiving multiple lots of
        excess bytes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1036
1036
            raise errors.SmartMessageHandlerError(sys.exc_info())
1037
1037
 
1038
1038
    def _state_accept_reading_unused(self):
1039
 
        self.unused_data = self._get_in_buffer()
 
1039
        self.unused_data += self._get_in_buffer()
1040
1040
        self._set_in_buffer(None)
1041
1041
 
1042
1042
    def next_read_size(self):