/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/smart/medium.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-02-07 06:59:48 UTC
  • mfrom: (3213.1.8 request-body-recovery)
  • Revision ID: pqm@pqm.ubuntu.com-20080207065948-pjxwy4z6ljrpugj8
(andrew,
        #185394) Disconnect and reconnect the smart medium after getting
        unknown

Show diffs side-by-side

added added

removed removed

Lines of Context:
386
386
 
387
387
    def __init__(self):
388
388
        self._current_request = None
 
389
        # Be optimistic: we assume the remote end can accept new remote
 
390
        # requests until we get an error saying otherwise.  (1.2 adds some
 
391
        # requests that send bodies, which confuses older servers.)
 
392
        self._remote_is_at_least_1_2 = True
389
393
 
390
394
    def accept_bytes(self, bytes):
391
395
        self._accept_bytes(bytes)