~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/protocol.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-08 07:03:38 UTC
  • mto: This revision was merged to the branch mainline in revision 4523.
  • Revision ID: andrew.bennetts@canonical.com-20090708070338-70crapsdixamosuf
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):