/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/protocol.py

MergeĀ 2.1-categorize-requests-819604

Show diffs side-by-side

added added

removed removed

Lines of Context:
1075
1075
        self._real_write_func = write_func
1076
1076
 
1077
1077
    def _write_func(self, bytes):
1078
 
        # TODO: It is probably more appropriate to use sum(map(len, _buf))
1079
 
        #       for total number of bytes to write, rather than buffer based on
1080
 
        #       the number of write() calls
1081
1078
        # TODO: Another possibility would be to turn this into an async model.
1082
1079
        #       Where we let another thread know that we have some bytes if
1083
1080
        #       they want it, but we don't actually block for it