~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Aaron Bentley
  • Date: 2006-10-25 15:07:21 UTC
  • mfrom: (2095 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2098.
  • Revision ID: abentley@panoramicfeedback.com-20061025150721-71290b10eff4e691
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        """
98
98
        def _receive_bytes_on_server():
99
99
            connection, address = sock.accept()
100
 
            bytes.append(connection.recv(3, socket.MSG_WAITALL))
 
100
            bytes.append(osutils.recv_all(connection, 3))
101
101
            connection.close()
102
102
        t = threading.Thread(target=_receive_bytes_on_server)
103
103
        t.start()