~jameinel/bzr/2.1-all-reconnect-819604

Viewing all changes in revision 4888.

  • Committer: John Arbash Meinel
  • Date: 2012-09-12 07:39:29 UTC
  • Revision ID: john@arbash-meinel.com-20120912073929-0vavweteyac1j3bx
Move read_bytes_from_socket into osutils like it is in bzr-2.5.

This makes sure we are catching the extra exceptions, etc.

The code is now essentially the same as 2.5 except for:
a) No class SmartClientAlreadyConnectedSocketMedium, since I don't want to bring in
the code that uses sockets to communicate to the subprocess.
b) No code for auto-disconnecting clients. That is more of a server-side change
and I only care to change the client side.
c) A fair number of differences that are just not related.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: