(Merge 3.4) asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits()

method
This commit is contained in:
Victor Stinner 2014-08-26 00:23:23 +02:00
commit 54c69c2fe3
3 changed files with 17 additions and 0 deletions

View file

@ -273,6 +273,9 @@ class _FlowControlMixin(Transport):
'protocol': self._protocol,
})
def get_write_buffer_limits(self):
return (self._low_water, self._high_water)
def _set_write_buffer_limits(self, high=None, low=None):
if high is None:
if low is None: